beautypg.com

Ethercat kommunikation, Diagnostics access to diagnostic data – Lenze I/O system 1000 System Manual User Manual

Page 546

background image

EtherCAT Kommunikation

Diagnostics
Access to diagnostic data

10

l

546

EDSIO1000 EN 7.0

EPM−S602 diagnostic alarm

Diagnostic byte

Bits 7 ... 0

1

Bit 0: set if module fault
Bit 1: set if internal error
Bit 2: set if external error
Bit 3: set if channel error exists
Bit 4: set if there is no external voltage supply
Bits 7 .... 5: 0 (fixed)

2

Bits 3 ... 0: module class, 1000

b

: function module

Bit 4: set if channel information available
Bits 7 ... 5: 0 (fixed)

3

0 (fixed)

4

Bits 5 ... 0: 0 (fixed)
Bit 6: set if process alarm lost
Bit 7: 0 (fixed)

5

Bits 6 ... 0: channel type, 76

h

: counter module

Bit 7: further channel types available, 0: no, 1: yes

6

Number of diagnostic bits output by the module per channel (here 08

h

)

7

Number of channels of a module (here 02

h

)

8

Bit 0: error in channel group 0 (counter 0)
Bit 1: error in channel group 1 (counter 1)
Bits 7 ... 2: 0 (fixed)

9

Channel group 0: diagnostic alarm due to lost process alarm to ...
Bits 1 ... 0: 0 (fixed)
Bit 2: overflow/underflow/final value
Bit 3: comparison value reached
Bits 7 ... 4: 0 (fixed)

10

Channel group 1: diagnostic alarm due to lost process alarm to ...
Bits 1 ... 0: 0 (fixed)
Bit 2: overflow/underflow/final value
Bit 3: comparison value reached
Bits 7 ... 4: 0 (fixed)

11 ... 16

0 (fixed)

EPM−S603 − diagnostic alarm

Diagnostic byte

Bit 7 ... 0

1

0 (fixed)

2

Bit 3 ... 0: Module class, 1000

b

: function module

Bit 4: Channel information available
Bit 7 ... 5: 0 (fixed)

3

0 (fixed)

4

0 (fixed)

5

Bits 6 ... 0: channel type, 76h: counter module
Bit 7: further channel types available, 0: no, 1: yes

6

Number of diagnostic bits output by the module per channel (here 00

h

)

7

Number of channels of a module (here 02

h

)

8 ... 16

0 (fixed)