I’m trying to write to a bit to a PLC upon gateway shutdown using the syntax of :
value = 0
system.tag.write(‘Warehouses/UnitId 12/12_K150-12_K150/12_K150’, value)
and reverse of startup.
This works wonderfull when the Client start up and shut down routine is used, however nothing happens when the Server is shut down and restarted. To late in the cycle?
In addition, I have a RS485 network in which 4 PLCs are a member of. All are communicationing nicely, however how does one regester communication failures for any one of these machines? I’ve attempted to date to use the if(tag.status != “Good”) for this but it is not realiable. Any ideas would be helpful.
Ignition ver 7.4, Modbus I/P, windows7 OS