Specifications
External Devices: Printers, PCs and Scales 49
7.3.5 RS-232C Data Transmission Formats
The basic data transmission string format output by the DC-788 is as follows (with a more detailed discussion of
each element below):
Status Flag:
Bit 7: Not used; always set to zero.
Bit 6: Fixed to one.
Bit 5: Not used.
Bit 4: Weight Base - 0: kg, 1: lb.
Bit 3: Unit Weight Base - 0: /1000 pcs, 1: /1 pc
Bit 2: Quantity Overflow - 0: when no overflow, 1: when overflow
Bit 1: Net - 0: when tare subtraction not performed, 1: when tare subtraction performed
Bit 0: Additional Parity Flag - 0: when additional parity flag not added in text, 1: when flag is added
Weight Condition Flag:
Bit 7: Not used; always set to zero
Bit 6: Fixed to one
Bit 5: Not used
Bit 4: Weight UF - 0: when no weight underflow; 1: when weight underflow
Bit 3: Weight OF - 0: when no weight overflow; 1: when weight overflow
Bit 2: Negative Net Weight - 0: when net weight is not negative; 1: when net weight is negative
Bit 1: Weight Stable - 0: when weight is stable; 1: when weight is not stable
Bit 0: Zero Sign - 0: when zero sign is not set; 1: when zero sign is set.
CR:
A carriage return “CR” must appear at the end of the data for each ID Code.
Header Code:
Header codes in the RS-232C data output can be turned on and off using SPC12, Bit 1 - Header Code
in Text of RS-232C (0: No; 1: Yes). For a list of the possible header codes, please see
Table 7-2.
ID Code Data:
Command ENQ Enquiry 05H
ACK Acknowledge 06H
NAK Unacknowledge 15H
Status
Flag
Weight
Condition
Flag
CR Header
Code
ID Code CR ..... CR Additional
Parity
LF
Not Used Fixed to
1
Not Used Weight
Base
Unit
Weight
Base
Quantity
Overflow
Net Additional
Parity
Not Used Fixed to
1
Not Used Weight
UF
Weight
OF
Negative
Net
Weight
Weight
Stable
Zero Sign
Table 7-2. RS-232C Codes, Headers, Fields and Commands