Lenze HMI for visualisation / with control technology User Manual
Page 67
Advertising
Operation
Creating a PLC sample program
Build up CAN communication with distributed I/O module
l
67
LDCDS−EL100 EN 9.0
12. Go to the POUs registry and write your program.
The following example program has the function of a simple counter: the value of the
I/O module byte "QB0" is incremented.
)
Note!
Leave an instruction in the main program, otherwise, compile errors will occur.
For establishing a CAN connection with the I/O module, some libraries must have been
loaded.
Advertising