Rockwell Automation 842E EtherNet/IP Absolute Encoder User Manual User Manual

Page 71

Advertising
background image

Rockwell Automation Publication 842E-UM001A-EN-P May 2012

63

RSLogix 5000 sample code

Appendix B

Using an explicit message
configuration to read preset
encoder value

1.

Create a new message data type named Read_Preset and a DINT named
Preset_Value_Read.

2.

Add a new MSG instruction to the program and browse to the
Read_Preset data type created in step 1. Then double-click the gray box on
the message instruction to configure it.

Advertising