0 data formatting, 1 weight data formats, 1 data format tokens – Rice Lake iQUBE2 Digital Diagnostic Junction Box User Manual
Page 57: Data formatting, Data format tokens
Data Formatting
53
7.0
Data Formatting
7.1
Weight Data Formats
The following data formats are available for the iQUBE
2
: Each of the listed formats can be customized to suit the
application. The length of a format string is limited by the length of a serial input value at 128 characters.
7.1.1 Data Format Tokens
Table 7-2. Data Format Tokens
Identifier
Default Format
FMT1 (default gross format)
Scale<SC>:<CR><LF>Gross<TAB><G><CR><LF>
FMT2 (default net format)
Scale<SC>:<CR><LF>Gross<TAB><G><CR><LF>Net<TAB><N><CR><LF>
Tare<TAB><T><CR><LF>
FMT3 (default polling format)
<SC><POL><W7.><T7.><UNIT><G/N><S><D>
FMT4 (default streaming format)
<STX><POL><W7.><UNIT><G/N><S><CR><LF>
FMT5
<SC><POL><W7.><UNIT><G/N><S> | <T7.> |
FMT6
<SC><POL><W7.><UNIT><G/N><S><D> DIO:<DIO><CR><LF>
Table 7-1.
iQUBE
2
Data Formats
Token
Description
<CN>
Consecutive number
DO NOT USE FOR STREAMING/POLLING
<CR>
Carriage return character
<D>
Diagnostic event flag character (see Table 7-4
on page 54)
<DA>
Date
DO NOT USE FOR STREAMING/POLLING
<ETX>
End of text character
<G>
Gross weight, primary units
<G/A>
Gross weight, secondary units
DO NOT USE FOR STREAMING/POLLING
<G/N>
Weighing mode (gross or net)
<LF>
Line feed character
<N>
Net weight, primary units
<N/A>
Net weight, secondary units
DO NOT USE FOR STREAMING/POLLING
<NL>
New line character
<NLnn>
New line characters (1–99)
<POL>
Weight polarity
<S>
Status flag (see Table 7-3 on page 54)
<SCn>
Scale number (1–5)
<SP>
Space character
<SPnn>
Space characters (1–99)
<STX>
Start of text character
<SU>
Toggle weight data format (formatted/
unformatted)
<T>
Tare weight, primary units
<T/A>
Tare weight, secondary units
DO NOT USE FOR STREAMING/POLLING
<T5.>
Tare weight, 5-digit width
<T6.>
Tare weight, 6-digit width
<T7.>
Tare weight, 7-digit width
<T8.>
Tare weight, 8-digit width
<TAB>
Tab character
<TABnn>
Tab characters (1–99)
<TD>
Time and date
DO NOT USE FOR STREAMING/POLLING
<TI>
Time
DO NOT USE FOR STREAMING/POLLING
<UNIT>
Weight unit character (see Table 7-3)
<W5.>
Weight, 5-digit width
<W6.>
Weight, 6-digit width
<W7.>
Weight, 7-digit width
<W8.>
Weight, 8-digit width
<nnn>
ASCII character code
Token
Description