Set all tag values to 0 before disconnecting the device
Hello,
I am working with an Omron NJ101 PLC. I have a problem where, when the device is disconnected, the tags freeze with the last known value. I want all tag values to be set to zero when the device is disconnected from KEPServer, and restored when the device reconnects.
Does anyone know how to achieve this?

