Function library lenzeiosystem.lib, Application examples – Lenze DDS Function library IOSystem User Manual

Page 17

Advertising
background image

Function library LenzeIOSystem.lib

Application examples

3.2

Compact decentralised I/O system

3−7

L

LenzeIOSystem.lib EN 1.7

At input DataFrom_IOParPDO15, CAN communication relationships between PLC and I/O system
are transmitted from parameterisation block L_IOParCompactModule to process data block
L_IOCompactModule.

Process data transmission is started after parameterisation via a High signal at input
bEnablePDOTransfer.

Data conversion for evaluating individual channels

The program Process can be extended as follows:

·

Use the menu command Extras

ÞOrder to indicate the sequence.

·

Drag the individual function blocks to their positions in order to make the program sequence
comprehensible.

Function block L_IOCompactModule supplies the transmit and receive data as 8*8 byte information
via the CAN telegram.

The two converters convert the information into individual bits.

A digital input and output module maps the individual bits.

If the example for eight inputs / outputs is to be extended to 24 inputs, two further function blocks
L_IODInModule must be generated and linked via converter L_IOConvByteArrayToByte.

Advertising