Computer Communication
Technical Handbook
019722-101 Rev. 05
84
SC-350/360
12.12 Setting a New Batch Quantity
Revision 1.xx of the protocol:
The computer sends the new batch quantity value as a 16-bit number.
The machine reads this as a temporary batch quantity. Batch
counting is disabled if the batch quantity value is zero.
Revision 2.xx of the protocol:
The computer sends the new batch quantity value as a 32-bit number.
The machine reads this as a temporary batch quantity. Batch
counting is disabled if the batch quantity value is zero.
Normally, batch quantities over 60,999 are rounded to 60,999. If the
machine is set-up for batch quantities in steps of 1,000, all batch
quantities are rounded to nearest smaller thousand, for example
250,600 is rounded to 250,000. Batch quantities over 1099,000 are
rounded to 1099,000.
Computer (PC)
SC-350/360
–––––––>
ESC
–––––––>
“W”
–––––––>
“L”
–––––––>
BatchLimitRegister (BLR)
–––––––>
(“W” + “L” + BLR ^ FF00
16
+ BLR ^ FF
16
) ^ FF
16
<–––––––
ACK (if check sum is correct) or
NAK (if check sum is incorrect)
Computer (PC)
SC-350/360
–––––––>
ESC
–––––––>
“W”
–––––––>
“L”
–––––––>
BatchLimitRegister (BLR)
–––––––>
(“W” + “L” + BLR ^ FF00,0000
16
+ BLR ^ FF,0000
16
+
BLR ^ FF00
16
+ BLR ^ FF
16
) ^ FF
16
<–––––––
ACK (if check sum is correct) or
NAK (if check sum is incorrect)