Bi-directional rs-232 error messages, Format b - balance in normal weighing mode, Format b - balance in a special weighing mode – Scientech Zeta Series User Manual

Page 18: Format c

Advertising
background image

18

Format B - Balance in normal weighing mode:

1 2 3 4 5 6 7 8 9 10 11 12 13 14
15 16 17
X X X X X X X _ _ _ Y Y Y _
_ Y Y ...CR

LF


Display shows 5.15 g and balance in high range
Message is _ _ _5.15_ _ _G_ _HIGH CR LF

Format B - Balance in a special weighing mode:

Display shows 1250 PCS and balance in low range
Message is _ _1250_ _ _ _ _PCS_ _LOW CR LF

Note that, in these special weighing modes, the least significant digit of the numeric field is in the 6th (or 7th position if the number is
negative) and that the leftmost character of the annunciator is in the 12th position.

Format C:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16 17 18 19 20 21 22 23
R E G : _ X X X _ _ X X X X X
X X _ _ _ Y Y CR

LF


Display shows the contents of register 24 as 102.56, an additive constant, with units in grams
Message is

REG:_024_ _ _102.56_ _ _G CR LF


Display shows 12:03:35 as the time
Message is

REG:_101_12:03:35_ _ _TIME CR LF





Bi-Directional RS-232 Error Messages:

There are three single character error messages that the balance issues when certain errors occur during bi-directional
communications. Each error character is followed by CR LF.

1. ! is issued when the input buffer is full. Normally this occurs because a CR is lost or the command string is too long. The

balance has a 37 character input buffer which is sufficiently long for all valid command strings. The ! is issued as soon as the
buffer is full and is repeated after each successive character until a CR is received. In response to the CR, a ? and CR/LF is
sent and the balance input buffer is cleared.

2. : is issued when a parity, overrun, or framing error is detected by the interface since the last CR. The : is sent after the CR

ending the command string which caused the error has been received.

3. ? is issued when a syntax error occurs or when an illegal character is received or when some other procedural error is

detected. The ? is sent after the CR ending the command string which caused the error has been received.


Power up errors are not detectable over the RS-232 I/O channel. The only way to detect such errors is to attempt to communicate with
the balance and have the ability to recognize that the communication is failing. Displayed error messages are only available by polling
the balance using the SEND command. The balance would respond by transmitting the displayed error (i.e., Err 1, Err 2).

Advertising