Byte Byte
DP/PN
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
D300529 0115 - BL67 I/O modules
12-19
BL67-1RS485/422
n = offset of input data; depending on extension of station and the corresponding fieldbus.
Designation Value Description
Status byte
n
n + 7
STAT TX_CNT_ACK RX_CNT RX_BYTE_CNT
Diagnostic message
n + 1
n + 6
Buf_
Ovfl
Frame_
ERR
HndSh_
ERR
HW_
Fail
PRM_
ERR
reserved
TXBufNo-
tEmpty
Data bytes
n + 2
n + 5
RX_data byte 0
n + 3 n + 4
RX_data byte 1
n + 4 n + 3
RX_data byte 2
n + 5 n + 2
RX_data byte 3
n + 6 n + 1
RX_data byte 4
n + 7 n
RX_data byte 5
Table 12-1:
Process input data
RX_BYTE_CNT 0-7 Number of the valid bytes in this data segment.
RX_CNT 0-3 This value is transferred together with every data segment. The
RX_CNT values are sequential:
00 → 01 → 10 → 11 → 00… (decimal: 0 → 1 → 2 → 3 → 0…)
Er
rors in this sequence show the loss of data segments.
TX_CNT_ACK 0-3 The value TX_CNT_ACK is a copy of the value TX_CNT. The value
TX_CNT was transferred together with the last data segment of the
process output data.
The value TX_CNT_ACK is a confirmation of successful acceptance
of the data segment using TX_CNT.
STAT 0-1 1: The communication with the data terminal equipment (DTE) is
not disturbed.
0: The communication with the data terminal equipment (DTE) is
disturbed. A diagnostic message is generated, if the parameter
"Deactivate diagnostics" is set to "no". The diagnostic data show
the cause of the communication disturbance.
The user has to set back this bit in the process output data by using
STATRES.
TXBufNotEmpty 0-1 This bit signalizes that the transmit buffer still contains data.
It is automatically reset when the last character
is sent from the send buffer.
The bit can be used as control bit for actively triggering the sending
of the TX data buffer.
BufOvfl; FrameErr;
HndShErr; HwFailure;
PrmErr
0 - 255 Diagnostic information (correspond to the diagnostic information
in the diagnosis telegram).
These diagnostics are always displayed and independent to the
setting of the parameter "Deactivate diagnostics".