2 Ladder Program
12-28
SmartAXIS Touch User's Manual
EXP
Exponent
When input is on, e is raised to the power S1·S1+1
designated by source device S1 and is stored to the
destination designated by device D1.
e (base of natural logarithm) = 2.7182818
e
S1·S1+1
→
D1·D1+1
YES
POW
Power
When input is on, binary data designated by source
device S1 is raised to the power S2·S2+1 designated by
source device S2 and the operation result is stored to the
destination designated by device D1.
S1·S1+1
S2·S2+1
→
D1·D1+1
YES
FIFOF
FIFO Format
When input is on, FIFOF instruction initializes an FIFO
data file. Each data file has unique number 0 through 9.
A maximum of 10 data files can be used in a user
program.
NO
FIEX
First-In Execute
When input is on, the data stored in data registers
starting with the device designated by S1 is stored to the
corresponding FIFO data file.
YES
FOEX
First-Out Execute
When input is on, the data is retrieved from the
corresponding FIFO data file and stored to the data
registers starting with the device designated by D1.
YES
NDSRC
N Data Search
When input is on, a value specified by device S1 is
sought. Data registers are searched, starting with the
data register designated by device S2. Device S3
specifies the quantity of 1-word or 2-word blocks of data
registers to search, depending on the data type.
The offset of the data register where a match first occurred
is stored in data register designated by device D1. The
quantity of times the value was matched is stored in the
next data register. When the search results in no match,
65535 is stored in device D1 and 0 is stored in device D+1.
NO
TADD
Time Addition
When input is on, time data designated by source device
S2 are added to date/time data designated by source
device S1, depending on the selected mode. The result is
stored to destination device D1 and carry (M8003).
S1 + S2
→
D1, CY
YES
TSUB
Time Subtraction
When input is on, time data designated by source device S2
are subtracted from date/time data designated by source
device S1, depending on the selected mode. The result is
stored to destination device D1 and borrow (M8003).
S1 – S2
→
D1, CY
YES
HOUR
Hour
While input is on, the ON duration is measured. The
measured time value (hour, minute, and second) is stored
to 3 consecutive data registers designated by destination
device D1 and compared with the preset value designated
by source device S1. When the D1 value reaches the S1
value, an output or internal relay designated by destination
device D2 is turned on. Two data registers starting with
destination device D3 are reserved for system work area.
S1
↔
D1
→
D2
NO
HTOS
HMS to Sec
When input is on, time data in hours, minutes, and
seconds designated by source device S1 is converted into
seconds. The result is stored to destination device D1.
Hours, minutes, seconds
→
Seconds
YES
STOH
Sec to HMS
When input is on, time data in seconds designated by
source device S1 is converted into hours, minutes, and
seconds. The result is stored to destination device D1.
Seconds
→
Hours, minutes, seconds
YES
SCRPT
Script
Calls and executes a script from the ladder program.
YES
PID
PID
Performs PID control.
NO
Symbol
Name and Diagram
Function
Interrupt
Program
Execution
D1
*****
S1
*****
EXP(F)
S2
*****
S1
*****
POW(F)
D1
****
D2
****
S2
*****
FIFOF(W)
*
S1
****
D1
****
FIEX(W)
*
S1
*****
FOEX(W)
*
D1
*****
D1
*****
S2
*****
NDSRC(W) S1
*****
S3
*****
S2
***
S1
***
TADD
Mode
D1
*****
S2
***
S1
***
TSUB
Mode
D1
*****
D3
*****
D1
*****
HOUR
S1
*****
D2
*****
D1
*****
S1
*****
HTOS
D1
*****
S1
*****
STOH
D1
*****
S1
*****
SCRPT
S4
*****
S2
*****
PID
S1
*****
S3
*****
Summary of Contents for SmartAXIS Touch FT1A Series
Page 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Page 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Page 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Page 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Page 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Page 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Page 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Page 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Page 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Page 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Page 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Page 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Page 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Page 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Page 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Page 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...