Skip to content
JelinaJelina DocumentationTechnical documentation
Back to website

GPIO Console

The GPIO plugin monitors changes in GPIO or upstream data and triggers writes to GPIO or downstream data. It changes I/O levels based on point conditions and writes point values when input levels change.

Note: A point can be a data point within an acquisition scheme or a GPIO.

  • Input control: after reading GPIO, send a custom value to a specified point according to the pull-low/pull-high trigger condition.

  • Output monitoring: monitor point changes and drive a specified GPIO high or low when conditions are met.

(1) Open CommBridge Digital Twin, then switch to Device Connectivity on the left.

Open Device Connectivity

(2) Drag Modbus Client (Master) and GPIO Console into the workspace to create two nodes.

Create Modbus and GPIO Console nodes

(3) Connect the nodes in order: Modbus Client (Master) → GPIO Console.

Connect GPIO Console

(1) Double-click GPIO Console and select Add scheme.

Add a GPIO scheme

(2) Enter connection settings and select Next.

GPIO connection settings

(3) Under Output monitoring, select Add data and configure it.

Add output monitoring data

(4) Select Edit beside Register and choose a scheme.

Select a monitored scheme

(5) Under Output monitoring, select Add data and configure it.

Configure additional monitoring data

(6) Select Edit beside Register, choose a scheme, and confirm.

Confirm the selected scheme

(7) Select Finish to add the acquisition scheme.

Complete the GPIO scheme

(8) Enable the scheme and select Save.

Enable and save the GPIO scheme

(1) Select Deploy under Device Connectivity and wait for success.

Deploy GPIO configuration

(2) Switch to Digital Twin and hover over Modbus Data Center to show node information.

View deployed node information

(3) Inspect the device’s GPIO states.

GPIO state example

GPIO state change

Parameter Description Format Example
Scheme name User-defined scheme name Nonempty GPIO control
Parameter Description Format Example
GPIO name Device GPIO pin, determined by physical hardware Dropdown GPIO-0
Monitored target Device GPIO or a point in an upstream acquisition scheme GPIO or Register Register
Condition Greater than, less than, equal, greater than or equal, less than or equal, or not equal Dropdown =
Monitored value Target comparison value Number 100
Action Action performed on the GPIO pin Pull down or Pull up Pull down
  1. For GPIO targets, select Edit and choose the pin. Only equal and not-equal conditions are supported.
  2. For Register targets, select a scheme from an upstream acquisition plugin.
Parameter Description Format Example
GPIO name Device GPIO pin, determined by physical hardware Nonempty GPIO-1
Controlled target Device GPIO or a point in a downstream acquisition scheme GPIO or Register Register
Trigger condition GPIO pin action Pull down or Pull up Pull up
Control value Value to set on the controlled target Dropdown 101
  1. For GPIO targets, select Edit and choose the pin.
  2. For Register targets, select a scheme from a downstream acquisition plugin.
  3. Output monitoring and input control cannot use the same GPIO name.