Rockwell Automation 1794-IP4 Series B FLEX I/O PULSE COUNTER User Manual User Manual

Page 38

Advertising
background image

3–7

Programming Your Pulse Counter Module

Publication 1794ĆUM016B-EN-P - August 2002

Program Action

BTR ERROR BIT

B3:0

12

BTR ENABLE BIT

B3:100

15

MOV

MOVE
SOURCE

DEST

B3:100

M0:1.100

1000000010000000

0011

This BTW control word is moved to the M0 file

for the scanner module while the BTW is 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

BTW CONTROL

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