5 setting and resetting the master structure, Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual

Page 121

Advertising
background image

DMS 3.1 EN 01/2011 TD17

L

121

Control technology | EtherCAT communication manual

EtherCAT function libraries

Function blocks and functions for diagnosing the network

9.7.8.5

Setting and resetting the master structure
The notifications and variables are set by the EtherCAT master stack when the event

occurs. If a notification/variable has been set, it remains set until the master structure is

explicitly reset.
When an error has been eliminated, the notifications/variables must be reset. This can be

done with the following actions:

 Calling the

ResetMasterStatus (FB)

function block of the SM_EtherCAT.lib function

library (typically used in Logic control systems).

 Calling the SMC_ResetAxisGroup PLCopen function block of the SM_DriveBasic.lib

function library.

 Reset PLC (cold and original)

bEC_NOTIFY_FRAME_

RESPONSE_ERROR

This notification is set when the response frame currently received by the master

does not correspond with the expected frame or when the master has received no

response at all.

bEC_NOTIFY_CYCCMD_

WKC_ERROR

This notification is set if within a cycle the current value of the working counter in

the control/PLC does not correspond with the value read back via the fieldbus. (Not

all of the slaves addressed have reached.)

Notification

Description

Advertising