Omron Sysmac CPM1- Legacy PLC program editing.

AutomationTechBrian

Lifetime Supporting Member
Join Date
Jul 2013
Location
St. Cloud, MN
Posts
669
I'm taking some time today to learn how to edit a customer's Omron PLC program. My customer has a machine that is used infrequently during the day, but the machine is powered on all the time. There is a safety air valve on one of the outputs that is powered on all the time that keeps the measuring equipment from being damaged if air pressure gets too high. I can understand why the original programmer had it normally activated, but the downside is that the valves get really hot and end up failing prematurely. I'm going to put a sleep function into the program with a timer tied to the inputs. To wake up the machine, you activate one of the two hand-sensing inputs, which starts the timer. While the timer is timing, the valve output is active, and the inputs revert to normal function. ...pretty simple stuff. I gave that information because I don't need a complete CXOne lesson. There is a timer that should be capable of timing 15-30 minutes, and a couple of timer bits, like Timer-Timing. But, I'm in CXOne for the first time, and some of this is looking a bit primitive (compared to today's programs). There is certainly a learning curve to go through. For instance, I noticed there are different timers for timing different lengths of time. When I find a video on YouTube for CXOne programming, I can't help but wonder if the information is still applicable for this old, legacy PLC.

I was at the customer's location last week and uploaded the program. They had a spare PLC for me to take home and learn on, which is awesome. My coffee is brewing, and when it's done I'll start digging into what is needed to make the program edits. There could easily be some "gotchas" here. After uploading, I remember looking at memory addressing, and the check boxes for looking at the different memory types, and I'm wondering how that is managed. When I upload and download, do I need to do something special to capture those locations?

So this is more of an open-ended post. For those familiar with this legacy Omron programming, are there any tidbits of information that would be helpful in learning how to accomplish the program edits?

Omron.png
 
The CPM1 controller is quite old, and very limited. If you are an AB disciple think SLC100.
The timer functions available on this platform are limited to 9.999 seconds.

In order to get a long timer you will have to set up a counter and use the Omron version of AB's free running clock. Given the time frame you are looking at I would use 254.00. This is a 1 minute pulse (30sec on/30sec off).

The simplest way to figure this out is to download a programming manual that covers this controller. The Catalog number I've got is W353-E1-3 (2001). The counter is on page 390 complete with an example of using the counter as an extended range timer.

A full description of the memory areas is in appendix C starting on page 565.
The free running timer bits are in words 254 and 255 and are fairly limited compared to the AB version.

Pay careful attention to setting up the set value for the counter, Omron rules for data types are extremely loose and can create havoc if not followed. Yes, that is the voice of experience.
 
So glad I asked... Thanks!!

This PLC is on several of these workstation testers. I'm thinking they might want to replace the PLCs with current versions. These are very simple programs, but each station is custom-made and slightly different. I'm wondering if Omron has an inexpensive upgrade, comparable to AB's Micro 810. Honestly, I know almost nothing about them.
 
Not surprised to see the old CPM1 still chugging away. Probably could for another 20 years if you let it.


If you're thinking of updating within the Omron lineup, I'd suggest checking out the CP1L or CP2E series. Upgrading the program to one of those will be fairly straightforward.
 
Your timing was good... I was just looking at a CP1L that a buddy gave to me a couple of years ago, wondering if that would be the ticket. Seems to me, I was having trouble getting the USB driver to work on my VM, running Windows 10. No idea why. I'll be wiring up the power in a little bit and trying again.
 
Yeah, I did all of that and still had troubles. I have a buddy who is in Omron sales, so we did a Zoom meeting and he confirmed everything associated with the driver by comparing it with his laptop. No luck. At that point, I started wondering if I should try installing CX One on a Windows 7 VM. I did some Google searching, and on Mr PLC there was a post about someone else having the same issue on his VMWare Windows 10 VM. He switched to a Windows 7 and all was good. I did the same... it works.

I'll try converting the program today and see what issues come up. Thanks for the help.
 
This was the current download from the website... the 30-day trial. I've had this happen with other software, so it wasn't a surprise. It's a shame they discontinued support for Windows 7. That has always been a stable go-to.
 

Similar Topics

Hy, guys I need to know how make contactor retencion? For examplo If i push switch for input 00 and active 00 out but i need how make if i push...
Replies
10
Views
2,784
I have software fore omron cpm1, this software kork whith cpm2. I need help guys tank you.
Replies
1
Views
2,521
I took an online course but don't remember covering this. How do I access the system clock in a compare instruction? I want to turn on an output...
Replies
1
Views
509
I come from an AB background. My current job has a lot of Omron devices. We have a couple systems with NX102's with numerous IO link devices...
Replies
0
Views
654
Hi everyone, I am trying to program a function block to copy the variables obtain from Ethercat into a structure on a NX1P2. Since I cannot...
Replies
1
Views
1,117
Back
Top Bottom