1 l_ioparcomguarding - monitoring function, L_ioparcomguarding − monitoring function, Function library lenzeiosystem.lib – Lenze DDS Function library IOSystem User Manual

Page 20: 1 l_ioparcomguarding − monitoring function, Function blocks

Advertising
background image

4.1

L_IOParComGuarding − Monitoring function

Function library LenzeIOSystem.lib

Function blocks

4−2

L

LenzeIOSystem.lib EN 1.7

4.1

L_IOParComGuarding − Monitoring function

This function block parameterises, via the input setting, the monitoring functions provided by the I/O
system.

Included are

·

NodeGuarding, Heartbeat and a Lenze−specific monitoring function,

·

setting the output channels’ switching behaviour in the case of an error via input

byErrorBehavior.

The function block output indicates the transmission status.

DataTo_IOData610

DataTo_IOData15

L_IOParComGuarding

bExecute

nState

EPM-T110

Ixxxh

byNodeAdr

tGuardTime

byLifeTimeFactor

tHeartbeatConsumerTime

byHearbeatConsumerAdr

tHeartbeatProducerTime

byErrorBehavior

tTimeOutPDO1_DataToIO

tTimeOutPDO10_DataToIO

tTimeOutPDO1_DataFromIO

tTimeOutPDO10_DataFromIO

CTRL

EPM-T111

Note!

Use the FBs of LenzeCanDSxDrv.lib for evaluating the functions NodeGuarding and Heartbeat.

ð Inputs

(Variable type: VAR_INPUT)

Variable name

Data type

Information/possible settings

bExecute

Bool

Execute write request

FALSE

ä TRUE Write request is executed

byNodeAdr

Byte

Device address: 1 − 63

tGuardTime

Time

Nodeguarding: Time interval.
An NMT master must poll the I/O system within the guard time period.

Default t = 0 ms

t = 0 − 65535 ms

byLifeTimeFactor

Byte

Lifeguarding:
Life Time Factor x Guard Time = Life Time.
Once this period has expired, the I/O system is switched into a predefined status.

tHeartbeatConsumerTime

Time

Heartbeat: Monitoring interval.
The I/O system is switched into a predefined status if no telegram is received from
the Heartbeat Producer within this interval.
t = 0 − 65535 ms

byHeartbeatConsumerAdr

Byte

Node ID of the device to be monitored. (HeartbeatProducer Node ID)

Advertising