Programming manual of IVC series small PLC
1. When the input power flow changes from OFF
to ON (rising edge), and the timing has not started,
the designated timer T (D) will start timing based
on the current value. In the timing status (whose
length is determined by S), the timing coil output
will maintain ON.
2. In the timing status (whose length is determined
by S), no matter how the power flow changes, the
timing will keep going, and the timing coil output
will keep ON.
3. When the timing value reaches the preset point,
the timing will stop, the timing value will be
cleared, and the timing coil output will be set OFF.
5.5 Counter instruction
5.5.1
CTU: 16-bit counter counting up instruction
LAD:
IL: CTU (D) (S)
Operand Type
D
INT
S
INT Constant
Operand description
D: Destination operand
S: Source operand
Function description
1. When the power flow changes from OFF to ON (rising
edge), the 16-bit counter C (D) will count 1.
2. When the counting value reaches 32,767, it will
maintain that value.
3. When the counting value is larger than or equal to the
preset point (S), the counting coil will be set ON.
Note
The address range of the 16-bit counter C (D): C0~C199.
5.5.2
CTR: 16-bit counter loop cycle counting instruction
LAD:
IL: CTR (D) (S)
Operand Type
D
INT
S
INT Constant
KnX
KnY
KnM
KnS
KnX
KnY
KnM
KnS
Time sequence chart
M0
T1 timing coil
T1 timing value
Applicable to
Influenced flag bit
Program steps
Applicable elements
KnLM KnSM
D
SD
Example
Time sequence chart
C0 counting coil
C0 counting value
Applicable to
Influenced flag bit
Program steps
Applicable elements
KnLM KnSM
D
SD
Chapter 5 Basic instructions
ON
ON
OFF
ON
OFF
OFF
0.5s
0.5s
T1=5
T1=0
T1=0
IVC1 IVC1S IVC1L IVC2L IVC2H
5
C
C
T
V
Z
R
ON
ON
OFF
M0
OFF
C0=2
C0=1
C0=0
IVC1 IVC1S IVC1L IVC2L IVC2H
5
C
C
T
V
Z
R
67
T 1=5
Indexed
addressing
√
LD M0
CTU
C0
3
LD C0
OUT Y0
ON
C0=3
Indexed
addressing
√
Need help?
Do you have a question about the IVC2H and is the answer not in the manual?