Jdata types – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 173

5.1 Overview
5 -3
Type
Character-
istic
Description
Range
Designation Method
Name
#
# registers
#B, #W, #L, #Fnnnnn
#W00000 to
#W16383
Registers that can be referenced only by a pro-
gram.
Can be referenced only by the corresponding
drawing.
The actual range used is specified by the user on
the MPE720.
Register No. nnnnn is a decimal expression.
Cannot be used in a motion program.
Unique to a
program
D
D registers DB, DW, DL, DFnnnnn
DW00000 to
DW16383
Registers unique to each drawing.
Can only be used by the corresponding drawing.
The actual range used is specified by the user on
the MPE720.
Register No. nnnnn is a decimal expression.
A # register cannot be used in a motion program. If a # register is used, a syntax error will result during compila-
tion of the motion program.
J
Data Types
As shown in the following table, the data types are bit, integer, double integer, and real number
data. Use them as required.
Table 5.2 Data Types
Symbol
Data Type
Numeric Range
Remarks
B
Bit
ON(1), OFF(0)
Used to determine the relay se-
quence and the ON/OFF condition.
W
Integer
−32768 to +32767
(8000H to 7FFFH)
Used for arithmetic operations. The
parentheses ( ) show its use in logic
operations.
L
Double Integer −2147483648 to +2147483647
(80000000H to 7FFFFFFFH)
Used for arithmetic operations. The
parentheses ( ) show its use in logic
operations.
F
Real Number
±(1.175E−38 to 3.402E+38), 0
Used for high-level arithmetic opera-
tions.
5
IMPORTANT