How do I configure a ControlLogix message to a PLC-5 processor over Ethernet?
For communications between the ControlLogix and PLC-5, it's easier to execute the message on the ControlLogix side. This is because there is no tag mapping required, and the RSLogix 5000 software has predefined choices for the type of PLC-5 message.
- PLC5 Typed Read
- PLC5 Typed Write
- PLC5 Word Range Read
- PLC5 Word Range Write
NOTE: The allowable data types for PLC5 type read/write from ControlLogix are: B, F, N, S, ST
The following is an example focuses on setting up a single message. Knowledgebase
AID 39998 - How to manage multiple un-cached messages in ControlLogix for details on how to sequence multiple messages in order to avoid filling up the ControlLogix unconnected buffer.
- First open a RSLogix 5000 project and add a MSG instruction. Right click the "?" (Question Mark), and create a new
MESSAGE
control tag for it. We named the control tag Message1
and inserted the normally closed XIO with the .EN bit to run this message continuously.
- Now, click the ellipse to enter the message setup dialog. In this example we will use the
PLC-5 Typed Read
message.
The MSG above is configured to read an integer value from the PLC-5. It's going to read the first element in data table register N7:0 and place the value into an integer tag named
My_INT_Tag
within the ControlLogix.
- Once the Configuration tab is completed, proceed to the Communication tab. The path describes the route the message takes to get to the destination. It uses either names from the I/O configuration, numbers you type, or both:
- When building your message path, use the following as a guideline to simplify your task: All paths are of the following form: x , y
- Where x is the port or direction you want to transmit out of. (This could be the port to the Backplane, Ethernet, ControlNet, Serial Port, or DH+.)
- And where y is the next address to send to depending upon the media. (This could be a slot number, IP address, ControlNet node, serial address, or DH+ node address.)
The example below is derived as follows:
-
1 indicates the port of the Controller for direction to the Backplane.
-
1 indicates the next address or slot number of the Ethernet module in the local chassis.
-
2 indicates the port of the Ethernet module for direction out on the Network.
-
192.168.1.2 is the next address on the network which is the IP address of the PLC-5.
Since the Ethernet channel is built directly into the PLC-5 this is as far as the path needs to go.
- Keep the default Communication Method at CIP. This means the ControlLogix will encapsulate the data into CIP packets and send it that way. Because of the encapsulation, the PLC-5 firmware needs to be of a certain revision to decode the packets once received. If not, the message will error. Minimum revisions are below:
PLC-5
- Series E, revision D.1 and higher
- Series D, revision E.1 and higher
- Series C, revision N.1 and higher
- All Series F
1785-ENET (Sidecar)
- Series B, any revision
- Series A, revision D and higher
The Series is based on the circuit board design and will remain the same. The Revision can be updated by contacting your local Rockwell Automation distributor and ordering firmware updates. Firmware update kits typically consist of a software flash and new EPROM's to be installed.
Source: http://rockwellautomation.custhelp.com/app/answers/detail/a_id/66899