FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
7-9
7: D
ATA
C
OMPARISON
I
NSTRUCTIONS
Valid Data Types
Examples: LC
W (word)
X
When a bit device such as I (input), Q (output), M (internal relay), or R (shift register) is designated, 16 points
(word or integer data type) or 32 points (double-word or long data type) are used.
When a word device such as T (timer), C (counter), or D (data register) is designated, 1 point (word or integer
data type) or 2 points (double-word, long, or float data type) are used.
I (integer)
X
D (double word)
X
L (long)
X
F (float)
X
Ladder Diagram 1
Timing Chart
LC=(D)
C2
99997
CNTD
C2
100000
I1
Reset
Pulse
I0
LC>=(D)
C2
99996
Reset Input I0
ON
OFF
Pulse Input I1
ON
OFF
C2
ON
OFF
Output Q1
ON
OFF
Output Q0
• • •
99996
99997
99998
ON
OFF
99999
100000
Program List
Output Q0 is on when counter C2 current value is
99997.
Output Q1 is turned on when counter C2 current
value reaches 99996 and remains on until counter
C2 is reset.
Q0
Q1
99995
Instruction
LOD
LOD
CNTD
LC=(D)
OUT
LC>=(D)
OUT
Data
I0
I1
C2
100000
C2
99997
Q0
C2
99996
Q1
Ladder Diagram 2
LC<=(I)
D10
–2
I2
Program List
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.
Q2
REP
S1 –
D10
S2 –
1
ADD(I)
D1 –
D10
SOTU
Timing Chart
Input I2
ON
OFF
D10 Value
Output Q3
ON
OFF
Output Q2
ON
OFF
–7
–6
–3
–2
–1
2
3
4
–5
–4
0
1
5
6
LC<=(I)
3
D10
LC<=(I)
–3
D10
LC<=(I)
D10
5
Q3
Instruction
LOD
SOTU
ADD(I)
LC<=(I)
LC<=(I)
ORLOD
OUT
LC<=(I)
LC<=(I)
ANDLOD
OUT
Data
I2
D10
1
D10
D10
–2
3
D10
Q2
–3
D10
D10
5
Q3
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...