Page 1 of 1

RevPiStatus data meaning

Posted: 06 Jan 2025, 15:02
by cerberus78
Hello

i m trying to read the data using piTest sush as RevPiStatus but i dont know the meaning of the bits.

i would like to know if the connected module are missing for exemple or if the configuration vs connected device is wrong.

Can you provide me the datasheet or bit table ?

Re: RevPiStatus data meaning

Posted: 07 Jan 2025, 09:40
by dirk

Re: RevPiStatus data meaning

Posted: 10 Jan 2025, 17:02
by cerberus78
The issue is that i need to run piTest -x so that the status is updated. Otherwise it keeps the same value..

In a industrial application i need to detect if the configured module is disconnected.

Re: RevPiStatus data meaning

Posted: 16 Jan 2025, 12:14
by dirk
Hello cerberus78, I would be happy to answer your question as to why the value does not change and when. The PiBridge enables communication between the modules and consists of RS485 and, if necessary, Ethernet communication. If errors occur, a counter is incremented and decremented when these errors disappear again. In addition, there are two markers that are triggered when a number of errors is exceeded. a) Warning b) Stop

There may have been so many errors that b) occurred. In this case, This switches all IO modules to the safe state and outputs are set to "0".

Only then communication can be restarted by restarting the driver with "piTest -x" or by restarting the RevPi device.
https://revolutionpi.com/documentation/ ... errorlimit