8
520/820i/920i
DeviceNet Installation and Programming Manual
Parameter value
To allow communication with a multi-scale indicator,
the scale number is sent in the second word of the
output command format. Zero (0) represents the
current scale. Certain commands require a parameter
other than a scale number, such as a slot number,
setpoint number, or other selection parameter. See the
command descriptions in Section 3.3 for specific
command requirements.
Value
The third and fourth words of the output format are
used to pass value data on certain commands. Values
entered in these words are treated as unsigned long
integers or floating-point values, depending on the
command.
3.2
Input Command Format
In response to a command, the DeviceNet Interface
returns data and status information to the master as four
16-bit words. This information is returned in the input
command format shown in Table 3-3.
The value type can be set for those commands that do
not specify integer or floating point data by sending a
command 0x000 to specify integer data or command
0x100 for floating-point data. The value type is
returned in the status word (bit 14) of the input format.
Table 3-3. Input Command Format
Word
Description
Word 1
Command number
Word 2
Status
Word 3
Value (MSW)
Word 4
Value (LSW)
Command number
The first word echoes the command number. If the
command fails or is not recognized, the negative of the
command number is returned to signal the error.
Status Data
Indicator status data is returned in the second word (see
Table 3-4). Batch commands return batch status in
place of the low byte (see Table 3-5). Setpoint
commands return batch status in the low byte of the
status word and the setpoint number in the high byte.
Table 3-4. Indicator Status Data Format
Word 2
Bit
Indicator Status Data
Value=0
Value=1
00
Error
No error
01
Tare not entered
Tare entered
02
Not zero
Center of zero
03
Weight invalid
Weight OK
04
Standstill
In motion
05
Primary units
Other units
06
Tare not acquired
Tare acquired
07
Gross weight
Net weight
08
Channel number
(NOTE: Value 0 represents scale #32)
09
10
11
12
13
Not used
14
Integer data
Floating point data
15
Positive weight
Negative weight
Table 3-5. Batch Function Status Data Format
Word 2
Bit
Batch Function Status Data
Value=0
Value=1
00
Digital input 4 OFF
(520) Error
Digital input 4 ON
(520) No error
01
Digital input 3 OFF
Digital input 3 ON
02
Digital input 2 OFF
Digital input 2 ON
03
Digital input 1 OFF
Digital input 1 ON
04
Batch not paused
Batch paused
05
Batch not running
Batch running
06
Batch not stopped
Batch stopped
07
Alarm OFF
Alarm ON
Value
Weight data is returned to the master in the third and
fourth words of the input command format, depending
on the command and the value type. The weight data
returned is the displayed weight after the command is
executed, unless the command specifies otherwise.
3.3
Command Descriptions
Note
For all commands that require a scale number,
a value of 0 indicates the current scale. Unless
otherwise specified, the indicator returns
307
0x133
Set Setpoint Preact (float)
320
0x140
Read Setpoint Value (float)
321
0x141
Read Setpoint Hysteresis (float)
322
0x142
Read Setpoint Bandwidth (float)
323
0x143
Read Setpoint Preact (float)
368
0x170
Set Register
402
0x197
Get Register
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...