I am looking at a dead C20, and the owner wants to go AB, which is my preference too. I have not worked with Omron since trade school. I have taken the paper copy of the program and attempted to covert it to Micrologix1200 using RSL500. The original program used a moderate range of instructions; here is my understanding of their translation:
Omron----------- AB
"KEEP" - - - - - Latch and Unlatch (OTL, OTU)
"TMR" - - - - - Standard Timer
"CNT" - - - - - Standard counter
"DIFU" - - - - - ONS
"DIFD" - - - - - ONF
"IL" and "ILC" - Immediate output w/Mask
also 'apparently' normal I/O (XIC, XIO, OTE)
Admittedly, without a knowledge of how Omron updates I/O, there are parts of the original program that do not make sense, for example:
BTW, 1110 is also a KEEP coil activated by a system reset PB.
If the DIFD instruction is only valid for one scan, and the reset has priortiy on the KEEP instruction, how can this ever work?
Does the location of the latching coil instruction in the program matter in the Omron controller? Perhaps more importantly, how do you make this work in a MLX1200?
I have the original paper manual for the C20 (Kudos to the owner), but there is not enough information there to make sense of it.
A couple other questions:
- How do the IL and ILC instructions on the C20 compare with the IOM on a MLX?
- What differences are there between the DIFU and ONS instructions?
- What differences are there between the DIFD and ONF instructions?
- Are there fundamental differences between the C20 scan cycle order and the Allen Bradley scan order that affect how you program basic logic? (As I read the C20 scan cycle explanation in the manual, it made me concerned about this point)
As you might have guessed, my first kick at the conversion didn't work. I am trying to sort out the differences between the two controllers to understand why. Many thanks for anything you can do to help!
Randy
:site: is great!
Omron----------- AB
"KEEP" - - - - - Latch and Unlatch (OTL, OTU)
"TMR" - - - - - Standard Timer
"CNT" - - - - - Standard counter
"DIFU" - - - - - ONS
"DIFD" - - - - - ONF
"IL" and "ILC" - Immediate output w/Mask
also 'apparently' normal I/O (XIC, XIO, OTE)
Admittedly, without a knowledge of how Omron updates I/O, there are parts of the original program that do not make sense, for example:
~~~1110~~~~~~|DIFD|
---|\|-------|----|
~~~~~~~~~~~~~|1106|
~~~1110~~~~SET
---|\|-------(KEEP)
~~~1106~~RESET |
---||----------|
BTW, 1110 is also a KEEP coil activated by a system reset PB.
If the DIFD instruction is only valid for one scan, and the reset has priortiy on the KEEP instruction, how can this ever work?
Does the location of the latching coil instruction in the program matter in the Omron controller? Perhaps more importantly, how do you make this work in a MLX1200?
I have the original paper manual for the C20 (Kudos to the owner), but there is not enough information there to make sense of it.
A couple other questions:
- How do the IL and ILC instructions on the C20 compare with the IOM on a MLX?
- What differences are there between the DIFU and ONS instructions?
- What differences are there between the DIFD and ONF instructions?
- Are there fundamental differences between the C20 scan cycle order and the Allen Bradley scan order that affect how you program basic logic? (As I read the C20 scan cycle explanation in the manual, it made me concerned about this point)
As you might have guessed, my first kick at the conversion didn't work. I am trying to sort out the differences between the two controllers to understand why. Many thanks for anything you can do to help!
Randy
:site: is great!
Last edited: