WindO/I-NV4 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 type is set by the Script Editor. For the setting method, refer to “2.3 Script Editor” on
page 20-12.
●
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.1 Available Data” on page 2-1.
Types of the data type Required word count Range that can be processed
UBIN16(W) 1 0 to 65,535
BIN16(I) 1 -32,768 to 32,767
UBIN32(D) 2 0 to 4,294,967,295
BIN32(L) 2 -2,147,483,648 to 2,147,483,647
BCD4(B) 1 -999 to 9,999
BCD8(EB) 2 -9,999,999 to 99,999,999
Float32(F) 2
-3.4×10
38
to
-1.18×10
-38
0
1.18×10
-38
to
3.4×10
38
Function that can be used is based on the selected data type. For details, refer to “4 Script Definition
Method” on page 20-21.