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

Page 46

Advertising
background image

4.10

L_IOParCompactModule − Parameterisation function

Function library LenzeIOSystem.lib

Function blocks

4−28

L

LenzeIOSystem.lib EN 1.7

Outputs

ð

(Variable type: VAR_OUTPUT)

Identifier

Data type

Value/meaning

nState

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.
Any errors are reset via an edge reversal at input bExecute or on
program restart.

0 Transmit command is executed.

The module is parameterised.

1 Transmit command sent

Processing in process

2001 Error occurred during bus transfer

2002 Transmit command timed out

2004 Access denied

Wrong target system: Index does not exist

2005 Access denied

Wrong target system: Subindex does not exist

2013 Access denied

Wrong target system: Invalid value range

2111 Access denied

Wrong target system: More than 4 digits specified after
comma, or no fixed−comma−format index

2117 Communication channel does not exist

Set byCom channel

−10xx Incorrect value at function block input.

XX := Number of faulty input (counting direction down),
parameterisation impossible.
Remedy: Change input value, restart data transmission

nState

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.
Any errors are reset via an edge reversal at input bExecute or on
program restart.

−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.

10 Telegram longer than 8 bytes.

Telegram length limited to 8 bytes.

200 Data in receive memory have been overwritten.

bParDone

Byte

Parameterisation status

TRUE Parameterisation executed

DataTO_IODataCompactmodule

Struct

Structure for process data block L_IOCompactModule
Global struct−type variable

Advertising