An OPTO22 system has been installed at LBC Antwerp since 2009.
This is a plant with tank parks for the storage of chemical and petrochemical products.
Input: Reading error messages / high pressure / low pressure / flow switching / level switching …
Output: Operating sprinkler for cooling the tanks.
The controls are started and stopped from the graphic package.
All hard and software already installed works without problems.
Now a new tank park has been added.
The inputs work normally.
Everything goes wrong with the outputs.
the graphical package sets a Numeric variable “True => FLAG_MOV_T204_ON_OFF”
if this variable is True => FLAG_MOV_T204_ON_OFF, output is sent “Turn On => MOV_T204_OPENEN” and stops when the level switch “On => LS_MOV_T204_OP” is active.
The output fluctuates between on and off.
To perform a test, I modified the program from start block 0 to a simple program FLAG_MOV_T204_ON_OFF = True => Turn On RES_Q8_2
and FLAG_MOV_T204_ON_OFF = False => Turn Off RES_Q8_2 and back to start block 0.
The rest of the program is still there but is no longer controlled.
This output “RES_Q8_2” has never been used and works normally on, but output MOV_T204_OPENEN was also controlled fluctuating on / off while this is impossible because this part of the program is no longer used.
It seems that a part of the old program remains present during programming.
Gladly help because this program had to work yesterday and the delivery date is Friday.