Technology modules
D300529 0115 - BL67 I/O modules12-6
Process output data
The data received from the PLC are
loaded into the 64-bit transmit-buffer in the module.
The transmission is realized in a 8-byte fo
rmat which is structured as follows:
1 control byte is required to ensure trouble-
free transmission of the data.
1 byte contains, signals to start the flush
ing of transmit- and receive buffer.
6 bytes are used to contain the user data.
Byte Byte
DP/PN
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
n = offset of output data; depending on extension of station and the corresponding fieldbus.
Meaning of the data bits (process output)
Control byte
n
n + 7
STATRES RX_CNT_ACK TX_CNT TX_BYTE_CNT
Flushing of receive- or transmit-buffer
n + 1
n + 6
reserved
TXBuf
Dis
RXBUF
FLUSH
TXBUF
FLUSH
Data bytes
n + 2
n + 5
TX_data byte 0
n + 3 n + 4
TX_data byte 1
n + 4 n + 3
TX_data byte 2
n + 5 n + 2
TX_data byte 3
n + 6 n + 1
TX_data byte 4
n + 7 n
TX_data byte 5
Table 12-2:
Process output
da
ta
Designation Value Description
TX_BYTE_CNT 0 - 7 Number of the valid bytes
in this data segment.
TX_CNT 0-3 This value is transferred together with every data segment. The
TX_CNT values are sequential:
00->01->10->11->00…
(decimal: 0->1->2->3->0…)
Errors in this sequence show the loss of data segments.
RX_CNT_ACK 0-3 The value RX_CNT_ACK is a copy of the value RX_CNT. The value
RX_CNT was transferred together with the last data segment of the
process input data.
RX_CNT_ACK has to be set analog to RX_CNT (in the status byte).
RX_CNT_ACK is an acknowledge for the successful transmission of
the data segment with RX_CNT. New data can now be received.