background image

8

520/920i 

EtherNet/IP Installation and Programming Manual

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 weight and status data for the specified 
scale.

Return Status and Current Weight as Integer

Command: 0, 0x000
Parameter: Scale number

Command 0 returns the status and weight of the 
specified scale in integer format, without changing the 
d i s p l a y.   T h i s   c o m m a n d   a l s o   c a u s e s   t h e  
format-independent commands to return a value in the 
integer format.

Display Channel

Command: 1, 0x001
Parameter: Scale number

Command 1 causes the weight of the specified scale to 
be displayed and returned in its current mode and 
format. This command is valid for the 

920i

 only.

Display Gross Weight

Command: 2, 0x002
Parameter: Scale number

Command 2 causes the gross weight of the specified 
scale to be displayed and returned.

Display Net Weight

Command: 3, 0x003
Parameter: Scale number

Command 3 causes the net weight of the specified 
scale to be displayed and returned.

Display Piece Count

Command: 4, 0x004
Parameter: Scale number

Command 4 causes the piece count on the specified 
scale to be displayed and returned. This command is 
valid only for the 

520

 indicator, and only if count 

mode is enabled.

Gross/Net Key Press (toggle mode)

Command: 9, 0x009
Parameter: Scale number

Command 9 toggles between gross and net mode (and 
count mode, if enabled). If a scale number other than 0 
is specified, the action may not be evident until the 
specified scale is displayed. 

Zero

Command: 10, 0x00A
Parameter: Scale number

Command 10 performs a zero operation on the 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 first causes the specified scale 
to be displayed. The tare data continues being 
returned even if the display times out and returns to 
another mode.

Enter Tare (integer)

Command: 12, 0x00C
Parameter: Scale number
Value: Tare weight

Command 12 enters a tare for the scale selected. Tare 
data must be in integer format. The indicator 
continues to return weight data in the current mode for 
the specified scale.

Acquire Tare (simulate TARE key press)

Command: 13, 0x00D
Parameter: Scale number

Command 13 acquires a tare based on the weight 
currently on the specified scale. The indicator 
continues to return weight data in the current mode for 
the specified scale.

Clear Tare

Command: 14, 0x00E
Parameter: Scale number

Command 14 clears the tare for the specified scale. 
The indicator continues to return weight data in the 
current mode for the specified scale.

Primary Units

Command: 16, 0x010
Parameter: Scale number

Command 16 switches the current format of the 
specified scale to the primary units configured for that 
scale.

Secondary Units

Command: 17, 0x011
Parameter: Scale number

Command 17 switches the current format of the 
specified scale to the secondary units configured for 
that scale.

Tertiary Units

Command: 18, 0x012
Parameter: Scale number

Command 18 switches the current format of the 
specified scale to the tertiary units configured for that 
scale, if available. This command is valid for the 

920i

only.

Units Key Press (toggle units)

Command: 19, 0x013
Parameter: Scale number

Command 19 toggles the current format of the 
specified scale to the next units configured for that 
scale, as available. 

Summary of Contents for EtherNet/ IP

Page 1: ...88537 EtherNet IP Interface for 520 and 920i Indicators Installation and Programming Manual ...

Page 2: ......

Page 3: ...y 2006 Contents About This Manual 1 1 0 Introduction 1 2 0 Installation 2 2 1 Installing the EtherNet IP Interface 2 2 1 1 Installing EtherNet IP Option in the 920i 2 2 1 2 Installing EtherNet IP Option in the 520 3 2 2 EtherNet IP Network Connections 4 2 3 LED Status Indicators 4 3 0 Commands 6 3 1 Output Command Format 6 3 2 Input Command Format 7 3 3 Command Descriptions 8 4 0 Appendix 13 4 1 C...

Page 4: ...ii 520 920i EtherNet IP Installation and Programming Manual ...

Page 5: ...yees can view or download this manual from the Rice Lake Weighing Systems distributor site at www rlws com 1 0 Introduction EtherNet IP Ethernet industrial protocol is an open industrial networking standard that allows control applications to make use of widely available Ethernet communications components and physical media EtherNet IP is based on the IEEE 802 3 Ethernet standard the TCP IP protoc...

Page 6: ...closure body Use a wrist strap to ground yourself and protect components from electrostatic discharge ESD when working inside the indicator enclosure 3 Carefully align the large connector J1 on the bus adapter card with connector J5 or J6 on the 920i CPU board Press down to seat the bus adapter card in the CPU board connector 4 Use the screws and lockwashers provided in the option kit to secure th...

