Rockwell Automation 1794-ID2/B INSTALL INSTR 24v FLEX I/O 2 CHANNEL Incremental Encoder Module User Manual

Page 14

Advertising
background image

14 FLEX I/O 2-Channel Incremental Encoder Module

Publication 1794-IN063C-EN-E - February 2014

09…10

10

09

Gate Control Bits

0

0

No gate function on input G

0

1

Counting only if G is high (active)

1

0

Counting only if G is low (inactive)

1

1

The counter can be calibrated when G is high (active)

11…12

12

11

Store Control Bits - These bits will trigger a Store only if the
channel Store status bit (S0 or S1) are cleared (0).

0

0

Save counter value on positive edge of Z (if S0 or S1 = 0)

0

1

Save counter value on positive edge of G (if S0 or S1 = 0)

1

0

Save counter value on negative edge of G (if S0 or S1 = 0)

1

1

Save the counter value on the positive edge and negative edge of G

(if S0 or S1 = 0)

13

Rollover bit - When set (1), the counter counts up to the preset and then restarts at 0.
If this bit is reset (0) (not rollover), the rollover preset value is FFFF hex = 65535
decimal

14

Store Reset bit - A positive edge on this bit resets the channel Store status bit (S0 or
S1).

15

Preset Reset bit - A positive edge on this bit resets the Preset Reached (PR0 or PR1).

Decription of Control Word 2

Bit

Description

00

Filter A0 Enable bit - When this bit is set (1), and counter 0 is in mode 000 (Pulse
counting), signal A0 is filtered by a digital low pass filter with selectable constant.

01

Filter A1 Enable bit - When this bit is set (1), and counter 1 is in mode 000 (Pulse
counting), signal A1 is filtered by a digital low pass filter with selectable constant.

02…07

Reserved - set to 0

08…09

09

08

Filter Constant Bits - This constant is common to both counters

0

0

73.5 kHz or min 0.007 ms pulsewidth

0

1

37.8 kHz or min 0.013 ms pulsewidth

1

0

12.8 kHz or min 0.04 ms pulsewidth

1

1

1.2 kHz or min 0.4 ms pulsewidth

10…15

Reserved - set to 0

Description of Control Words 0 and 1

Bit

Description

Advertising