There are several function blocks in the DVM editor for querying inputs and outputting status messages to outputs, the function of which we would like to show and explain here in the overview.
The functions can be found in “Input/Output”:
Overview of all input/output functions
Important basic rules:
- only LOCAL inputs can be queried
- however, ALL outputs of ALL bus devices can be addressed directly by EVERY bus device
- edge variables (pressed/released/active/inactive) must be actively reset
- edge variables can also be activated by the application
Sends a value to the selected module. “iobit” expects a Boolean value, ‘iobyte’ a number.
Queries the local inputs. “iobit” returns Boolean values, ‘iobyte’ a number.
Used to send RS232 interface communication. All interfaces available on the bus are automatically available as output destinations.
Queries the module’s local RS232 interface.
In- & Outputs of the Keypad module
The Keypad module provides the following iobit and iobyte addresses for querying and receiving:
iobit function | direction | description |
---|---|---|
Button top/bottom left/right pressed | In- & Output | rising edge |
Button top/bottom left/right released | In- & Output | falling edge |
Button top/bottom left/right status | Input | status of the button |
LED top/bottom left/right status | In- & Output | status of the LED |
iobyte function | direction | description |
---|---|---|
LED top/bottom left/right brightness | In- & Output | brightness of theLED (0…100) |
In- & Outputs of the GPIO module
The GPIO module provides the following iobit addresses for querying or receiving:
iobit function | direction | description |
---|---|---|
IN1…IN4 active | In- & Output | rising edge |
IN1…IN4 inactive | In- & Output | falling edge |
IN1…IN4 status | Input | status of the input |
OUT1…OUT4 status | In- & Output | status of the output |
In- & Outputs of the RELAY module
The relay module provides the following iobit addresses for querying or receiving:
iobit function | direction | description |
---|---|---|
IN1…IN2 active | In- & Output | rising edge |
IN1…IN2 inactive | In- & Output | falling edge |
IN1…IN2 status | Input | status of the input |
OUT1…OUT2 status | In- & Output | status of the output |
RELAY1…RELAY2 status | In- & Output | status of the relay |