beautypg.com

Ethercat kommunikation – Lenze I/O system 1000 System Manual User Manual

Page 538

background image

EtherCAT Kommunikation

Diagnostics
Access to diagnostic data

10

l

538

EDSIO1000 EN 7.0

EPM−S406, EPM−S408 − process alarm

Diagnostic byte

Bit 7 ... 0

1

Bit 0: Limit value exceeded channel 1
Bit 1: Limit value exceeded channel 2
Bit 7 ... 2: 0 (fixed)

2

Bit 0: Limit value not reached, channel 1
Bit 1: Limit value not reached, channel 2
Bit 7 ... 2: 0 (fixed)

3/4

ms−ticker value at the time of the alarm
The I/O compound module features an integrated 32−bit timer (

ms−ticker) which is started at

switch−on and starts at 0 again after 23

2

− 1

ms. These two bytes represent the lower 2 bytes

of the

ms−ticker (0 ... 2

16

− 1)

EPM−S600 − process alarm

Diagnostic byte

Bit 7 ... 0

1

Bit 0: Hardware gate open
Bit 1: Hardware gate closed
Bit 2: Overflow/underflow/final value
Bit 3: Comparison value reached
Bit 4: Latch value
Bit 7 ... 5: 0 (fixed)

2

State of the inputs at the time of the alarm
Bit 0: A/pulse
Bit 1: B/direction
Bit 2: Latch
Bit 3: Hardware gate
Bit 4: Reset
Bit 7 ... 5: 0 (fixed)

3/4

Ticker value at the time of the alarm

EPM−S601 and EPM−S602 − process alarm

Diagnostic byte

Bit 7 ... 0

8

Bit 0: 0
Bit 1: 0
Bit 2: Counter 0, overflow/underflow/final value
Bit 3: Counter 0, comparison value reached
Bit 4: 0
Bit 5: 0
Bit 6: Counter 1, overflow/underflow/final value
Bit 7: Counter 1, comparison value reached

9

State of the inputs at the time of the alarm
Bit 0: Counter 0, A/pulse
Bit 1: Counter 0, B/direction
Bit 2: Counter 1, A/pulse
Bit 3: Counter 1, B/direction
Bit 7 ... 4: 0 (fixed)

10 ... 11

16 bit

ms value at the time of the alarm