Function library lenzeiosystem.lib, Function blocks – Lenze DDS Function library IOSystem User Manual
Page 21
Function library LenzeIOSystem.lib
Function blocks
4.1
L_IOParComGuarding − Monitoring function
4−3
L
LenzeIOSystem.lib EN 1.7
(Variable type: VAR_INPUT)
ð Inputs
Variable name
Information/possible settings
Data type
tHeartbeatProducerTime
Time
Set the transmission time for one heartbeat telegram t = 0 − 65535ms
byErrorBehavior
Byte
Set the bus status / behaviour on critical device error
0 Pre−Operational (default)
1 No status change
2 Stop
3 Reset after 2 seconds
tTimeOutPDO1_DataToIO
...
tTimeOutPDO10_DataToIO
Time
Monitoring period for process input data (Lenze−specific).
If no data are received at the selected PDO within the monitoring period, the I/O
system assumes the status set under
byErrorBehavior.
Default t = 0 ms
t = 0 − 65535 ms
tTimeOutPDO1_DataFromIO
...
tTimeOutPDO10_DataFromIO
Time
Monitoring period for process output data.
If no data are transmitted from the I/O system to the PLC at the selected PDO within
the monitoring period, function block L_IODataXXX signals a time monitoring error.
Default t = 0 ms
t = 0 − 65535 ms
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.
1 Transmit command sent − processing in process
2001 Error occurred during bus transfer
2002 Transmit command timed out
2004 Access denied − wrong target system: Subindex does not exist
2005 Access denied − wrong target system: Index 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 − also refer Set byCom
channel
2120 Too many modules connected − parameter transfer aborted
−10xx Incorrect value at function block input.
XX := Number of faulty input (counting direction down),
parameterisation impossible.
Remedy: Change input value, restart data transmission
DataTO_IOData15
Struct
Structure for process data block L_IOData15.
Transfer process output data monitoring periods to process data block L_IOData15.
Global struct−type variable
DataTO_IOData610
Struct
Structure for process data block L_IOData610
Transfer process output data monitoring periods to process data block
L_IOData610.
Global struct−type variable