SmartAXIS Touch User’s Manual
20-3
1 About the Script Function
20
Scr
ipt
1.3 Data Type of the Script
It is required to set the data type appropriate for the range of data to be used, such as the maximum and minimum
values of the data used in the script, negative numbers or real numbers required, etc., considering what is to be
processed with the script.
●
Data Types
There are seven types of data that can be processed by the script function.
For details about the data types, refer to Chapter 2 “1.2 Available Data” on page 2-2.
Data type is set by the Script Editor.
For the setting method, refer to “2.3 Script Editor” on page 20-8.
Types of the data
type
Required
word count
Range that can be processed
BIN16 (+)
1
0 to 65535
BIN16 (+/-)
1
-32768 to 32767
BIN32 (+)
2
0 to 4294967295
BIN32 (+/-)
2
-2147483648 to 2147483647
BCD4
1
-999 to 9999
BCD8
2
-9999999 to 99999999
float32
2
-3.4×10
38
to -1.18×10
-38
0
1.18×10
-38
to 3.4×10
38
There are functions that cannot be used when the data types are different. Please refer to the format list.
F
For details, refer to “4 Script Definition Method” on page 20-14.
WindLDR data types are displayed as follows: BIN16(+) as W (word), BIN16(+/-) as I (integer), BIN32(+)
as D (double word), BIN32(+/-) as L (long), and float32 as F (float). For details, refer to the follows:
• Ladder program
F
"SmartAXIS Ladder Programming Manual" - Chapter 4 "Instructions Reference" - "Data Type"
• FBD program
F
"SmartAXIS FBD Programming Manual" - Chapter 4 "FB Reference" - "Data Type"
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 ...