M0:e1 setup and control word, M0:e1 setup and control word -4, M0:e.1 bit 0 – Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 64: M0:e.1 bit 1 - enable outputs (dynamic), Bit 0 is reserved and must be reset to 0

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

4-4 Configuration and Programming

M0:e1 Setup and Control Word

M0:e.1 Bit 0

Bit 0 is reserved and must be reset to 0.

M0:e.1 Bit 1 - Enable Outputs (Dynamic)

This bit enables the Physical and Soft Outputs (O:e.0/0-7). When the
bit is logic 0, outputs are turned off regardless of the state of the
module or the Direct Output fields. You must set this bit (to 1) to
allow the module to independently control the outputs, or to allow
direct output control by the user program.

The Output Source Select field (M0:e.0/0-7) determines whether the
module or user program controls the outputs.

01 = Range
11 = Rate

0 = Linear
1 = Ring

0 = Disable Counter
1 = Enable Counter

R

0 = Increment
1 = Decrement

Setup and Control Word, Word 1

M0:e.1

Enable Outputs

Counter Hold

Bit Number (decimal)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

Soft Reset

Reset Mode

Up/Down Count Direction

Input T

ype

Function Control

Counter T

ype

Operating Mode

000 = No reset
001 = Z
010 = LS
011 = LS and Z
100 = SR
101 = SR and Z
110 = SR and LS
111 = SR, LS, and Z

0 = False
1 = True

1 = Hold

0 = Outputs OFF
1 = Outputs enabled

R

R

R

= Reserved, must be reset to 0

000 = Invalid
001 = Invalid
010 = Pulse & Direction/External Control
011 = Pulse & Direction/Internal Control
100 = Quadrature Encoder x1
101 = Quadrature Encoder x2
110 = Quadrature Encoder x4
111 = Up / Down Pulse Inputs

Enable Outputs (bit 1)

Output Status

0

Outputs are OFF

1

Outputs are enabled

Advertising