TRB-NR reads Logo-NR - High or Low. Then TRB-NR sends a modbus write request over the public ip(rms vpn hub) to TRB-PS to toggle Output4, Logo-PS is polling Output4(trb-ps) to check if its high or low, and activate M4 correspondingly on LOGO-PS.
But now i need to have a fallback, so when M4 and I2 on the Logo-PS are 0, it will the send the HIGH/LOW trough sms or something else.
Does anyone have some examples or explanation on how to configure this.
Just so it’s easier to understand your current configuration & your desired configuration, could you possibly provide a drawn topology with the IP addresses of the devices, the data being sent, and what needs to happen?
More or less, from what I’ve understood, currently - TRB no. 1 reads a value from a device called “Logo-NR” (? what device is it) → Sends a Modbus write request over the VPN Hub to TRB no. 2 to toggle an output. To the output, there’s another device connected (?) which activates M4 (? is it another device? is it the name of an input/output?)
And you want it to also send an SMS message of the status of whether it is currently high/low?
As you can see, I’m having a bit of trouble fully understanding the issue, so clarification would be highly appreciated.
After reviewing the clarification (thank you for that), I can confirm that your setup will require a custom script to be able to achieve what you want. We currently don’t have a trigger in the Event Juggler that would send an SMS when the OpenVPN connection is down (or Modbus for that matter).