3 data type of the script, Data types, Data type of the script -3 – IDEC High Performance Series User Manual
Page 967: Script
WindO/I-NV2 User’s Manual
20-3
1 About the Script Function
20
Script
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 7 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 65,535
BIN16 (+/-)
1
-32,768 to 32,767
BIN32 (+)
2
0 to 4,294,967,295
BIN32 (+/-)
2
-2,147,483,648 to 2,147,483,647
BCD4
1
-999 to 9,999
BCD8
2
-9,999,999 to 99,999,999
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.
For details, refer to “4 Script Definition Method” on page 20-17.