Hello all,
Is there a way to read the status of a Gateway from REVPIMODIO 2?
For status of the Gateway I mean things like:
- The Gateway is correctly connected to the RevPI
- The Gateway is connected to a remote device through the industrial network
- The Gateway has received new data from the industrial network
- The industrial network is in OK/failure state
In case of failure, is it possible to reboot the Gateway programmatically ?
Thanks in advance.
How to read Gateway status and Gateway reboot from REVPIMODIO 2
Re: How to read Gateway status and Gateway reboot from REVPIMODIO 2
As the gateway modules doesn't write the fieldbus state into the process image this is unfortunately not possible. We use a workaround by sending a alife counter with the data from the plc and check in our monitoring if this counter is frozen. If so the monitoring tries to reset the driver via ioctl (also possible with piTest).
Cheers,
Nicolai
Cheers,
Nicolai
Re: How to read Gateway status and Gateway reboot from REVPIMODIO 2
Thanks, Nicolai.
Right now, we do something simmilar. We use a life bit that is updated by the PLC once in a second.
Kind regards,
Jorge
Right now, we do something simmilar. We use a life bit that is updated by the PLC once in a second.
Kind regards,
Jorge