Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 41

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■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.
Data type (label)
*1
ANY
ANY_SIMPLE
ANY_ELEMENTARY
*1
ANY_STRUCT
STRUCT
*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)
ANYBIT_ARRAY
ANYWORD_ARRAY
ANY16_ARRAY
ANY32_ARRAY
ANY_REAL_ARRAY
ANY_STRING_ARRAY
STRUCT_ARRAY
ANY_BIT
ANY_WORDADDR
ANY_NUM
ANY_INT
ANY_REAL
ANY_STRING
ANY16_OR_STRING_SINGLE
ANY_DT
ANY_TM
ANY16_S_ARRAY
ANY16_U_ARRAY
ANY32_S_ARRAY
ANY32_U_ARRAY
ANY_REAL_32_ARRAY
ANY_REAL_64_ARRAY
ANY_STRING_SINGLE_ARRAY
ANY_STRING_DOUBLE_ARRAY
Specifiable label
ANY_BOOL
Bit
*1
ANY_BITADDR
Bit
ANY16_U
Word [unsigned]/bit
string [16 bits]
ANY32_U
Double word
[unsigned]/bit string [32
bits]
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]
ANYREAL_32
Single-precision real
number
ANYREAL_64
Double-precision real
number
ANYSTRING_SINGLE
String
ANYSTRING_DOUBLE
Character string
[Unicode]
ANY16_S
Word [signed]
ANY16_U
Word [unsigned]/bit
string [16 bits]
ANYSTRING_SINGLE
String
Word [signed], word
[unsigned]/bit string [16
bits]
Word [signed], word
[unsigned]/bit string [16
bits]
Structures
Structures
Specifiable label
Bit
Word [signed]
Word [unsigned]/bit string [16
bits]
Double word [signed], time
Double word [unsigned]/bit
string [32 bits]
Single-precision real number
Double-precision real number
Character string
Character string [Unicode]
Structures
1.2 Data Specification Method
1
1 OVERVIEW
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents