SmartAXIS Touch User's Manual
12-19
2 Ladder Program
12
Control Func
tion
TCCST
Timer/Counter Current Value Store When input is on, 16- or 32-bit data designated by S1 is
read out and stored to the current value of device
designated by D1.
S1
→
D1
YES
CMP=
Compare Equal To
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are compared. When S1 data is
equal to S2 data, destination device D1 is turned on.
When the condition is not met, D1 is turned off.
YES
Data type W or I:
S1 = S2
→
D1 on
Data type D, L, or F: S1·S1+1 = S2·S2+1
→
D1 on
CMP<>
Compare Unequal To
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are compared. When S1 data is
not equal to S2 data, destination device D1 is turned on.
When the condition is not met, D1 is turned off.
YES
Data type W or I:
S1
≠
S2
→
D1 on
Data type D, L, or F: S1·S1+1 S2·S2+1
→
D1 on
CMP<
Compare Less Than
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are compared. When S1 data is
less than S2 data, destination device D1 is turned on.
When the condition is not met, D1 is turned off.
YES
Data type W or I:
S1 < S2
→
D1 on
Data type D, L, or F: S1·S1+1 < S2·S2+1
→
D1 on
CMP>
Compare Greater Than
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are compared. When S1 data is
greater than S2 data, destination device D1 is turned on.
When the condition is not met, D1 is turned off.
YES
Data type W or I:
S1 > S2
→
D1 on
Data type D, L, or F: S1·S1+1 > S2·S2+1
→
D1 on
CMP<=
Compare Less Than or Equal To
When input is on, 16- or 32-bit data designated by
source devices S1 and S2 are compared. When S1 data is
less than or equal to S2 data, destination device D1 is
turned on. When the condition is not met, D1 is turned
off.
YES
Data type W or I:
S1
≤
S2
→
D1 on
Data type D, L, or F: S1·S1+1
≤
S2·S2+1
→
D1 on
CMP>=
Compare Greater Than or Equal To
When input is on, 16- or 32-bit data designated by source
devices S1 and S2 are compared. When S1 data is greater
than or equal to S2 data, destination device D1 is turned
on. When the condition is not met, D1 is turned off.
YES
Data type W or I:
S1
≥
S2
→
D1 on
Data type D, L, or F:
S1·S1+1
≥
S2·S2+1
→
D1 on
ICMP>=
Interval Compare Greater Than or Equal To
When input is on, the 16- or 32-bit data designated by
S1, S2, and S3 are compared. When the condition is met,
destination device D1 is turned on. When the condition is
not met, D1 is turned off.
YES
Data type W or I:
S1
≤
S2
≤
S3
→
D1 on
Data type D, L, or F:
S1·S1+1
≤
S2·S2+1
≤
S3·S3+1
→
D1 on
LC=
Load Compare Equal 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
Symbol
Name and Diagram
Function
Interrupt
Program
Execution
REP
**
D1(R)
*****
S1(R)
*****
TCCST(*)
REP
**
D1(R)
*****
S2(R)
*****
CMP=(*)
AND/OR
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
CMP<>(*)
AND/OR
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
CMP<(*)
AND/OR
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
CMP>(*)
AND/OR
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
CMP<=(*)
AND/OR
S1(R)
*****
REP
**
D1(R)
*****
S2(R)
*****
CMP>=(*)
AND/OR
S1(R)
*****
D1
*****
S2
*****
ICMP>=(*) S1
*****
S3
*****
LC=(*)
**** ****
Содержание 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 ...