Scale indicator data output format requirements for Kahler Automation controllers that use a scale indicator to measure weight from a single scale.
Applies To
- KA-2000 Running:
- 2000kpd
- 2000ps
- 2850ps
- 2854ps
- 2866ps
- 2871ps
- BW-200
- SEEDps
- KA-2025
Solution
The controllers listed in the Applies To section require a connection to the scale indicator using an RS-232 serial connection with the following configuration:
- Baud: 1200, 9600, or 19200 baud
- Data Bits: 8
- Parity: None
- Stop Bits: 1
In addition to RS-232, the KA-2025 also supports connectivity via Ethernet using a Digi serial-to-Ethernet bridge. The Ethernet connectivity option is not intended to be used to communicate with scale indicators directly (i.e., without the Digi serial-to-Ethernet bridge).
The scale indicator must continuously transmit (i.e., stream) data in the Rice Lake Stream Data Format at least every 100 ms (10 Hz):
<STX><POL><wwwwwww><UNIT><G><S><TERM>
<STX> | Start of frame | ASCII 02 decimal |
<POL> | Polarity |
ASCII 32 decimal (Space) = Positive ASCII 43 decimal (+) = Positive ASCII 45 decimal (-) = Negative |
<wwwwwww> | Weight |
7 digits, right-justified, dummy zeroes, decimal point with no leading zeroes except for leading zero immediately preceding the decimal point. Leading zeroes transmitted as spaces |
<UNIT> | Unit |
ASCII 76 decimal (L) = Pound ASCII 75 decimal (K) = Kilogram ASCII 84 decimal (T) = Ton ASCII 79 decimal (O) = Ounce |
<G> | Gross |
ASCII 71 decimal (G) = Gross Weight |
<S> | Status |
ASCII 32 decimal (Space) = Valid ASCII 73 decimal (I) = Invalid ASCII 77 decimal (M) = Motion ASCII 79 decimal (O) = Overrange ASCII 90 decimal (Z) = Center of Zero |
<TERM> | End of frame |
ASCII 13 decimal and ASCII 10 decimal or ASCII 13 decimal |
Example
<STX> 20LG <CR>