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

Page 50

Advertising
background image

5.1

L_IOData15 − Coordinate data

Function library LenzeIOSystem.lib

Function blocks

5−4

L

LenzeIOSystem.lib EN 1.7

(Variable type: VAR_OUTPUT)

Outputs

ð

Identifier

Value/meaning

Data type

nStatePDO1_DataToIO

...

nStatePDO5_DataToIO

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.

bFail_DataToIO

Bool

Transmit command to I/O system

TRUE Transmit command to I/O system is not correct

bFail_DataFromIO

Bool

Receive command from I/O system

TRUE Receive command from I/O system is not correct

bFail_Module

Bool

Module error

TRUE

·

Module diagnostics active

·

Emergency object indicates error

abyPDO1_DataFromIO

...

abyPDO5_DataFromIO

Byte array

I/O system transmit objects
Transfer process data from I/O system to PLC
(digital/analog inputs)

Advertising