Mitsubishi QCPU Structured Programming Manual page 35

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

Indicates the names of input and output arguments, the data type of each argument, and the
availability of direct device setting for each instruction.
Elementary
Type
data type
Bit
Bool
Word (signed)
Integer
Double-
Double word
precision
(signed)
integer
Word
(unsigned)/
16-bit string
16-bit string
Double word
(unsigned)/
32-bit string
32-bit string
Single-
Real
precision real
Double-
Double-
precision
precision real
*1
real
Character
String
string
*2
Time value
Time
*1 : Can be used for the Universal model QCPU only.
*2 : The time type is used in time type operation instructions of application function.
For details of application functions, refer to the following manual.
QCPU Structured Programming Manual (Application Functions)
Generic data type
ANY
ANY_NUM
ANY_REAL
ANY_INT
ANY_BIT
ANY16
ANY32
Description
Uses bit data or bit device.
(Data range: 0 (FALSE), 1 (TRUE))
Uses signed word data.
(Data range: -32768 to 32767)
Uses signed double-word data.
(Data range: -2147483648 to 2147483647)
Uses unsigned word data/16-bit BIN data.
(Data range: 0 to 65535)
Uses unsigned double-word data/32-bit BIN data.
(Data range: 0 to 4294967295)
Uses floating-point data.
128
-126
-126
(Data range: -2
to -2
, 0, 2
Uses floating-point data.
1024
-1022
(Data range: -2
to -2
, 0, 2
Uses character string data. (Data range: max. 255 characters)
Uses the time type data.
(Data range: T#-24d-0h31m23s648ms to
T#24d20h31m23s647ms)
Can use all elementary data types.
Can use elementary data type of single-precision real, double-precision real, word (signed),
and double word (signed).
Can use elementary data type of single-precision real and double-precision real.
Can use elementary data type of word (signed) and double word (signed).
Can use elementary data type of bit, word (unsigned)/16-bit string, and double word
(unsigned)/32-bit string. With word (unsigned)/16-bit string, and double word (unsigned)/32-
bit string, bit is specified.
Can use elementary data type of word (unsigned)/16-bit string and word (signed).
Can use elementary data type of double word (unsigned)/32-bit string and double word
(signed).
128
to 2
)
-1022
1024
to 2
)
Description
Direct device
setting
4
4-3

Advertisement

Table of Contents
loading

Table of Contents