Application Examples • 173
Example
kbusdemo
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
Every OPTION of the
kbusdemo
requires an address since every kbusdemo
action, which is specified by the OPTION, is linked to a certain address in the
process image.
Example:
./kbusdemo -n 0.0
The bit for the output address 0.0 in the process image is set to TRUE
./kbusdemo -o 1.7
The bit for the output address 1.7 in the process image is set to FALSE
./kbusdemo -r 0
Reads the data at input byte 0
Output:
IN[0]: 0b10100000 || IN[0]: 0xa0
The first byte has the following format: IN[Byte] binary - || IN[Byte]
hexadecimal output