
Appendix
13
4.0
Appendix
4.1
Configuration Procedure for 920i and PLC
The following steps describe a typical procedure used to configure EtherNet/IP for a
920i
controller and a PLC.
This example uses the CompactLogix L32E controller with RSLogix
™
5000 software, both from Rockwell
Automation
®
.
1
1. Use
iRev
to configure the scales and scale capacities for the
920i
.
2. Calibrate each scale and load any custom program required.
3. Power down the
920i
. Install the EtherNet/IP option card (PN 87803). Write down the MAC address
shown on the back of the card.
4. Connect the EtherNet/IP option card to the network.
5. Use the MAC address on the back of the Anybus card to assign an IP address for the EtherNet/IP card.
The IP address can be assigned using the ARP function in DOS.
6. Use DOS to
PING
the EtherNet/IP card.
7. If the
PING
is successful, begin configuring the PLC.
8. Load RSLogix 5000 onto the same PC running
iRev
.
9. Load RSLinx and configure and DH+
™
driver.
10. Use the RS-232 connector to connect the PC to the PLC.
11. Configure the I/O Configuration outlined in the RSLogix manual (1769-UM011E-EN-P, available on the
Rockwell Automation website,
www.rockwellautomation.com
).
12. Use the
Generic Ethernet Module
to add the
920i
with EtherNet/IP to the I/O configuration; assign a name.
13. Using RSLinx
®
, configure an 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 is shown as the
Product Name
. If so, the PLC
is communicating with the EtherNet/IP card.
17. Close the Module Info window, then open Controller Tags and verify the three tags assigned for this
module. For example, if the name assigned to the module was
RLWS_EthernetIP
, listed tags should include
RLWS_EthernetIP:I
(input buffer),
RLWS_EthernetIP:O
(output buffer), and
RLWS_EthernetIP:C
(control buffer).
18. Data should begin filling the input buffer from the
920i
. Initial data received will not make sense, but
data in Word 4 should change with change made in the weight applied to the scale.
19. Write the ladder or structured language code for the PLC. When data is acquired from the
920i
, a SWPB
(swap bits) instruction is required to swap the upper and lower bytes for all four outbound words. Data
received must also use the SWPB instruction to swap inbound words. By using the SWPB instruction,
words can be MOVEd to a destination tag then treated as real values elsewhere in the PLC program. See
Figure 4-1 on page 14.
1.
Rockwell Automation
®
, RSLogix
™
5000, RSLinx
®
, and DH+
™
are all trademarks of Rockwell Automation, Inc
.