5 data formats, Character is, A, k, p, r, i, n, t – Rice Lake CLS-920i Cargo Lift Scale Installation Manual User Manual
Page 86

83
CLS-920i Installation Manual
10.5 Data Formats
Continuous Output Serial Data Format
If continuous transmission is configured for a serial
port (STREAM parameter set to LFT or INDUST on
the SERIAL menu), the
920i
sends data using the
Consolidated Controls serial data format shown in
Figure 10-2:
45910-XXXXXXX6/*5(/45&3.
"4$**
EFDJNBM
1PMBSJUZ
TQBDF1PTJUJWF
o/FHBUJWF
8FJHIUEJHJUT SJHIUKVTUJmFE EVNNZ
[FSPFT EFDJNBMQPJOUXJUIOPMFBEJOH
[FSPFTFYDFQUGPSMFBEJOH[FSPJNNFEJBUFMZ
QSFDFEJOHUIFEFDJNBMQPJOU-FBEJOH
[FSPFTUSBOTNJUUFEBTTQBDFT
-QPVOET
,LJMPHSBNT
5UPOT
(HSBJOT
TQBDFHSBNT
0PVODFT
((SPTT
//FU
4UBUVT
TQBDFWBMJE
**OWBMJE
..PUJPO
00WFSVOEFSSBOHF
$3-'
PS$3
Figure 10-2. Continuous Output Serial Data Format
Demand Output Serial Data Format
When demand mode is configured for the serial port
(STREAM parameter set to OFF), the
920i
uses a data
string formatted for a basic ticket printout. The
particular ticket format printed depends on the
indicator configuration.
You can customize the ticket to work with a wide
variety of printers, scoreboard displays, and other
remote equipment.
RS-485 Data Formats
Two-wire RS-485 communications is available on port
3 of the CPU board; four-wire RS-485 communications
is supported on the “A” ports of any installed serial
expansion cards.
The
920i
has a built-in RS-485 software protocol which
is enabled when you assign a non-zero address to the
indicator. Valid RS-485 addresses must be in the range
1–255; the address is specified on the ADDRESS
parameter on the SERIAL menu.
All remote commands are initiated using the data
format shown in Figure 10-3:
459"%%3&44$0.."/%$3
"4$**
EFDJNBM
"EESFTTPGUIF
SFDFJWJOHJOEJDBUPS
&%1TFSJBMDPNNBOE
/05&)PTUNVTUTFOE$3 OPU
$3-''BJMVSFUPVTF$3
SFOEFSTBMMJOEJDBUPSTVOBCMFUP
SFTQPOEUPTFSJBMDPNNBOET
"4$**
EFDJNBM
Figure 10-3. RS-485 Send Data Format
If the initiating device address matches the port address
of an
920i
on the RS-485 network, that indicator
responds. For example, with demand outputs, or in
response to a KPRINT command, the responding
indicator uses the format shown in Figure 10-4:
459"%%3&44%&."/%%"5"&59$3
"4$**
EFDJNBM
"EESFTTPGUIF
USBOTNJUUJOHJOEJDBUPS
3FTQPOTFDPNNBOETGSPN
JOEJDBUPS
mSTUMJOF&0-
BEEJUJPOBMMJOFT&0-
MBTUMJOF&0-
XIFSF&0-$3PS$3-'
TFUCZ5&3.*/QBSBNFUFSPOUIF
4&3*"-NFOV
"4$**
EFDJNBM
"4$**
EFDJNBM
Figure 10-4. RS-485 Respond Data Format
Example:
To send the KPRINT command from an
ASCII terminal to an indicator at address 65 (decimal)
on the RS-485 network, use the format shown in
Figure 10-3.
•
The keyboard equivalent for the start-of-text
(
STX
) character is
CONTROL-B
.
•
The indicator address (65) is represented by an
upper case “A”.
•
The carriage return (CR) character is generated
by pressing the
ENTER
key.
Therefore, to send the KPRINT command to the
indicator at address 65, enter the following at the
terminal:
CONTROL-B
, A, K, P, R, I, N, T,
ENTER
.
The indicator responds with the format shown in
Figure 10-4:
SCALE #1
GROSS 1699 LB
08/20/1998 10:05 AM
If continuous transmission is configured for the serial
port, the
920i
sends data using the data format shown in
3FTQPOTFDPNNBOETGSPN
JOEJDBUPS
45910-XXXXXXX
-,(/4&0-
/05&5IJTJTUIF$POTPMJEBUFE
$POUSPMTDPOUJOVPVTEBUBGPSNBU
459"%%3&44453&".%"5"&59$3
"4$**
EFDJNBM
"EESFTTPGUIF
USBOTNJUUJOHJOEJDBUPS
"4$**
EFDJNBM
"4$**
EFDJNBM
Figure 10-5. RS-485 Continuous Data Format