2 Ladder Program
12-20
SmartAXIS Touch User's Manual
LC<>
Load Compare Unequal To
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.
YES
Data type W or I:
S1
≠
S2
Data type D, L, or F:
S1·S1+1
≠
S2·S2+1
LC<
Load Compare Less Than
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.
YES
Data type W or I:
S1 < S2
Data type D, L, or F:
S1·S1+1 < S2·S2+1
LC>
Load Compare Greater Than
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.
YES
Data type W or I:
S1 > S2
Data type D, L, or F:
S1·S1+1 > S2·S2+1
LC<=
Load Compare Less Than or Equal To
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.
YES
Data type W or I:
S1
≤
S2
Data type D, L, or F:
S1·S1+1
≤
S2·S2+1
LC>=
Load Compare Greater Than or Equal To
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.
YES
Data type W or I:
S1
≥
S2
Data type D, L, or F:
S1·S1+1
≥
S2·S2+1
ADD
Addition
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are added. The result is set to
destination device D1 and carry (M8003).
YES
Data type W or I:
S1 + S2
→
D1, CY
Data type D, L, or F:
S1·S1+1 + S2·S2+1
→
D1·D1+1, CY
SUB
Subtraction
When input is on, 16- or 32-bit data designated by
source device S2 is subtracted from 16- or 32-bit data
designated by source device S1. The result is set to
destination device D1 and borrow (M8003).
YES
Data type W or I:
S1 - S2
→
D1, BW
Data type D, L, or F:
S1·S1+1 - S2·S2+1
→
D1·D1+1, BW
MUL
Multiplication
When input is on, 16- or 32-bit data designated by
source device S1 is multiplied by 16- or 32-bit data
designated by source device S2. The result is set to
destination device D1. When the result exceeds the valid
range for data types D or L, the special internal relay
M8004 (ladder program execution error) is turned on.
YES
Data type W or I:
S1 X S2
→
D1·D1+1
Data type D, L, or F:
S1·S1+1 X S2·S2+1
→
D1·D1+1
Symbol
Name and Diagram
Function
Interrupt
Program
Execution
LC<>(*)
**** ****
LC<(*)
**** ****
LC>(*)
**** ****
LC<=(*)
**** ****
LC>=(*)
**** ****
REP
**
D1(R)
*****
S2(R)
*****
ADD(*)
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
SUB(*)
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
MUL(*)
S1(R)
*****
Содержание SmartAXIS Touch FT1A Series
Страница 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Страница 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Страница 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Страница 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Страница 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Страница 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Страница 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Страница 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Страница 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Страница 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Страница 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Страница 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Страница 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Страница 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Страница 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Страница 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...