AHC/QHC series technical manual
7. RS232 PROTOCOL
The AHC/QHC Series of scales can be ordered with an option RS-232 output.
Specifications:
RS-232 output of weighing data
ASCII code
4800 Baud
8 data bits
No Parity
Connector: 9 pin socket
Pin 2 Output
Pin 3 Input
Pin 5 Signal Ground
Commands:
Z<cr><If> To set the scale to Zero (already works)
T<cr><If> To Tare the scale (already works)
C<cr><If> To Clear the value
T5465<cr><lf> To Tare, for example the weight of 5,465kg
U9,608446<cr><lf> To Transmit, for example the unit weight of 9,608446
P10<cr><lf> To Transmit the amount of for example 10 peaces on the platform
and start the sampling process
M+<cr><If> To add the present weight with its number of pieces to the memory
MC<cr><If> To clear the Memory
S<cr><lf> The scale will only start the continuous transmission after receiving the
start command. If the start command is not repeated within 30 Seconds the
continuous transmission will stop until the next start command comes.
Communication:
T.NO. N<CR><LF>
Here the scale should always transmit the number of accumulations stored in the
memory
T.WGT. N kg<CR><LF>
Here the scale should always transmit the accumulated weight in the memory
T.PCS. N pcs<CR><LF>
Here the scale should always transmit the accumulated amount of pieces in the
memory.
The following example shows the protocol under the following conditions:
The 1. package shows the empty scale after the unit weight has been calculated
The 2. package shows the scale after 20 pieces have been loaded
Now the software sends the command M+ for accumulation
The 3. package shows the accumulated values in the memory and the loaded scale
The 4. package shows the accumulated values in the memory and the empty scale
The 5. package shows the accumulated values in the memory and the reloaded scale
Now the software sends the command M+ for accumulation