Rice Lake 920i Programmable HMI Indicator/Controller - EtherNet/IP Interface User Manual
Page 11
520/720i/820i/920i EtherNet/IP Install & Programming Manual - Configuration Procedure
7
12. Using RSLinx
®
, configure an Ethernet driver.
13. Attempt a connection to the PLC using RSLogix 5000. (See the manual, ENET-UM001D-EN-P,
available on the Rockwell Automation website, for instructions.)
14. 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.
15. 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.
16. 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).
17. Data should begin filling the input buffer from the indicator. Initial data received will not make sense,
but data in Word 4 should change with changes in the weight applied to the scale.
18. Write the ladder or structured language code for the PLC. When data is acquired from the indicator, 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 3-3.
Figure 3-2. Ethernet Modules Display