User manual

6 Detailed descriptions of I/O modules | Serial communication module UR20-1COM-232-485-422
393Manual u-remote1432790000/08/12.2015
Process output data UR20-1COM-232-485-422
Byte Format Name Bit Description Remarks
QB0
Word
Status and diagnosis
IX0.0 RXBUF FLUSH
Bit 0: RXBUF FLUSH
The receive memory can be scrubbed using this bit.
STATRES = 1: A requirement with RXBUF FLUSH = 1 will be
ignored.
STATRES = 0: The receive memory will be scrubbed with
RXBUFFLUSH = 1.
IX0.1 TXBUF FLUSH
Bit 1: TXBUF FLUSH
The emission memory can be scrubbed using this bit.
STATRES = 1: A requirement with TXBUF FLUSH = 1 will be
ignored.
STATRES = 0: The emission memory will be scrubbed with
TXBUF FLUSH = 1.
IX0.2 RX_HWBUFFER
Bit 2: DisableSend_TX_HWBUFFER
This bit controls the hardware emission memory:
DisableSend_TX_HWBUFFER = 0: The hardware emission
memory is released. A character (Byte) will be sent as soon as it
reaches the buffer.
DisableSend_TX_HWBUFFER = 1: The hardware emission
memory is locked. Characters (Bytes) will only be sent, when
DisableSend_TX_HWBUFFER is set to 0 again.
IX0.3 TX_CNT
The TX_CNT value is assigned to each data segment of the
process output data. The sequence or the TX_CNT values is:
Binary: 00–>01–>10–>11–>00...
Decimal: 0–>1–>2–>3–>0...
A faulty data sequence indicates missing data segments.
IX0.4 TX_CNT
IX0.5 RX_CNT_ACK
RX_CNT_ACK must include a copy of the RX_CNT value. The
RX_CNT value has been transferred together with the last data
segment of the process input data.
RX_CNT_ACK must be set in analogy with RX_CNT (in the sta-
tus byte). It indicates that the data segment has been transferred
successfully by using RX_CNT and enables to receive new data.
IX0.6 RX_CNT_ACK
IX0.7 Communication status
The input data status bit STAT will be reset using this bit. When
changing from 1 to 0 (falling edge) STAT will be reset from 0 to 1.
STAT = 0: All changes in the data elds TX_BYTE_CNT, TX_CNT
and RX_CNT_ACK will be ignored. The receive or emission
memory can be scrubbed using RXBUF FLUSH or TXBUF FLUSH
respectively.
STAT = 1 or changing from 0 to 1: The buffers cannot be scrubbed.
QB1 Length of the data segment
QB 2 ... QB 7
or
QB 2 ... QB 15
Transmission data
User data of the transferred
telegramm segment