Hi folks!
I need some helps in this problem. I am just trying to determine when the switchkey has been turned to Program Mode so that Scada shows on any display to any operators that PLC is in PROGRAM MODE. I have found using GSV instruction, classname: Controllerdevice, attribute name: Status, that some bits that this instruction yields regards mode in which PLC is in, say, RUN, REMOTE, PROGRAM. But this doesn't work 100%, sometimes when I turn the switch from REMOTE to RUN the PLC shows that it is on PROGRAM mode. If I turn the switch slowly, sometimes the program detects the exact position of the key (at times!), but if I turn the keys rapidly, my ladder program cannot detect this mode change in the PLC. Anybody has an workaround in order to detect 100% the exact mode that a Controllogix is in? How could I program my PLC so that it can report to any supervisory stations that PLC is in Program mode?
Thanks for your comments and helps
Froy
I need some helps in this problem. I am just trying to determine when the switchkey has been turned to Program Mode so that Scada shows on any display to any operators that PLC is in PROGRAM MODE. I have found using GSV instruction, classname: Controllerdevice, attribute name: Status, that some bits that this instruction yields regards mode in which PLC is in, say, RUN, REMOTE, PROGRAM. But this doesn't work 100%, sometimes when I turn the switch from REMOTE to RUN the PLC shows that it is on PROGRAM mode. If I turn the switch slowly, sometimes the program detects the exact position of the key (at times!), but if I turn the keys rapidly, my ladder program cannot detect this mode change in the PLC. Anybody has an workaround in order to detect 100% the exact mode that a Controllogix is in? How could I program my PLC so that it can report to any supervisory stations that PLC is in Program mode?
Thanks for your comments and helps
Froy