Examples of use by data type – Yaskawa MP920 User's Manual Design User Manual
Page 105
Advertising
3.6 Registers
3-31
3
Examples of Use by Data Type
1. Bits
Bits are used for relay circuit ON/OFF or for logic operations.
• Motion Program Example
2. Words
Words are used for numeric operations and logic operations.
• Motion Program Example
Pointer Designations
Memory address
Register area
[MB001003]
[ML00100]
[MF00100]
[MW00101]
[MW00103]
[MW00102]
[MW00100]
[MA00100]
nn
.
.
.
MB000101
IB000100
IB000001
IFON
EXAMPLE
MB000101=IB000100;
IF IB000001==1;
DB000001=DB000001|1
MW00100 V H00FF
MW00101
MW00102 + 12345
MW00103
MW00104 INV
MW00105
EXAMPLE
MW00101=MW00100|00FFH;
MW00103=MW00102+12345;
MW00105=MW00104*-1;
Advertising