Communications Manual Rev 3.10 Software Versions 3.xx
003R-618-310
Page 11
3. Getting Started
This section gives a brief introduction to using the COMM protocol on the instrument. The
examples below use the broadcast address and assume that a PC is connected to the
RS-232 port as described in RS-232 Connection page 7. The indicator is assumed to be
at address 01.
From K302 software revision V3.82+, the instruments can be installed in a Ring Network,
see §3.7 below.
3.1. Using Viewer
• Start Viewer.
• Connect to the indicator.
• Select the Test page.
• Clear the Use STX,ETX box.
• The examples listed in this section may be entered directly in the edit box at the
top left of the screen.
• Press the Send button or press the ENTER key to send a command to the
indicator. The command that is sent is shown on the terminal screen after the
symbols >>>.
Note: The
symbol below indicates <CR><LF>. Using ViewR300, this is
generated by pressing Send.
3.2. COMM Protocol Summary
NOTE: The values used with the Read Final and Write Final commands are
hexadecimal. Refer to Table 7: Decimal, Binary and Hexadecimal Conversion page
42 for information on conversions.
Figure 6 lists registers and commands for performing common tasks on the
instrument.
Address Field
20 mm rrrr :
optional_value
Read Literal Value 05
Read Final Value 11 Value to write (in hexadecimal)
Commands
Write Final Value 12
Gross Weight 0026
Net Weight 0027
Setpoint1 - Type 0170
Setpoint1 - Source 0171
Setpoint1 - Target 0172
Key Press 0008
System Status 0021
Registers
System Error 0022
Figure 6: Commonly used Registers and Commands