Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual

Page 59

Advertising
background image

DMS 1.0 EN - 07/2011 - TD05

L

59

Function library "LenzeIo1000Drv"

Function blocks

L_io1000Data610 - process data transfer PDO6 ... PDO10

Inputs

Outputs

Identifier/data type

Information/possible settings

bEnablePDOTransfer

BOOL

TRUE Start process data communication

abyPDO6...10_DataToIO

ARRAY[1..8] OF BYTE

Process data to be sent (PLC  I/O system)

bResetFail

BOOL

TRUE Reset outputs bFail_DataToIO, bFail_DataFromIO and bFail_Module

to FALSE

DataFrom_IOParPDO610

io1000_ParPDO610

Communication-relevant parameters for the process data objects PDO6 ... PDO10

• Input for accepting the structure data of

L_io1000ParPDO610

parameterisation

block.

DataFrom_IParComGuarding

io1000_

ParTimeOutPDO610

Monitoring times for the process data objects PDO6 ... PDO10

• Input for accepting the structure data DataTo_IOData610 from the

L_io1000ParComGuarding

parameterisation block

Identifier/data type

Value/meaning

dnState

DINT

Status

2 Waiting for completing the parameter setting through the

FB

L_io1000ParPDO610

1 Initialisation ok, ready for data exchange.

-1000 Error in NMT command "start node"

dnStatePDO6...10

_DataToIO

DINT

Transmission status PDO6 ... PDO10 (PLC  I/O system)

0 No error
3 PDO has been deactivated
2 Process data communication is not active

-150 CAN interface of the PLC is not in the "Operational" status
-160 Error while reading out the status of the CAN interface

-1000 Error while sending process data
-1002 Wrong handling has been transmitted to internal transmit block
-1003 Wrong data length has been transmitted to the internal transmit

block

-1004 Wrong identifier has been transmitted to internal transmit block
-1007 Wrong transmission mode has been transmitted to internal

transmit block

-1100 Output buffer is full

Advertising