beautypg.com

Rockwell Automation 1771-IJ_IK IK ENCODER/COUNTER MODULES User Manual

Page 43

background image

5–13

Single Transfer Programming

Publication 1771ĆUM006B-EN-P - June 2002

The following assumptions are made for this sample program:

Encoder/counter module is in I/O rack 1, module group 2.

Output control word is stored in word 051.

Preset words #1 and #2 are stored in words 052 and 053,
respectively.

The scan counter is recycled, as shown in rung 6. This allows
continuous update of the module should output values be changed
by the program.

For this example, it is assumed that the bit patterns of the output
words are set up elsewhere in the program.