Basic Function Instruction
6-7
C
COUNTER
(
16-Bit: C0
~
C199, 32-Bit: C200
~
C255
)
C
Ladder diagram
Key operations
Mnemonic code
X1
CLR
CK
X0
C200
C200
R 0
PV :
CLR
Y1
An example of applying
the “time-up” status by
using the C200 contact.
ORG
OUT
LD
ORG
ORG X
0
LD
X 1
C200
PV: R
0
ORG C
200
OUT Y
1
c
d
X0
X1
C200
(R1=0)
When R0=4
When R0=9
Y1
Y1
Count Start
Count-Up
4 times
9 times
Count-Up
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Remark:
If the preset value of the counter is 0 and "CLR" input also at 0, then the Cn contact status and FO0
(CUP) becomes 1 immediately after the PLC finishes its first scan because the "Count-Up" has occurred.
It will stay at 1 regardless how the CV value varies until "CLR" input changes to 1.
Содержание FBs-CBE
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...