0)&*'#"-CD4#+
Section 3-2
(-
Presetting a Simple
Counter
The Unit is equipped with a Preset Register that contains the Preset Value for
every (Simple) Counter. To change the Preset Value you can change the Preset
Value in CIO of the corresponding Counter. The Counter Value is overwritten with
the Preset Value at a rising edge of the Preset Counter Bit of the corresponding
Counter. A rising edge of the Preset Counter Bit triggers a preset in the next I/O
Refresh Cycle.
Resetting a Simple Counter
For every Simple Counter the Software Reset Bit can be used to trigger a Reset.
A rising edge of the Software Reset Bit triggers a Reset in the next I/O Refresh
Cycle.
Status Digital Inputs of
Simple Counter
The status of the four Digital Inputs is reflected by their corresponding bits in CIO.
You can use these bits as event flags in the Ladder Program.
CNT1:
CNT2:
CNT3:
CNT4:
n+2
n+5
n+8
n+11
Open Gate:
0
→
1 = Open Gate
Close Gate:
0
→
1 = Close Gate
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
A rising edge of the "Open Gate Bit" opens the Gate regardless of the state of the "Close Gate
Bit". A rising edge of the "Close Gate Bit" closes the Gate regardless of the state of the "Open
Gate Bit". At a simultaneous rising edge of both bits, the state of the Gate is unchanged.
CNT1:
CNT2:
CNT3:
CNT4:
n+2
n+5
n+8
n+11
Preset Counter:
0
→
1 = Preset Counter
CNT1:
CNT2:
CNT3:
CNT4:
n+3
n+6
n+9
n+12
n+4
n+7
n+10
n+13
Preset Value
Set Preset Value for Simple Counter between 80000000
H
and 7FFFFFFF
H
.
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
CNT1:
CNT2:
CNT3:
CNT4:
n+2
n+5
n+8
n+11
Software Reset Bit:
0
→
1 = Reset Counter
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
n+16
I3 I2 I1 I0
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
General Setting:
Bits 0, 1, 2 and 3 correspond to the Physical Digital Inputs I0, I1, I2 and I3.
Digital Input Status:
0 = Input is OFF
1 = Input is ON
W902-E2-03.book Seite 50 Donnerstag, 7. Oktober 2004 2:06 14
Содержание CS1W-CT021
Страница 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Страница 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Страница 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Страница 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Страница 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Страница 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Страница 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...