Data Types - YASKAWA MP2200 User Manual

Machine controller
Hide thumbs Also See for MP2200:
Table of Contents

Advertisement

5.3.2 Data Types

There are five kinds of data: Bit, integer, double-length integer, real number, and address data. Each is used differently
depending on the application. Address data, however, is used only inside functions when specifying pointers.
The following table shows the types of data.
Type
Data types
B
Bit
W
Integer
Double-length
L
integer
F
Real number
A
Address
Data Types and Register Specifications
Integer type
[ MW00100 ]
[ MW00101 ]
[ MW00102 ]
[ MW00103 ]
Each register number
is one word.
Numeric Value Range
ON, OFF
−32768 to +32767
(8000H)
(7FFFH)
−2147483648 to +2147483647
(80000000H)
(7FFFFFFFH)
± (1.175E-38 to 3.402E+38), 0
0 to 32767
F
E
D C B A
9
8
7
[ MB00103A ]
A digit to indicate the bit (A) is added to
the register number (00103).
Pointer Specification and Address Type
Register area
Address in
memory
[ MA00100 ]
Used by relay circuits.
Used for numeric value operations. The values in paren-
theses ( ) are for use with logical operations.
Used for numeric value operations. The values in paren-
theses ( ) are for use with logical operations.
Used for numeric value operations.
Used only when specifying pointers.
A digit to indicate the bit (6) is added to
the register number (00100).
[ MB001006 ]
Bit type
6
5
4
3
2
1
0
[ ML00100 ]
[ MF00100 ]
[ ML00102 ]
[ MF00102 ]
Double-length and real
Bit type
The words for the given register number
(00102) and the next number (00103) are
included. Therefore, every second number
is used.
Indicates registers with consecutive
multiple addresses with MA00100
as the leading address.
5.3 Registers
5.3.2 Data Types
Remarks
number type
5
5-39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents