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 ?
RevPiStatus data meaning
-
- Posts: 22
- Joined: 06 May 2024, 20:24
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.
In a industrial application i need to detect if the configured module is disconnected.
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
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