background image

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

Страница 1: ...69949 Rev A DeviceNet Interface for 520 720i 820i and 920i Indicators Installation and Programming Manual...

Страница 2: ......

Страница 3: ...Net Key Press toggle mode 9 Zero 9 Display Tare 9 Enter Tare integer 9 Acquire Tare simulate TARE key press 9 Clear Tare 9 Primary Units 9 Secondary Units 9 Tertiary Units 9 Units Key Press toggle uni...

Страница 4: ...eight as Float 12 Read Tare as Float 12 Read Piece Count as Float 12 Read Current Display as Float 12 Read Accumulator as Float 12 Read Rate of Change as Float 12 Read Peak Value as Float 12 Set Setpo...

Страница 5: ...w ricelake com 1 0 Introduction The DeviceNet Interface returns weight and status information from a 520 720i 820i or 920i indicator to a master controller and provides limited control of indicator fu...

Страница 6: ...or models with backplates place indicator face down on an antistatic work mat Remove screws that hold the backplate to the enclosure body Use a wrist strap to ground yourself and protect components fr...

Страница 7: ...rap to ground yourself and protect components from electrostatic discharge ESD when working inside the indicator enclosure 3 Carefully align the large option card connector with connector J2 on the CP...

Страница 8: ...SHIELD Cable shield Bare CAN_L CAN_L bus line Light blue V Negative supply Black 2 3 DIP Switch Configuration A DIP switch is used to configure the DeviceNet network baud rate and node address Figure...

Страница 9: ...FF OFF ON ON OFF OFF 44 54 ON OFF ON ON OFF OFF 13 15 OFF OFF ON ON OFF ON 45 55 ON OFF ON ON OFF ON 14 16 OFF OFF ON ON ON OFF 46 56 ON OFF ON ON ON OFF 15 17 OFF OFF ON ON ON ON 47 57 ON OFF ON ON O...

Страница 10: ...2 Network Status Off Not powered or not online Steady Red Critical link failure Flashing Red Connection time out Flashing Green Online not connected Steady Green Online connected LED 3 Module Status...

Страница 11: ...ation 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 tog...

Страница 12: ...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...

Страница 13: ...current scale Display Tare Command 11 0x00B Parameter Scale number Command 11 causes the tare weight on the specified scale to be displayed If a scale number other than 0 is specified the indicator fi...

Страница 14: ...ter Scale number Command 33 returns the net weight value for the specified scale as an integer Return Tare as Integer Command 34 0x022 Parameter Scale number Command 34 returns the tare weight value f...

Страница 15: ...r Slot number Value Bit number Command 115 sets the specified digital output OFF inactive Use slot number 0 for onboard digital outputs Indicator status is returned with the current weight for the las...

Страница 16: ...scale in floating point format This command is only valid for the 820i or 920i Read Peak Value as Float Command 296 0x128 Parameter Scale number Command 296 returns the net peak value for the specifie...

Страница 17: ...e setpoint is enabled and requires a bandwidth value Read Setpoint Preact as Float Command 323 0x143 Parameter Setpoint number Command 323 returns the preact value for the specified setpoint in floati...

Страница 18: ...Current TRMS 28 9mA 920i Power TRMS 2 18 W Current TRMS 28 9 mA Communications Specifications DeviceNet Network Communications Twisted pair cabling at 125 250 or 500 Kbps Update rate is dependent on...

Страница 19: ...d was not caused by accident misuse neglect alteration improper installation improper repair or improper testing RLWS shall be the sole judge of all alleged non conformities Such equipment has not bee...

Страница 20: ...16 520 820i 920i DeviceNet Installation and Programming Manual...

Страница 21: ...Rice Lake Weighing Systems August 7 2013 PN 69949 Rev A...

Отзывы: