Save – Yaskawa MP2200 Machine Controller User Manual
Page 401

7.3 Using an Absolute Encoder
7-17
The following methods are used to save the Zero Point Offset (OL48).
Method 1: Saving in a M Register with Ladder Program
Subtract the Calculated Position in Machine Coordinate System from the Machine Coordinate System Zero
Point Offset and save the result in an M register when it is stored in setting parameter OL48.
Store the contents saved in the M register in Zero Point Offset (setting parameter OL48) when system
or servo power is turned back ON.
Ladder Program Example Required for a Finite Length Axis (Axis 1)
Method 2: Saving the Zero Point Offset (OL48) from the MPE720 Parameter Window
After the Zero Point Offset (OL48) is set after setting the zero point, use
Save
to save the settings to
the MP2300. When power is turned back ON, the value that was saved for Zero Point Offset (OL48)
will be stored automatically.
INFO
Rising edge of Zero Point Set signal detected.
IB00106
DB000000
DB000001
0000
0000
NL-1
IF
DB000001==true
0001
0003
NL-1
Zero Point Offset
− Calculated Position Store in OL
48.
EXPRESSION
OL8048=OL8048-IL8010;
ML00400=OL8048;
0002
0004
NL-2
END_IF
0003
0005
NL-1
Store offset saved in M register in OL
48.
STORE
Source ML00400
Dest
OL8048
0004
0006
NL-1
END
0005
0007
NL-1
P00001 H09 Main Program