Output Control
Section 3-5
49
3-5-2-2
Configuration and operation in Comparison Mode
Specifying Comparison-
Data
In Comparison Mode every Counter can be assigned up to a maximum of 8 Com-
parison Values. The Data of every Comparison Value (CV-Data) is contained by 5
double words:
• Comparison Value (can be set between 80000000
H
– 7FFFFFFF
H
for a Lin-
ear Counter and between 00000000
H
– FFFFFFFF
H
for a Circular Counter)
• Output Set Pattern for the positive counting direction (+Set Pattern CV‘n’),
specifying which Outputs must be Set on reaching that CV in the positive
counting direction (0 = No Change, 1 = Set Output)
• Output Reset Pattern for the positive counting direction (+Reset Pattern
CV’n’), specifying which Outputs must be Reset on reaching that CV in the
positive counting direction (0 = No Change, 1 = Reset Output)
• Output Set Pattern for the negative counting direction (-Set Pattern CV’n’),
specifying which Outputs must be Set on reaching that CV in the negative
counting direction (0 = No Change, 1 = Set Output)
• Output Reset Pattern for the negative counting direction (-Reset Pattern
CV’n’), specifying which Outputs must be Reset on reaching that CV in the
negative counting direction (0 = No Change, 1 = Reset Output)
To configure a Counter in Comparison Mode for every Comparison Value that you
want to use the CV-Data must be set. Each data-item is specified by two words
(=32 bits). For the exact memory location of the CV-Data, refer to section
Note
Precautions When Setting Comparison Data
• Comparison Stoppage When Comparison Target Reached
When the Counter Value reaches the target value for Comparison Data,
Comparison Value
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+Set Pattern
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Comparison Data
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+Reset Pattern
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
-Set Pattern
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
-Reset Pattern
In the +/- Set and Reset Patterns the Outputs are represented by:
= Soft Outputs 0-31
On reaching the Comparison Value:
+ and – Set Patterns:
+ and – Reset Patterns:
0 = No Change
1 = Set Output
0 = No Change
1 = Reset Output
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Содержание CJ1W-CTL41-E
Страница 2: ...i SYSMAC CJ series CJ1W CTL41 E 4 Channel Counter Unit Operation Manual Produced September 2004...
Страница 3: ...ii...
Страница 5: ...iv...
Страница 9: ...viii...
Страница 31: ......
Страница 43: ......
Страница 73: ......
Страница 119: ......
Страница 123: ......
Страница 126: ......
Страница 127: ......
Страница 131: ......
Страница 133: ...116...