RevPiStatus data meaning

Topics about the Software of Revolution Pi
Post Reply
cerberus78
Posts: 22
Joined: 06 May 2024, 20:24

RevPiStatus data meaning

Post 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 ?
User avatar
dirk
KUNBUS
Posts: 2214
Joined: 15 Dec 2016, 13:19

Re: RevPiStatus data meaning

Post by dirk »

cerberus78
Posts: 22
Joined: 06 May 2024, 20:24

Re: RevPiStatus data meaning

Post 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.
User avatar
dirk
KUNBUS
Posts: 2214
Joined: 15 Dec 2016, 13:19

Re: RevPiStatus data meaning

Post 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
Post Reply