RevPiCore

Pictures the RevPi Core device. This class inherits from RevPiDevice and provides all attributes and functions of this class.

class RevPiCore(RevPiDevice)

The following additional attributes are provided:

A1

Sets the LED A1 on the core to the specified status

revpimodio.OFF = off
revpimodio.GREEN = green
revpimodio.RED = red


A2

Sets the LED A2 on the core to the specified status

revpimodio.OFF = off
revpimodio.GREEN = green
revpimodio.RED = red


leftgate

True: A piGate module is connected to the RevPi


missingdeviceorgate

True: At least one I / O module has been configured with PiCtory, but this is not connected. The bit is also set when a piGate has been configured.


overunderflow

True: An I / O module occupies more or fewer bytes in the process image than specified in the PiCtory configuration. This can happen only if the version of the configuration file or the device description files used, does not match the firmware in the I / O module. Get an update from PiCtory


picontrolrunning

True: piControl-Driver is running


rightgate

True: A piGate module is connected on the right of the RevPi


status

Returns the Status of the RevPi as int()


unconfdevice

True: At least one I / O module that was not configured with PiCtory is connected

Source of texts: Kunbus GmbH