Control via OPC
Control via OPC
(OP)
Hi,
I want to remotely control program cyclic execution over OPC. My goal is next: If a PLC variable which is controled via OPC change to defined value program must "stop". B&R PLC is used. How to do that?
Best regards,
Stevan
I want to remotely control program cyclic execution over OPC. My goal is next: If a PLC variable which is controled via OPC change to defined value program must "stop". B&R PLC is used. How to do that?
Best regards,
Stevan





RE: Control via OPC
Step 2: When flag is set turn off the bits of code you don't want to run
In some PLC's you can deactivate whole programs at a time by setting a bit. Sometimes you can change the PLC state by setting a controller bit. If you can't do any of this, I would suggest maybe doing something like turning all outputs off when the flag is set (and any other parts of the program that you don't want to run). Not the most elegant solution though, could be quite a lot of programming.