Specifications

4.3 Labels
4.3.5 Data types
4-19
4
PROGRAM
CONFIGURATION
(2) Generic data types
Generic data type is the data type of labels summarizing some elementary data types. Data
type name starts with 'ANY'.
ANY data types are used when multiple data types are allowed for function arguments and
return values.
Labels defined in generic data types can be used in any sub-level data type.
For example, if the argument of a function is ANY_NUM data type, desired data type for an
argument can be specified from word (signed) type, double word (signed) type, single-
precision real type, and double-precision real type.
Arguments of functions and instructions are described using generic data types, in order to
be used for various different data types.
The following figure shows the types of generic data type and their corresponding
elementary data types.
*1: For arrays, refer to the following section. Section 4.4.7 Arrays
*2: For structures, refer to the following section. Section 4.4.8 Structures
The higher 'ANY' data types include sub-level data types.
The highest 'ANY' data type includes all data types.
Word
(unsigned)/
16-bit string
Word
(signed)
ANY_REAL ANY_INT
Single-
precision
real
Double-
precision
real
ANY_NUM
ANY16 ANY32
Word
(signed)
Double
word
(signed)
ANY_BIT
ANY_SIMPLE
ANY
Time String
Array
*1
Structure
*2
Bit
Word
(unsigned)/
16-bit string
Double word
(unsigned)/
32-bit string
Double word
(unsigned)/
32-bit string
Double
word
(signed)