Diagnostics processing
Technical manual LioN-Link BusHead EtherNet/IP™
Release 1.1 04/2016
8.2 Cyclic diagnostic data
51
8.2
Cyclic diagnostic data
The BusHead sends two status bytes as "Producing data" appended to the
I/O module data and, depending on the parameterization, two or six
diagnostic blocks of four bytes (I/O address table in chapter 6.3.7). It receives
two control bytes as "consuming data" appended to the data of the I/O
modules.
8.2.1
Cyclic BusHead status bytes
BusHead status byte 0 contains the diagnostic status of the diagnostic
blocks. Status byte 1 does not contain any diagnostic information and is
described in chapter 9.
In Acknowledge Mode the diagnostic status in byte 0 will remain active until
the diagnosis becomes inactive and has been acknowledged via the
associated bit in control byte 0 of the BusHead. The current active/inactive
state of diagnosis is shown in byte 2/bit 7 of a diagnostics block (see
BusHead diagnostic blocks” on page 52
).
8.2.2
Cyclic BusHead control bytes
Diagnoses can be acknowledged in BusHead control byte 0 in Acknowledge
mode. Control byte 1 does not contain any control flags for diagnostics and
is described in Chapter 9.
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
reserv. reserv.
Diag. 6
Diag. 5
Diag.4
Diag. 3
Diag. 2
Diag. 1
1 = Diagnosis active
1
reserv. reserv.
reserv.
reserv.
reserv.
reserv.
reserv.
PRM
written
Table 11: BusHead status bytes
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
reserv. reserv.
Ack.
Diag. 6
Ack.
Diag. 5
Ack.
Diag. 4
Ack.
Diag. 3
Ack.
Diag. 2
Ack.
Diag. 1
1 = Acknowledge
diagnosis
1
reserv. reserv.
reserv.
reserv.
reserv.
reserv.
reserv.
PRM
activate
Table 12: BusHead control bytes