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

Page 49

Advertising
background image

Function library LenzeIOSystem.lib

Function blocks

5.1

L_IOData15 − Coordinate data

5−3

L

LenzeIOSystem.lib EN 1.7

ð Inputs

(Variable type: VAR_INPUT)

Variable name

Data type

Information/possible settings

bEnablePDOTransfer

Bool

Data transfer

TRUE PDO data transfer active

abyPDO1_DataToIO

...

abyPDO5_DataToIO

Byte array

I/O system receive objects

·

Transfer process data from PLC to I/O system
(digital/analog outputs)

bResetFail

Bool

Reset output data bFail_DataToIO. bFail_DataFromIO and bFail_Module

TRUE Output data reset

DataFrom_IOParPDO15

Struct

Structural data of parameter block L_IOParPDO15 are transferred to process data
block L_IOData15 via this input.
Global struct−type variable

DataFrom_IOParComGuarding

Struct

Transfer monitoring times t

TimeOut_DataFromIO for PDO 1−5.

Structural data of parameter block L_IOParComGuading.
Global struct−type variable

Outputs

ð

(Variable type: VAR_OUTPUT)

Identifier

Data type

Value/meaning

nStatePDO1_DataFromIO

...

nStatePDO5_DataFromIO

Integer

States
If a transmission error occurs during the parameterisation process, or the input data
are incorrect, the parameterisation process is aborted and an error number is
indicated at output nState.

−150 CAN bus not in Operational status.

−121 Wrong driver number

−120 CAN driver for unassigned CAN objects currently not initialised.

−119 Transmit command memory is full.

Transmit command could not be entered.

−118 No free CAN channel available.

−12 Message identifier outside permissible range.

−11 pIOAddress pointer does not point at PLC RAM.

0 Transmit and/or receive command is executed.

1 Command has not yet been completed and is still in the

command memory.

2 Data transmission disabled

·

bEnablePDOTransfer = False

·

I/O system parameterisation not yet complete

10 Telegram longer than 8 bytes.

Telegram length limited to 8 bytes.

200 Data in receive memory have been overwritten.

−30xx TimeOut monitoring (xx

@ PDOxx)

Data transfer from I/O system to PLC failed.
Data arrived late or not at all.

Advertising