beautypg.com

Figure 4.2 - configuration word settings – Spectrum Controls 1746sc-CTR4 User Manual

Page 29

background image

Chapter 4: Channel Configuration, Data, and Status

29

Figure 4.2 - Configuration Word Settings

Scale / Limit Mode

Roll under to

Roll over to

Directrion

Count Size

Filter

Stop in Limit

Stop on Zero

Count Mode

Input Range

Rate Mode

Reset Flags

Preset

Counter Enable

0 = Instant

1 = Average

0 = Start

1 = Stop

0 = Off

1 = On

00 = AC

01 = 5 V

10 = 12V

11 = 24V

0 = Normal

1 = Reset

00 = UniDirect

01 = BiDirect

10 = Quad x1

11 = Quad x4

0 =Normal

1 = Program

0 = Neg

1 = Preset

0 = Zero

1 = Preset

0 = Normal

1 = Inverted

0=Standard

1=Extended

0 = 50kHz

1 = 30kHz

0 = Off

1 = On

0 = Off

1 = On

Address

Channel 0 Configuration Word

O:e.x

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Counter Start/Stop: (Configuration Bit 0)

This bit allows the counter to continue to count up or down from its
present value.

Note: Starting or enabling the counter with this bit will not override the
external counter enable input. The external input enable and the counter
start bit must both be enabled for the counter to continue counting. If
either the counter stop bit or the external input enable line are disabled
the counter will hold it’s last value and stop counting.

Counter Preset: (Configuration Bit 1)

When this bit is set, the value in counter preset word is loaded into the
counter. The counter preset can be used to set the counter to an initial
starting value. The bit should be set for at least 2 I/O scans. The bit can
be held on until the data in the counter data is verified to be equal to the
preset value. The counter will hold the preset value until the counter
preset bit is turned off. At this time normal counter functions will resume.

Note: A Counter Reset function is achieved by using the Counter
Preset, when the preset value is set to zero.

Refer to the Preset and Limit Data Value Configuration section for more
information about loading your preset value.