Commands
7
3.0
Commands
Commands are used by the DeviceNet master device to
send and receive data from the DeviceNet Interface as
integer or floating-point data. The master sends eight
bytes in the output format (used to write commands to
the indicator) and reads eight bytes in the input format
(used to read data from the indicator).
Decimal Point Handling
Integer commands return no decimal point information
to the master. For example, a value of 750.1 displayed
on the indicator is returned to the master as 7501.
Floating point commands support decimal point
information with no special handling.
3.1
Output Command Format
To perform a command, the master uses the output
command format to send four 16-bit words to the
DeviceNet Interface. These four words contain the
command and any parameters necessary to execute it.
The output command format is shown in Table 3-1.
Table 3-1. Output Command Format
Word
Description
Word 1
Command number
Word 2
Parameter
Word 3
Value (MSW)
Word 4
Value (LSW)
The contents of each output command format word are
described below:
Command number
The number representing the indicator command is
sent in the first word. Table 3-2 lists the commands that
can be specified for
520
,
720i
,
820i
, and
920i
indicators.
Note
A lockout feature that looks for any change in
the output format data is incorporated into the
indicator receive mechanism to prevent
inundation by the same command. Repeated commands
must be separated by any other valid
command/parameter/value combination.
Decimal
Hex
Command
0
0x000
Return Status and Weight (integer)
1
0x001
Display Channel
2
0x002
Display Gross Weight
3
0x003
Display Net Weight
4
0x004
Display Count
9
0x009
Gross/Net key press (toggle)
10
0x00A
Zero
11
0x00B
Display Tare
12
0x00C
Enter Tare
Table 3-2.
520
/
720i
/
820i
/
920i
Remote Commands
13
0x00D
Acquire Tare
14
0x00E
Clear Tare
16
0x010
Primary Units
17
0x011
Secondary Units
18
0x012
Tertiary Units
19
0x013
Units key press (toggle units)
20
0x014
Print Request
21
0x015
Display Accumulator
22
0x016
Clear Accumulator
23
0x017
Push Weight to Accumulator
32
0x020
Return Gross (integer)
33
0x021
Return Net (integer)
34
0x022
Return Tare (integer)
35
0x023
Return Count
37
0x025
Return Current Display (integer)
38
0x026
Return Accumulator (integer)
39
0x027
Return Rate of Change (integer)
40
0x028
Return Peak (integer)
95
0x05F
Set Batching State
96
0x060
Batch Start
97
0x061
Batch Pause
98
0x062
Batch Reset
99
0x063
Batch Status
112
0x070
Lock Indicator Front Panel
113
0x071
Unlock Indicator Front Panel
114
0x072
Set Digital Output ON
115
0x073
Set Digital Output OFF
116
0x074
Read Digital I/O Status
128
0x80
Enable Bus Command Handler
253
0x0FD
No operation
254
0x0FE
Reset Indicator
256
0x100
Return Status as Weight (float)
268
0x10C
Set Tare (float)
288
0x120
Read Gross (float)
289
0x121
Read Net (float)
290
0x122
Read Tare (float)
291
0x123
Read Piece Count (float)
293
0x125
Read Current Display (float)
294
0x126
Read Accumulator (float)
295
0x127
Read Rate of Change (float)
296
0x128
Read Peak (float)
304
0x130
Set Setpoint Value (float)
305
0x131
Set Setpoint Hysteresis (float)
306
0x132
Set Setpoint Bandwidth (float)
Decimal
Hex
Command
Table 3-2.
520
/
720i
/
820i
/
920i
Remote Commands
Содержание DeviceNet Series
Страница 2: ......
Страница 20: ...16 520 820i 920i DeviceNet Installation and Programming Manual...
Страница 21: ...Rice Lake Weighing Systems August 7 2013 PN 69949 Rev A...