4 resetmasterstatus (fb), Resetmasterstatus (fb), Resetmasterstatus (fb) ( 114) – Lenze EtherCAT control technology User Manual

Page 114: Control technology | ethercat communication manual

Advertising
background image

Control technology | EtherCAT communication manual

EtherCAT function libraries

Function blocks and functions for diagnosing the network

114

L

DMS 3.1 EN 01/2011 TD17

9.7.4

ResetMasterStatus (FB)

Inputs and outputs (VAR_IN_OUT)

Outputs (VAR_OUTPUT)

Function:

This function block resets the

Notifications

( 120)

. It is typically used

after a bus restart. A bus restart is initiated by executing the following

function blocks in the listed order:

1.

ecatStopAsync (FB)

( 101)

2.

ecatStartAsync (FB)

( 100)

3. ResetMasterStatus (FB)

(After the bus has been restarted, the distributed clocks are

synchronised and the EtherCAT bus is in the Operational state.)

Library:

SM_Ethercat.lib

Visualisation:

-

Identifier/data type

Meaning/possible settings

EcatMaster

ECAT_MASTER

Input: Master state before the reset

Output: Master state Operational (

The global EtherCAT master structure

ECAT_MASTER ( 118)

contains the master state for the ECAT1 interface.)

Identifier/data type

Meaning/possible settings

bDone

BOOL

FALSE: Function block is active or has not been called

TRUE: Function block has been executed.

Advertising