Status Byte Description; Transmit Serial Data To The Ascii Device - Rockwell Automation Allen-Bradley 1734-232ASC Original Instructions Manual

Point i/o ascii modules
Table of Contents

Advertisement

Chapter 3
Module Tag Definitions
Table 11 - Receive Data Format — String Data Type
Byte 1
Byte 2
Receive Record Number
Status Byte
Transmit Serial Data to the
ASCII Device
30
Byte 3
Length (Low Byte)

Status Byte Description

The Serial Status, shown in
status and exception flags.
Table 12 - Serial Status Byte
Bit
Exception
0
TX Buffer Overflow
1
RX Buffer Overflow
2
RX Parity Error
6
Handshake Error
7
New Data Flag
TX Buffer Overflow (Bit 0)
The transmit queue has overflowed resulting in a loss of data. The transmit I/O
is full of data waiting to be transmitted. Some of the data added has been lost.
When space becomes available in the TX, this bit is reset.
RX Buffer Overflow (Bit 1)
The receive queue has overflowed resulting in a loss of data. The receive is full
of data waiting to be processed. The data has been lost. When space becomes
available in the RX, this bit is reset.
RX Parity Error (Bit 2)
This bit is set if a parity error is detected on the received data.
Handshake Error (Bit 6)
This error occurs only in Master-Slave Handshake Mode. It indicates that the
master has requested a new data record from the ASCII module, but the ASCII
module has not indicated new data is available to be sent.
New Data (Bit 7)
This bit is used only when the Master-Slave Handshake option is active. When
the ASCII module receives a new data string into its serial port, it sets this flag
in its response message. The bit remains set until the master changes the
Receive Record Number in its produced data.
To transmit data to your serial device, the data must first be sent to the ASCII
module and then the ASCII module must send the data to the serial device.
Rockwell Automation Publication 1734-UM009C-EN-P - August 2022
Byte 4
Byte 5-X
Length (High Byte)
ASCII Data (max 128 bytes)
Table
12, byte is an OR'd bit field of a number of
Byte X+1 (Max = 132)
<CR> (Terminator)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Allen-bradley 1734-485ascAllen-bradley 1734-485asck

Table of Contents