beautypg.com

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

Page 46

background image

6–2

Block Transfer Programming

Publication 1771ĆUM006B-EN-P - June 2002

Figure 6.1

Control Word Ć Block Transfer Mode

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00

BIT

01

BIT

00

FUNCTION

Count.

0

0

0

1

1

0

1

1

Reset and hold the accumulated

count at 000.

Return the accumulated count to

000 and begin counting

immediately.

Invalid, module executes previously

programmed function.

Table Function Control Bits

Bits 00Ć01 Function

Control (See Table)

Bit 03, Up/down

1 = count up

0 = count down

(Significant in counter mode only)

Bit 02, Enable outputs

1 Ć Enable

0 Ć Disable

Bit 04, Home Latch Enable

1 Ć Enable

0 Ć Disable

Bits 05Ć17, Not used.

May have any setting

15960

Bit 04 is the home latch enable bit.

The module resets the count to zero when all three of the following
conditions are true:

Home latch enable bit (bit 04) is set to 1.

Marker input is high.

Home limit switch is closed (limit switch LED is on).

The count remains at zero until one or more of these conditions go
false. Then module operation follows the function control bits
described in Figure 6.1.