2 acknowledge code and error codes – Rice Lake GF Series, A&D Weighing User Manual

Page 65

Advertising
background image

63

Commands to control the comparator function

HI:

∗∗∗. ∗∗ g

Sets the upper limit value. e.g.,HI:+2.34 g (to set the upper limit
value to 2.34 g: represents a space.)

LO:

∗∗∗. ∗∗ g

Sets the lower limit value. e.g.,LO:+1.23 g (to set the lower limit
value to 1.23 g: represents a space.)

?HI

Outputs the upper limit value.

?LO

Outputs the lower limit value.

Notes

“nnn” and “mm” indicate, respectively, three-digit and two-digit numerical values.

E

SC

: 1Bh in ASCII code

Before transmitting a command, add the terminator (<CR><LF> or <CR>), that is specified in

the “Terminator (Crlf)” parameter of “Serial interface (5if)” in the function table, to the
command.

To use a command to control the comparator function, set the “Input method (Cpin)” parameter to “0” or

1”.

18-2 Acknowledge Code and Error Codes

When the “Serial interface function ( 5if )” parameter is set to “erCd 1”, the balance outputs <AK>

code or an error code for each command as follows:

<AK> (06h)

Acknowledge in ASCII code.

When the balance receives a command to request data and can not process it, the balance

transmits an error code (EC, Exx).

When the balance receives a command to request data and can process it, the balance

outputs the data.

When the balance receives a command to control the balance and can not process it, the

balance transmits an error code (EC, Exx).

When the balance receives a command to control the balance and can process it, the balance

transmits the acknowledge code.

When a communication error has occurred due to external noise, or a parity error has

occurred due to transmission error, the balance transmits an error code. In this case, send the
command again.

Among commands to control the balance, the following transmit the acknowledge code both

when the balance receives the command and when the balance has accomplished the
command. If the command can not be processed properly, the balance transmits an error code
(EC, Exx). This error can be released using the CAL command.

CAL command (Calibration command)

ON command (Display ON command)

P command (Display ON/OFF command)

R command (RE-ZERO command)

TR command (Tare command)

Advertising