Defining a Rockwell Logix unsolicited message using RSLogix 5000

The following section describes defining a Rockwell Software RSLogix 5000 by adding a rung of a ladder and configure a message instruction that will trigger an event in the Rockwell driver. To add a message structure to the global tag space, do the following:

  1. Create a rung of a ladder to send the message instruction. For more information on creating a ladder, see Logix 5000 Controllers Messages

  2. On the Configuration tab, click on the button next to the message name

    A dialog box appears

    The Rockwell driver supports two message types:  CIP Generic or CIP Data Table Write. The driver also supports the Write Tag Fragmented message type, which the Logix PLC will send if the size of the data payload for a CIP Data Write message exceeds approximately 500 bytes. The configuration panel shown above is for a CIP Generic message type. The Rockwell driver supports three CIP Generic Service Types:  Set Attribute Single, Get Attribute Single, and Custom. The panel above shows the fields associated with the definition of the Set Attribute Single Service Type. The next section will provide detail on the values that should be entered into this panel for each Message Type / Service Type that the Rockwell driver supports.
  3. Click on the Communication tab

    Do the following:
    1. The Path should be set to the proper path to reach the node that contains the trigger to execute. In general, the path will be first to the Ethernet module in the rack, then 2 (for Ethernet), and the IP address of the node.
      For example:
      LocalENB, 2, 192.168.5.243
      where:
      • LocalENB is the name assigned to the Ethernet module in the PLC rack.
      • 2 indicates that the next path is an Ethernet route.
      • 192.168.5.243 is the IP address of the node.
        Refer to your RSLogix 5000 documentation for more information.
        The message will be routed to port 44818, which is the default CIP port. If the Rockwell Logix Unsolicited Listener is listening on a port other than 44818, the port must be specified in the Path field. To specify the port, append the colon character ( : ) followed by the port number, to the path. For example: LocalENB, 2, 192.168.5.243:49313 where 49313 is the port the Rockwell Logix Unsolicited Listener has opened to receive messages.
        When using the L84 CPU, the message will be sent using the built-in Ethernet port, the communication path is shortened because the Ethernet module is not referenced. For Example: 2, 192.168.5.243. A port is specified in situations where the Rockwell Logix Listener is receiving messages on a port other than 44818. For Example 2, 192.168.5.243:49313
    2. The Connected check box is optional. If selected, a CIP connection will be opened before sending the message.
    3. Large Connection - The standard CIP connection allows messages with up to 500 bytes of data. A CIP Large Connection may be used to allow up to 3980 bytes of data. To use Large messages with a ControlLogix controller, the following are required:
      • 1756-EN2T(R) or 1756-EN3TR modules at revision 5.x and higher for sockets support.
      • Logix Designer application, version 21.00.00 or later, or RSLogix 5000 software, version 20.00.00 or later.
      • The Large Connection and Connected check boxes must be checked, as shown below: