4-3
4
HOW T
O
RE
AD
INS
TRUCT
IO
NS
Indicates the names of input and output arguments, the data type of each argument, and the
availability of direct device setting for each instruction.
*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)
Elementary
data type
Type
Description
Direct device
setting
Bit
Bool
Uses bit data or bit device.
(Data range: 0 (FALSE), 1 (TRUE))
Word (signed)
Integer
Uses signed word data.
(Data range: -32768 to 32767)
Double word
(signed)
Double-
precision
integer
Uses signed double-word data.
(Data range: -2147483648 to 2147483647)
Word
(unsigned)/
16-bit string
16-bit string
Uses unsigned word data/16-bit BIN data.
(Data range: 0 to 65535)
Double word
(unsigned)/
32-bit string
32-bit string
Uses unsigned double-word data/32-bit BIN data.
(Data range: 0 to 4294967295)
Single-
precision real
Real
Uses floating-point data.
(Data range: -2
128
to -2
-126
, 0, 2
-126
to 2
128
)
Double-
precision
real
*1
Double-
precision real
Uses floating-point data.
(Data range: -2
1024
to -2
-1022
, 0, 2
-1022
to 2
1024
)
String
Character
string
Uses character string data. (Data range: max. 255 characters)
Time
*2
Time value
Uses the time type data.
(Data range: T#-24d-0h31m23s648ms to
T#24d20h31m23s647ms)
Generic data type
Description
ANY
Can use all elementary data types.
ANY_NUM
Can use elementary data type of single-precision real, double-precision real, word (signed),
and double word (signed).
ANY_REAL
Can use elementary data type of single-precision real and double-precision real.
ANY_INT
Can use elementary data type of word (signed) and double word (signed).
ANY_BIT
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.
ANY16
Can use elementary data type of word (unsigned)/16-bit string and word (signed).
ANY32
Can use elementary data type of double word (unsigned)/32-bit string and double word
(signed).
Содержание QCPU
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 32: ...3 4 MEMO ...
Страница 38: ...4 6 MEMO ...
Страница 234: ...5 196 MEMO ...
Страница 238: ...Index 4 MEMO ...
Страница 241: ......