Page 1 of 1

How to read Gateway status and Gateway reboot from REVPIMODIO 2

Posted: 25 Jun 2019, 12:30
by Jorgem
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.

Re: How to read Gateway status and Gateway reboot from REVPIMODIO 2

Posted: 25 Jun 2019, 21:27
by nicolaiB
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

Re: How to read Gateway status and Gateway reboot from REVPIMODIO 2

Posted: 27 Jun 2019, 15:08
by Jorgem
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