7: D
ATA
C
OMPARISON
I
NSTRUCTIONS
7-8
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
LC= (Load Compare Equal To)
LC<> (Load Compare Unequal To)
LC< (Load Compare Less Than)
LC> (Load Compare Greater Than)
LC<= (Load Compare Less Than or Equal To)
LC>= (Load Compare Greater Than or Equal To)
Applicable CPU Modules
Valid Devices
For the valid device address range, see pages 6-1 and 6-2
(Basic Vol.).
When T (timer) or C (counter) is used, the timer/counter current value (TC or CC) is read out.
When F (float) data type is selected, only data register and constant can be designated.
When F (float) data type is selected and S1 or S2 does not comply with the normal floating-point format, a user program execution error will result,
turning on special internal relay M8004 and ERR LED on the CPU module. The output to the following instructions is turned off. For user program
execution errors, see Chapter 4 “User Program Execution Errors” on page 4-21.
Data type W or I:
S1 = S2
Data type D, L, or F:
S1·S1+1 = S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is equal
to S2 data, the output to the following instructions is turned on. When the condition is not met, the
output is turned off.
LC=(*)
*****
*****
Data type W or I:
S1 S2
Data type D, L, or F:
S1·S1+1 S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is not
equal to S2 data, the output to the following instructions is turned on. When the condition is not met, the
output is turned off.
LC<>(*)
*****
*****
Data type W or I:
S1 < S2
Data type D, L, or F:
S1·S1+1 < S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is less
than S2 data, the output to the following instructions is turned on. When the condition is not met, the
output is turned off.
LC<(*)
*****
*****
Data type W or I:
S1 > S2
Data type D, L, or F:
S1·S1+1 > S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is
greater than S2 data, the output to the following instructions is turned on. When the condition is not met,
the output is turned off.
LC>(*)
*****
*****
Data type W or I:
S1 S2
Data type D, L, or F:
S1·S1+1 S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is less
than or equal to S2 data, the output to the following instructions is turned on. When the condition is not
met, the output is turned off.
LC<=(*)
*****
*****
Data type W or I:
S1
S2
Data type D, L, or F:
S1·S1+1
S2·S2+1
This instruction constantly compares 16- or 32- bit data designated by S1 and S2. When S1 data is
greater than or equal to S2 data, the output to the following instructions is turned on. When the condition
is not met, the output is turned off.
LC>=(*)
*****
*****
FT1A-12
FT1A-24
FT1A-40
FT1A-48
FT1A-Touch
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Data to compare
X
X
X
X
X
X
X
X
—
S2 (Source 2)
Data to compare
X
X
X
X
X
X
X
X
—
Содержание 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 ...