1 Numerical Input
9-18
SmartAXIS Touch User’s Manual
■
Input with Arithmetic Operation
To apply arithmetic operations to values entered using a keypad and writing the results, select this check box and
input the arithmetic formula.
Example: To divide the value of device when entered by 60
■
Display with Arithmetic Operation
To apply arithmetic operations to values of devices and writing the results, select this check box and input the
arithmetic formula.
Example: To multiple the value of device when displayed by 60
Arithmetic Formulas
Arithmetic formulas can be specified by freely combining multiple kinds of data and operators in the following format.
• There is no limit on the number of data items or number of operators. However, the maximum number is 120
characters.
• Round brackets can be used.
Data
Operators
Specify the type of arithmetic operation to be performed on the data. The operator priority is the same as for scripts.
For details, refer to Chapter 20 “6.4 About the Priority of the Operator” on page 20-53.
External device
Touch
D0 700
42000÷60
Write value of
entered value
divided by 60
42000
Numerical Input
Destination Device: D0
Input with Arithmetic Operation: @/60
Item
Description
@
The device on which the arithmetic operation is performed is specified in the arithmetic formula. Only
1 device can be set for an arithmetic operation.
The device is as specified for
Destination Device
under the
General
tab.
Value
Sets the constant values for the arithmetic formula.
The values that can be set depend on the data type selected using
Data Format
under the
General
tab. For details, refer to Chapter 2 “1.2 Available Data” on page 2-2.
Device
Specifies the bit device or word device for the arithmetic formula.
Item
Description
Arithmetic
operators
Sets the arithmetic operators.
+
Addition
Adds
and .
-
Subtraction
Subtracts
from .
*
Multiplication
Multiplies
and .
/
Division
Divides
by .
%
Modulo
Calculates remainder after dividing
by
.
External device
Touch
D0 1234
1234×60
Display value
multiplied by 60 for
the value of device
74040
Numerical Input
Destination Device: D0
Display with Arithmetic Operation: @*60
...(up to 120 characters)
Operator
Data
Data
Operator
Data
Data
to
Operator
Data
Operator
Data
Operator
Data
Operator
Data
Содержание 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 ...