Operation Example
Operation Pattern
Pos2
Pos1
Time
Axis 1 position
Time
Latched position
Sensor 1 status
1 Starting the Master Axis
V
elocity control is performed for axis 1.
2 Detecting Workpiece
Sensor 1 detects the workpiece.
3 Latching the Position
If the workpiece is detected in the window (Pos1 to Pos2), the position of axis 1 is latched.
Ladder Diagram
Main Variables
Name Data type Default Comment
MC_Axis000 _sAXIS_REF --- This is the Axis Variable for axis 1.
MC_Axis000.MFaultLvl.Active BOOL FALSE TRUE while there is a minor fault level error for
axis 1.
MC_Axis000.Details.Homed BOOL FALSE TRUE when home is defined for axis 1.
3 Axis Command Instructions
3-375
NY-series Motion Control Instructions Reference Manual (W561)
MC_TouchProbe
3
Sample Programming