
62 Rockwell Automation Publication 842E-UM001A-EN-P May 2012
Appendix B RSLogix 5000 sample code
6. Add a normally open contact and a one-shot instruction to initialize the
message instruction.
7. After you enter a value into the Preset_Value DINT and toggle the preset
contact, the message instruction presets the encoder’s current count value.
The position value is changed to the preset value you set.
Always do a Get after a Set to verify the value was changed.
Kommentare zu diesen Handbüchern