Omron CPM2 CMP issue

Join Date
Jul 2003
Location
flanders
Posts
4
Hi

For a machine, when a fault appears, I would like to output (12,07) a pulse with variable lenght (T30)according to the fault (word 250)

So please take a look at the prg in attachment, section DISPLAY,

-In rung 1 to 33 a value is stored in word 250 when a fault appears,

-At the end of the section: timer 30:

The timer changes value when another fault appears, but the timer keeps on re-running so the puls never ends,

-At rung 34(313) I can't get marker 210,11 set,

So the output KEEPs getting high

Please help me. What am I missing?

Or is there a better way to do this?

Thank you
 
Your move instructions are moving the data each scan. I would start by only moving the data on an input change from off to on. Use the @ symbol in front of your MOV instructions to accomplish this.
This may help you solve your logic correctly.
Regards,
 
Solved

Thank you, but I found the main reason: (took me a few hours)
Words 250 and 251 are in the SR memory area which is used by the PLC itself.

So lesson learned: when using memory, always check out the appropriate memory areas
 

Similar Topics

Hello there, I have a text, which I'd like to send through RS232C to another device from my Omron CPM2-C. I am intending to use TXD(48) function...
Replies
6
Views
2,516
HI EVERYONE I need your help to refresh my memory on omron plc. The plc is cpm2 with 32 I/O having: 0 ch, 1 ch, 10 ch & 11 ch I am rather...
Replies
1
Views
2,752
I have software fore omron cpm1, this software kork whith cpm2. I need help guys tank you.
Replies
1
Views
2,517
Hi I have a client who would like to be able to talk to soft starters and VSDs from an OMRON CPM2a. This requires the CPM2 to act as a MODBUS...
Replies
1
Views
4,697
R
I have CX-Programmer Ver 2.0. I need to write a program for PLC type CVM1-V2,for a CPU Type CPU11, CPU21, However I dont see that option at all. I...
Replies
7
Views
5,282
Back
Top Bottom