Standard cable list – Yaskawa MP940 Reference Manual User Manual

Page 79

Advertising
background image

MotionSuite™ MP940 Machine Controller Reference Manual

Register

3-37

Usage examples by data type

1. Bit

Used in relay circuit ON/OFF or logical calculation.

• Sample motion program

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

2. Word

Used in numerical calculations and logical calculations.

• Sample motion program

MW00101=MW00100|00FFH;
MW00103=MW00102+12345;
MW00105=MW00104;

MB000101

IB000100

IB000001

IFON

OB000001

V

1

OB000001

MW00100 V H00FF

MW00101

MW00102 + 12345

MW00103

MW00104 INV

MW00105

Advertising