IDEC FC4A-C10R2 User Manual page 199

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Examples: CC= and CC≥ (Counter Comparison)
Ladder Diagram 1
Reset
CNT
C2
10
I0
Pulse
I1
CC=
C2
5
Q0
CC>=
C2
3
Q1
Timing Chart
ON
Reset Input I0
OFF
ON
Pulse Input I1
OFF
ON
C2
OFF
ON
Output Q0
OFF
ON
Output Q1
OFF
Ladder Diagram 2
Reset
CNT
C30
1000
I1
Pulse
I2
CC=
C30
500
Q0
Ladder Diagram 3
Reset
CNT
C31
500
I3
Pulse
I4
CC>=
C31
350
Q1
Ladder Diagram 4
Reset
CNT
500
I5
Pulse
I6
CC>=
C20
150
CC>=
C20
100
Q2
Program List
Instruction
LOD
LOD
CNT
CC=
OUT
CC≥
OUT
1
2
3
4
5
6
7
Program List
Instruction
LOD
LOD
CNT
CC=
OUT
Program List
Instruction
LOD
LOD
CNT
CC>=
OUT
Program List
Instruction
C20
LOD
LOD
CNT
CC>=
Q2
OUT
CC>=
Q3
ANDN
OUT
« FC4A M
ICRO
Data
I0
I1
C2
10
C2
5
Q0
C2
3
Q1
8
9
10
• • •
Data
I1
I2
C30
1000
C30
500
Q0
Data
I3
I4
C31
500
C31
350
Q1
Data
I5
I6
C20
500
C20
150
Q2
C20
100
Q2
Q3
S
U
'
M
MART
SER
S
ANUAL
7: B
ASIC
Output Q0 is on when counter C2 current
value is 5.
Output Q1 is turned on when counter C2
current value reaches 3 and remains on
until counter C2 is reset.
Timing Chart
1
ON
Pulse Input I2
OFF
ON
Output Q0
OFF
Output Q0 is on when counter C30 current
value is 500.
Timing Chart
1
ON
Pulse Input I4
OFF
ON
Output Q1
OFF
Output Q1 is turned on when counter C31
current value reaches 350 and remains on
until counter C31 is reset.
Timing Chart
100
ON
Pulse Input I6
• • •
OFF
ON
≥C20 (100)
OFF
ON
Output Q2
OFF
ON
Output Q3
OFF
Output Q3 is on when counter C20 current
value is between 100 and 149.
»
I
NSTRUCTIONS
2
500 501 502
• • •
2
350 351 352
• • •
101
150 151 152
• • •
7-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents