IDEC MICROSmart FC6A Series Ladder Programming Manual page 157

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Examples: LC
Ladder Diagram 1
Reset
CNTD
C2
100000
I0
Pulse
I1
LC=(D)
C2
99997
Q0
LC>=(D)
C2
99996
Q1
Timing Chart
ON
Reset Input I0
OFF
99995
ON
Pulse Input I1
OFF
ON
C2
OFF
ON
Output Q0
OFF
ON
Output Q1
OFF
Ladder Diagram 2
ADD(I)
SOTU
I2
LC<=(I)
D10
–2
LC<=(I)
3
D10
LC<=(I)
LC<=(I)
–3
D10
D10
Timing Chart
ON
Input I2
OFF
–7
D10 Value
ON
Output Q2
OFF
ON
Output Q3
OFF
Program List
Instruction
LOD
LOD
CNTD
LC=(D)
OUT
LC>=(D)
OUT
99996
99997
99998
S1 –
S2 –
D1 –
D10
1
D10
5
–6
–5
–4
–3
–2
–1
0
FC6A S
MICROS
ERIES
MART
Data
I0
I1
C2
100000
C2
99997
Q0
C2
99996
Q1
99999
100000
• • •
REP
Q2
Q3
1
2
3
4
5
6
L
P
M
ADDER
ROGRAMMING
ANUAL
6: D
C
ATA
OMPARISON
Output Q0 is on when counter C2 current value is
99,997.
Output Q1 is turned on when counter C2 current
value reaches 99,996 and remains on until counter
C2 is reset.
Program List
Data
Instruction
LOD
I2
SOTU
ADD(I)
D10
1
D10
LC<=(I)
D10
–2
LC<=(I)
3
D10
ORLOD
OUT
Q2
LC<=(I)
–3
D10
LC<=(I)
D10
5
ANDLOD
OUT
Q3
Output Q2 is on when data register D10 is less than
or equal to –2 and greater than or equal to 3.
Output Q3 is on while data register D10 is between
–3 and 5.
FC9Y-B1726
I
NSTRUCTIONS
6-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents