A&D GP-30KS Building Set User Manual


 
82
16-2 Acknowledge Code and Error Codes
When the “Serial interface function (5if)” parameter is set to “erCd 1”, the balance outputs <AK>
code or error code to 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.
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)
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.
16-3 Control Using CTS and RTS
Depending on the “Ct5 parameter of “Serial interface (5if)”, the balance performs as follows:
Ct5 0
Regardless of whether the balance can receive a command or not, the balance keeps the CTS line
HI. The balance outputs data regardless of the condition of the RTS line.
Ct5 1
The CTS line is kept Hi normally. When the balance can not receive the next command (e.g. while
the balance is processing last command), the balance sets the CTS line to Lo. The balance confirms
the level of the RTS line before outputting a set of data. If the RTS level is Hi, the balance outputs
data. If the RTS level is Lo, data is not output (The data is canceled).
16-4 Settings Related to RS-232C
Concerning the RS-232C, the balance has two functions: “Data output (dout)” and “Serial interface
(5if)”. Set each function as necessary.