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

Page 39

Advertising
background image

Function library LenzeIOSystem.lib

Function blocks

4.8

L_IOParPDO15 − Parameterisation function

4−21

L

LenzeIOSystem.lib EN 1.7

Outputs

ð

(Variable type: VAR_OUTPUT)

Identifiers

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

0 Transmit request is executed.

The module is parameterised.

1 Transmit request dropped

Processing is running

2001 Error occurred during bus transfer

2002 Transmit request timed out

2004 Access denied

Incorrect target system: index does not exist

2005 Access denied

Incorrect target system: subindex does not exist

2013 Access denied

Incorrect target system: invalid value range

2111 Access denied

Incorrect target system: More than 4 decimal positions
specified or no fixed point format index

2117 Communication channel does not exist

byCom−Channelsetting

−10xx Incorrect value at function block input.

XX := number of faulty input (counting direction down),
parameterisation impossible.
Remedy: change input variable, restart data transmission

nState

Integer

States
If a transmission errors occur during the parameterisation process or the input data
are incorrect, the parameterisation process is aborted and an error number is
indicated at output nState.
Errors are reset via an edge reversal at input bExecute or on
program restart.

−150 Can bus is not in the "Operational" status.

−121 Incorrect driver number

−120 CAN driver for free CAN objects at present is not initialised.

−119 The transmit request memory is full.

The transmit request could not be entered anymore.

−118 No free CAN channel available.

−12 Message identifier is beyond the permissible range.

−11 pIOAddress pointer does not point to PLC−RAM.

0 Transmit or reception request has been carried out.

1 Request has not yet been completed and still is available in

the request memory.

10 Telegram length is greater than 8 bytes.

Telegram length is limited to 8 bytes.

200 Data in the reception memory have been overwritten.

bParDone

BOOL

Parameterisation

TRUE Parameterisation completed

DataTO_IOData15

Struct

Structure for the L_IOData15
process data block
Global variable of the "Struct" type

Advertising