1 OVERVIEW
1.2 Data Specification Method
39
1
■
Generic data type
The generic data type is the data type of the labels which summarize several primitive data types.
Generic data types are used when multiple data types are allowed for arguments and return values of functions or function
blocks.
Labels defined in generic data types can be used in any sub-level data type.
*1 Can also be used as an array.
■
Generic data type (array)
For the following generic data type, define the number of array elements.
Data type (label)
Specifiable label
ANY
ANY_SIMPLE
ANY_ELEMENTARY
ANY_BIT
ANY_BOOL
Bit
ANY_BITADDR
Bit
ANY16_U
Word [unsigned]/bit
string [16 bits]
ANY32_U
Double word
[unsigned]/bit string [32
bits]
ANY_WORDADDR
ANY_NUM
ANY_INT
ANY16
ANY16_S
Word [signed]
ANY16_U
Word [unsigned]/bit
string [16 bits]
ANY32
ANY32_S
Double word [signed],
time
ANY32_U
Double word
[unsigned]/bit string [32
bits]
ANY_REAL
ANYREAL_32
Single-precision real
number
ANYREAL_64
Double-precision real
number
ANY_STRING
ANYSTRING_SINGLE
String
ANYSTRING_DOUBLE
Character string
[Unicode]
ANY16_OR_STRING_SINGLE
ANY16_S
Word [signed]
ANY16_U
Word [unsigned]/bit
string [16 bits]
ANYSTRING_SINGLE
String
ANY_DT
Word [signed], word
[unsigned]/bit string [16
bits]
ANY_TM
Word [signed], word
[unsigned]/bit string [16
bits]
ANY_STRUCT
Structures
STRUCT
Structures
Data type (label)
Specifiable label
ANYBIT_ARRAY
Bit
ANYWORD_ARRAY
ANY16_ARRAY
ANY16_S_ARRAY
Word [signed]
ANY16_U_ARRAY
Word [unsigned]/bit string [16
bits]
ANY32_ARRAY
ANY32_S_ARRAY
Double word [signed], time
ANY32_U_ARRAY
Double word [unsigned]/bit
string [32 bits]
ANY_REAL_ARRAY
ANY_REAL_32_ARRAY
Single-precision real number
ANY_REAL_64_ARRAY
Double-precision real number
ANY_STRING_ARRAY
ANY_STRING_SINGLE_ARRAY
Character string
ANY_STRING_DOUBLE_ARRAY
Character string [Unicode]
STRUCT_ARRAY
Structures
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......