Please enable JavaScript to view this site.

Validity: Rule, Task

By the use of this keyword, it is possible to modify the output of alarms 82 and 83, related to EtherCAT diagnostics, in order to avoid power loss. Obviously, the user will have to handle the situations from application software.

In addition, it is possible to select, by acting on BIT 3, a specific diagnostic for each EtherCAT line.

Syntax

I32 FB_flag

Notes

Default 0

The meaning of the bits is as follows:

Bit

Hexadecimal value

Description

BIT 0

0x1

If true, alarm 9207 is used instead of 82.

If 1, no major alarm is generated, but the corresponding warning is generated (for alarms 101 102 103 104 105)

BIT 1

0x2

If true, alarm 9208 is used instead of 83

BIT 2

0x4

If true disables updating of FB_STSW, FB_CNTRW variables.

BIT 3

0x8

If true enables the use of dedicated alarms for diagnostic of communication error or node loss with dedicated alarms on each fieldbus line.

Error Type

FB_FLAG.3 = 0

FB_FLAG.3 = 1

Communication error

nEth

FB_FLAG.0 = 0

FB_FLAG.0 = 1

1

82

9207

2

82

9207

3

82

9207

4

82

9207

nEth

FB_FLAG.0 = 0

FB_FLAG.0 = 1

1

82

9212

2

84

9214

3

86

9216

4

88

9218

Node loss

nEth

FB_FLAG.1 = 0

FB_FLAG.1 = 1

1

83

9208

2

83

9208

3

83

9208

4

83

9208

nEth

FB_FLAG.1 = 0

FB_FLAG.1 = 1

1

83

9213

2

85

9215

3

87

9217

4

89

9219

BIT 4

0x10

Disables generation of alarms 82 and 18 related to devices not in operation if status imposed by CO_PAR_UPLOAD or CO_PAR_DOWNLOAD command.

BIT 5

0x20

Enables generation of alarm 9280 instead of alarm 80.

If 1, a different alarm is generated for each EtherCAT networks, otherwise a single alarm is generated for all networks (for alarms 101 102 103 104 105 9225 9226 9227 9228 9229)

BIT 6

0x40

Enables the management of the status of an EtherCAT node (ESM) according to the EtherCAT ESM encoding. The parameter affects all present networks. However, it has no influence on the CO_PAR_UPLOAD or CO_PAR_DOWNLOAD functions.

The new node status values are:

ESM Status (NMT)

New

Old

Init or Node not present

0xXXs0

0xXX04

Pre-operational

0xXXs1

0xXX7F

Safe-operational

0xXXs4

0xXX7F

Operational

0xXXs8

0xXX05

XX : bits retain old meaning

s : source of the status information

Value s

Information source

2

From master state

4

Real state after probe command

8

Real state read from request or automatically on change in number of nodes

9

Node in error on transition

The new NMT commands for node state change are:

Desired state

New

Old

Init

1

129

Pre-operational

2

128

Safe-operational

4


Operational

8

1

BIT 7

0x80

Enables the management of node status reading, on the EtherCAT network, in case of error on node failure or on request. The parameter affects all networks present

BIT 8

0x100

Enables the generation of alarms (101 102 103 104 105 9225 9226 9227 9228 9229) related to the presence of more nodes than expected on an EtherCAT network

Example

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC