Handling of In- & Outputs

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 functiondirectiondescription
Button top/bottom left/right pressedIn- & Outputrising edge
Button top/bottom left/right releasedIn- & Outputfalling edge
Button top/bottom left/right statusInputstatus of the button
LED top/bottom left/right statusIn- & Outputstatus of the LED
iobyte functiondirectiondescription
LED top/bottom left/right brightnessIn- & Outputbrightness of theLED (0…100)

In- & Outputs of the GPIO module

The GPIO module provides the following iobit addresses for querying or receiving:

iobit functiondirectiondescription
IN1…IN4 activeIn- & Outputrising edge
IN1…IN4 inactiveIn- & Outputfalling edge
IN1…IN4 statusInputstatus of the input
OUT1…OUT4 statusIn- & Outputstatus of the output

In- & Outputs of the RELAY module

The relay module provides the following iobit addresses for querying or receiving:

iobit functiondirectiondescription
IN1…IN2 activeIn- & Outputrising edge
IN1…IN2 inactiveIn- & Outputfalling edge
IN1…IN2 statusInputstatus of the input
OUT1…OUT2 statusIn- & Outputstatus of the output
RELAY1…RELAY2 statusIn- & Outputstatus of the relay

Was this article helpful?

Related Articles