beautypg.com

Jexamples of use by data type, Bits – Yaskawa MP930 User Manual

Page 89

background image

Basic System Operation

3.6.2 Data Types

3 -30

D

Register Designations and Data Types

[MW00100]

[MW00103]

[MW00102]

[MW00101]

[ML00100]
[MF00100]

[ML00102]
[MF00102]

[MB00103A]

[MB001006]

F E D

C B A

9 8 7 6 5 4 3 2 1 0

D

Pointer Designations

Memory address

Register area

[MB001003]

[ML00100]
[MF00100]

[MW00101]

[MW00103]

[MW00102]

[MW00100]

[MA00100]

nn

.

.

.

J

Examples of Use by Data Type

Some examples of use by data type are explained below.

Bits

Bits are used for relay circuit ON/OFF or for logic operations.

MB000101

IB000100

IB000001

IFON

OB000001 ∨ 1

OB000001

D

Motion Program Example

MB000101=IB000100;
IF IB000001==1;
DB000001=DB000001|1

3

A

EXAMPLE

"