Page 7: ...board see Figure 2 4 Press down to seat the option card in the CPU board connector 4 Use screws provided in the option kit to secure the other end of the option card to the threaded standoffs on the CPU board 5 Install terminal block end of cable assembly to EtherNet IP option card Figure 2 4 Option Installed 520 CPU Board 6 Remove existing cover plate 7 Re use kep nuts to secure EtherNet IP cover...

Page 8: ... State Description Green On Module has a link Off Link not sensed Table 2 1 LED 1 states using LED Configuration 1 LED 1 Color State Description Green On Module has a link Off Link not sensed Flashing Module receiving transmitting Table 2 2 LED 1 states using LED Configuration 2 1 2 3 4 Activity Module status Link status Network status LED 2 Color State Description Green Flashing at 1 Hz IP addres...

Page 9: ...ule provides diagnostic information for debugging the module itself Table 2 7 lists the indications provided by the debugging LED LED 3 Color State Description Steady off No power to module or no IP address assigned Steady green At least one EtherNet IP connection established Flashing green No EtherNet IP connections Flashing red Connection time out Steady red Duplicate IP address detected Flashin...

Page 10: ...Word Description Word 1 Command number Word 2 Parameter Word 3 Value MSW Word 4 Value LSW Table 3 1 Output Command Format 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 Table 3 2 520 920i Remote Commands 12 0x00C ...

Page 11: ...us word and the setpoint number in the high byte 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 296 0x128 Read Peak float 304 0x130 Set Setpoint Value float 305 0x131 Set Setpoint Hys...

Page 12: ...forms a zero operation on the 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 first causes the specified scale to be displayed The tare data continues being returned even if the display times out and returns to another mode Enter Tare integer Command...

Page 13: ...as Integer Command 34 0x022 Parameter Scale number Command 34 returns the tare weight value for the specified scale as an integer Return Piece Count Command 35 0x023 Parameter Scale number Command 35 returns the piece count value for the specified scale This command is valid only for the 520 indicator and only if count mode is enabled Return Current Display as Integer Command 37 0x025 Parameter Sc...

Page 14: ...mber 0 for onboard digital outputs Indicator status is returned with the current weight for the last scale specified Set Digital Output OFF Command 115 0x073 Parameter 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 last scale specified Read Digital I O...

Page 15: ...rns the net peak value for the specified scale in floating point format This command is only valid for the 520 and only if the peak hold function is enabled Set Setpoint Value as Float Command 304 0x130 Parameter Setpoint number Value Target value Command 304 sets the target value for the specified setpoint in floating point format This command is only valid if the setpoint is enabled and requires...

Page 16: ...oint format This command is only valid if the 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 floating point format This command is only valid if the setpoint is enabled and requires a preact value ...

Page 17: ... Ethernet driver 14 Attempt a connection to the PLC using RSLogix 5000 See the manual ENET UM001D EN P available on the Rockwell Automation website for instructions 15 Without a program loaded on the PLC turn the key to run Click on the RLWS EtherNet IP module in the I O Config window Another window will open that shows module properties 16 Click on Module Info and verify that Anybus S EtherNet IP...

Page 18: ... Dest DevNetIn3 0 SWPB Swap Byte Source RLWS_EthernetIP I Data 3 0 Order Mode HIGH LOW Dest DevNetIn4 0 SWPB B_Bit1 Control Bits Swap Byte Source DevNetCmd1 32 Order Mode HIGH LOW Dest RLWS_EthernetIP O Data 0 8192 SWPB SWPB SWPB SWPB Swap Byte Source DevNetCmd2 1 Order Mode HIGH LOW Dest RLWS_EthernetIP O Data 1 256 Swap Byte Source DevNetCmd3 0 Order Mode HIGH LOW Dest RLWS_EthernetIP O Data 2 0...

Page 19: ...therNetIP Params Param1 0 first field shall equal 0 path size path 0x0000 descriptor 0xC7 data type 16 bit Unsigned Integer 2 data size in bytes Output Size name units help string 0 504 16 min max default data values 0 0 0 0 mult dev base offset scaling not used 0 0 0 0 mult dev base offset link not used 0 decimal places not used Param2 0 first field shall equal 0 path size path 0x0000 descriptor ...

Page 20: ...art 2 module configuration ABC EIP IO Connection connection name Help string 20 04 24 01 2C 96 2C 64 exclusive output path 4 3 EtherNet IP Interface Specifications Power Requirements Bus Adapter Card with EtherNet IP Module DC Power Supply voltage 6 VDC supplied by 520 920i bus Typical current draw 270 mA Power consumption 1 62 W Indicators Typical AC Load 520 Power TRMS 3 51 W Current TRMS 33 7 m...

Page 21: ...used 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 been modified altered or changed by any person other than RLWS or its duly authorized repair agents RLWS will have a reasonable time to repair or replace the defective equipment Buyer is responsible for shipping cha...

Reviews: