2 data types – Yaskawa MP920 User's Manual Design User Manual

Page 104

Advertising
background image

3 Basic System Operation

3.6.2 Data Types

3-30

3.6.2

Data Types

There are five data types: Bit, integer, double-length integer, real number, and address. Use
them as required. Address data is used only for pointer designations inside functions. For
details, refer to the Machine Controller MP900/MP2000 Series User’s Manual: Ladder Pro-
gramming
(SIEZ-C887-1.2). Table 3.13 shows the data types.

Symbol Designation

Symbol: [Symbol Name]

[Subscript]

Required if a subscript is to be used
(symbol name and subscript delimiter)

(Name given to the register, 8 characters or less)

Alphanumeric characters or symbols

Alphabetic character or symbol
(A numeral cannot be designated at the
beginning of a symbol name.)

Can designate the subscript i or j.

[.]

Table 3.13 Data Types and Numeric Range

Type

Data Type

Numeric Range

Remarks

B

Bit

ON, OFF

Used in relay circuits.

W

Integer

-32768 to +32767
(8000H) (7FFFH)

Used in numeric operations.
The values in parentheses ( ) are used in
logic operations.

L

Double-length
integer

-2147483648 to +2147483647
(80000000H) (7FFFFFFFH)

Used in numeric operations.
The values in parentheses ( ) are used in
logic operations.

F

Real number

± (1.175E−38 to 3.402E+38), 0

Used in numeric operations.

A

Address

0 to 32767

Used only for pointer designations.

F

E

D C

B A

9

8

7

6

5

4

3

2

1

0

Register Designations and Data Types

[MW00100]

[MW00103]

[MW00102]

[MW00101]

[ML00100]
[MF00100]

[ML00102]
[MF00102]

[MB00103A]

[MB001006]

Advertising