Rockwell Automation 1794-ID2 U.MNL INCREMENTAL ENCODER User Manual

Page 43

Advertising
background image

3–7

Programming Your Incremental Encoder Module

Publication 1794ĆUM015B-EN-P - May 2001

Program Action

BTR ERROR BIT

B3:0

12

BTR ENABLE BIT

B3:100

15

MOV

MOVE
SOURCE

DEST

B3:100

M0:1.100

00000001000000<

0011

This BTWcontrol word is moved to the M0 file

for the scanner module while the BTWis in

progress until the enable, done and error bits

are turned off.

?<

BTR DONE BIT

B3:0

13

BTR CONTROL

BTW ERROR BIT

B3:10

12

BTW ENABLE BIT

B3:110

15

MOV

MOVE
SOURCE

DEST

B3:110

M0:1.200

0012

?<

BTW DONE BIT

B3:10

13

BTWCONTROL

This BTR control word is moved to the M0 file

for the scanner module while the BTR is in

progress until the enable, done and error bits

are turned off

0013

END

00000000000000

Advertising