Hi All,
I have a problem that I just cant seem to solve.
I have a Rockwell PLC where I have AOI's to create control modules. In order to change the modes in the control modules, I use a common command in which different command values would make different mode changes in the PLC.
In order to reset the command, at the end of the scan, the command value is set to 0 in the PLC.
My on click script in the SCADA sets the value correctly in the PLC and the right mode change is executed, however, when the PLC sets the command to 0 at the end of the scan, the SCADA does not update accordingly. The only way to update correctly is to restart the tag in Designer or to manually change the command value in the PLC to a non zero number which seems to prompt the SCADA to update correctly.
Have played with deadband values and modes with no luck. Its almost as if the command is changed in the PLC to quickly or the SCADA simply does not poll the PLC until a value change is registered.
Putting a delay in the value in the PLC before resetting the value makes it work but also makes the SCADA feel slow.
Any help or tips would be greatly appreciated.