7: B
ASIC
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
7-17
Examples: DC= and DC
≥
(Data Register Comparison)
Ladder Diagram 1
Timing Chart
DC=
5
D2
DC>=
3
D2
Input I1
ON
OFF
D10 Value
Output Q0
ON
OFF
Output Q1
ON
OFF
Instruction
Data
LOD
MOV(W)
DC=
OUT
DC
≥
OUT
I1
D10 –
D2
–
D2
5
Q0
D2
3
Q1
Program List
4
4
5
5
3
3
5
2
10
I1
REP
S1 –
D10
D1 –
D2
MOV(W)
10
3
7
2
2
D2 Value
0
4
5
5
3
3
5
2
10 10
3
3
2
2
Output Q0 is on when data register D2
value is 5.
Output Q1 is on when data register D2
value is 3 or more.
Q0
Q1
Ladder Diagram 2
Output Q0 is on when data register D30 value is 500.
DC=
500
D30
Timing Chart
Output Q0
ON
OFF
400
210 210 0 500
D30 Value
I1
REP
S1 –
D50
D1 –
D30
MOV(W)
500 500
700
Q0
Ladder Diagram 3
DC>=
350
D15
I1
REP
S1 –
D0
D1 –
D15
MOV(W)
Output Q1 is on when data register D15 value is 350 or more.
Timing Chart
Output Q1
ON
OFF
200
249 200 350 390
D15 Value
355 521
600
Q1
Ladder Diagram 4
DC>=
150
D20
DC>=
100
D20
Q0
I1
REP
S1 –
D100
D1 –
D20
MOV(W)
Output Q2 is on while data register D20 value is between
149 and 100.
Timing Chart
Output Q0
ON
OFF
90
150 80 160 110
D20 Value
120 180
95
Output Q2
ON
OFF
Q0
Q2
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...