Data Types And Register Specifications - YASKAWA MP210 Series User Manual

Machine controller
Table of Contents

Advertisement

5 Outline of Motion Control Systems

5.3.2 Data Types and Register Specifications

5.3.2 Data Types and Register Specifications
There are five kinds of data: Bit, integer, double-length integer, real number, and address data. Each is used dif-
ferently depending on the application. Address data, however, is used only inside functions when specifying
pointers. The following table shows the types of data.
Type
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.
5-26
Data Types
Numeric Value Range
0, 1
−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
A digit to indicate the bit A is added to the
register number (00103).
Pointer Specification
Address in
memory
[ MA00100 ]
Used by relay circuits.
Used for numeric value operations. The values in
parentheses ( ) indicate use with logical operations.
Used for numeric value operations. The values in
parentheses ( ) are for use with logical operations.
Used for numeric value operations.
Used only when specifying pointers.
[ MB001006 ]
B
A
9
8
7
6
5
4
3
[ MB00103A ]
Bit type
Register area
Remarks
A digit to indicate the bit 6 is added to the
register number (00100).
Bit type
2
1
0
[ ML00100 ]
[ MF00100 ]
[ ML00102 ]
[ MF00102 ]
Double-length and
real number 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

Advertisement

Table of Contents
loading

Table of Contents