Rockwell Automation 842E EtherNet/IP Absolute Encoder User Manual User Manual
Page 68
Advertising
![background image](/manuals/577370/68/background.png)
60
Rockwell Automation Publication 842E-UM001A-EN-P May 2012
Appendix B RSLogix 5000 sample code
2.
Add a new MSG instruction to the program and browse to the
Preset_Message
data type created in step 1. Then double-click the gray
box on the message instruction to configure it.
3.
Use the Position Sensor Object to find the values you want to use to send
an explicit message. In the Configuration tab select:
Message type: CIP generic
Service type: Set attribute single
Service code: (Automatically populated)
Source element: Preset_value (browse to this tag).
Source length: 4
Instance: 1
Class: 23*
Attribute: 13*
*hexadecimal values
Advertising