Section 5.1
Simple Linear Counter
(10,000 Limit)
User's Manual Pub. 0300181-07 Rev. A
Programming Examples
Learning to configure your counter to meet your application requirements will
require knowledge of counter configuration, ladder logic programming and data
management. Read this chapter to familiarize yourself with how to use the
advanced features of your module. The following examples show simple counter
configurations.
This configuration for Channel 0 of the counter module allows you to count from
zero to a maximum value of 10,000 counts.
To facilitate this, you must input a Limit of 10,000 counts. This cycle will
continue without stopping, with these configuration settings.
Channel 0 - Output Register Configuration (O:e.0) Output Register
Configuration
Config. Bit
Description
*15
Normal
14
Roll Under
13
Roll Over
12
Direction
11
Count Size
10
Freq. Filter
9
Stop on Limit
8
Stop on Zero
6/7
Count Mode
4/5
Input Range
3
Rate. Mode
2
Reset Flags
1
Counter Preset
No scale factors or associated flags are used. The input range is based on your
input signal type. The filter on the input rate defaulted to 50 kHz.
Bit Setting
Description
0
Normal Mode
0
Roll to Neg. #s
0
Roll to Zero
0 (Default)
No Inversion
0 (Default)
±32K Std.
0 (Default)
50kHz
0 (Default)
No Stop
0 (Default)
No Stop
00 (Default)
Unidirectional
00 (Default)
50mV-30VAC
0 (Default)
Instant Mode
0 (Default)
Off
0 (Default)
Off
Need help?
Do you have a question about the SLC 500 and is the answer not in the manual?