Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual
Page 56

Function library "LenzeIo1000Drv"
Function blocks
L_io1000Data15 - Process data transfer PDO1 ... PDO5
56
L
DMS 1.0 EN - 07/2011 - TD05
Inputs
Outputs
Identifier/data type
Information/possible settings
bEnablePDOTransfer
BOOL
TRUE Start process data communication
bUseIOData610
BOOL
FALSE The FB
is not used since maximally 5 PDOs are
required.
TRUE The FB
is used since more than 5 PDOs are
required.
dnStateFrom_IOData610
DINT
Status of FB
• Input for accepting the dnState status of FB
if more than 5
PDOs are used.
• If the FB
is not used, this input parameter will be ignored and
a 0 can be transmitted.
abyPDO1...5_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_IOParPDO15
io1000_ParPDO15
Communication-relevant parameters for the process data objects PDO1 ... PDO5
• Input for accepting the structure data of
parameterisation
block.
DataFrom_IParComGuarding
io1000_
ParTimeOutPDO15
Monitoring times for the process data objects PDO1 ... PDO5
• Input for accepting the structure data DataTo_IOData15 from the
parameterisation block
Identifier/data type
Value/meaning
dnState
DINT
Status
2 Waiting for completing the parameter setting through the
FB
1 Initialisation ok, ready for data exchange.
-1000 Error in NMT command "start node"
dnStatePDO1...5
_DataToIO
DINT
Transmission status PDO1 ... PDO5 (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