2) data types – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 75

Advertising
background image

6.1 Overview

6-3

6

Variables (Registers)

(2) 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 6.2 Data Types

Symbol

Data Type

Numeric Range

Remarks

B

Bit

ON (1), OFF (0)

Used to determine the relay sequence 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)

Used for high-level arithmetic operations.

[ MW00100 ]

[ MW00103 ]

One digit to indicate bit A is

added to the register number

00103.

One word for the next register number is

included in the coded register number 00102.

Therefore, the register number is increased by two.

[ MW00102 ]

[ MW00101 ]

[ ML00100 ]

Bit type

[ MF00100 ]

[ ML00102 ]
[ MF00102 ]

[ MB00103A ]

[ MB001006 ]

F E D C B A 9 8 7 6 5 4 3 2 1 0

Bit type

Double integer type

and real number type

Integer type

One word for each

register number

One digit to indicate bit 6 is added

to the register number 00100.

Data Type and Register Designation

Advertising