Skip to main content
Version: 2.6

GPIO Data Access

Following addresses can be used to configure the data access:

Address BaseDescriptionExample
GlobalGlobal addresses of the pluginGlobal.0
GPIOReading an input from the I/OsGPIO.13
RevPiReading/Writing variables for Revolution PiRevPi.I_1

Global Addresses

Global addresses of the GPIO driver:

AddressDescriptionData Type
Global.0Available flag: 0 = Off; 1 = OnSystem.Boolean
Global.1Sign of life. Toggles in 1HzSystem.Boolean

GPIO Addresses

The GPIO addresses access directly the GPIO files on the host system.

AddressDescriptionData Type
GPIO.{x}Reads the x-th GPIO flagSystem.Boolean

Revolution PI Addresses

Especially for Revolution PI, the GPIO Driver plugin supports reading and writing variables defined in the Hardware Configuration.

AddressDescriptionData Type
RevPi.{name}Reads a variable {name}. The datatype is specified in the hardware configuration and dynamically read by the GPIO Driver plugin.System.Boolean
System.Byte
System.UInt16
System.UInt32
System.String
NOTE

The hardware configuration is written by the application PiCtory. Access the application using the web access on the RevolutionPI.

Reading RevPi addresses are on a higher abstraction level than GPIOs:

:::caution** IMPORTANT

Use rather RevPi addresses instead of GPIO because GPIOs can change along different hardware configurations. :::