beautypg.com

Spectrum Controls 1756sc-CTR8 User Manual

Page 39

background image

Chapter 5: Channel Configuration, Data, and Status

29

Configuration Tags

The following Global Module Settings and Channel Specific Settings
sections allow custom configuration of the module. These tags can be
found within the CTR8_config controller tags.

Channel Specific

Settings

[x] designates the channel number
(C) designates the value may be changed during module operation

CountLimit[x]

0 - 16777215 FLOAT

(C)

Designates the channel rollover value. The maximum value is 1677215
when scaling is off. When scaling is applied the maximum value is
1677215/K*M.

Preset[x]

0 - 16777215 FLOAT

(C)

Designates the channel preset value. Module begins counting at this value.
IMPORTANT: This value cannot be greater than the rollover value. The
maximum value is 1677215 when scaling is off. When scaling is applied the
maximum value is 1677215/K*M.

RateSamplePeriod[x]

0-2000

INT

When using period/rate mode, set this value as a multiple of 10ms between
0 and 2000. This becomes the integration time over which rate data is
averaged.

OperationalMode[x]

0,1

INT

Designates channel operational mode.
0 = unidirectional counter mode (Up)
1 = bidirectional counter mode (Up / Down)
2 = encoder X1 mode
3 = encoder X4 mode

Note: Channels must be configured in pairs. (0,1) (2,3) (3,4) (4,5) (5,6) (6,7)

Input configurations determine how the 8 inputs cause the counter to
increment or decrement. The four available configurations are:

• Uni-Directional (up)

• Bi-Directional (up and down using two channels)

• X1 Quadrature Encoder

• X4 Quadrature Encoder