EasyManua.ls Logo

YASKAWA XTRAWARE - V3.0 - Set_Zero_Position

YASKAWA XTRAWARE - V3.0
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference
SET_ZERO_POSITION
Table explanation
Group Home
Syntax SET_ZERO_POSITION <mode>
Op. Code 95
Modes Program, Immediate, Sequential
Description Zeroes motor position according to <mode>. Actual position: Sets
the actual motor position as zero position. Demand position: Sets
the demand position as zero position (the position error remains).
Syntax
Arguments
mode Specify the mode:
Mode Code
Actual position: Sets the actual
motor position as zero
position.
0
Demand position: Sets the
demand position as zero
position (The position error will
remain.)
1
Serial 1
U
Example LABEL 1
HOME_C 200
GO_D 7800 1000
SET_ZERO_POSITION demand_position
Example
Explanation
This example shifts the home position (zero position) from the C
pulse location to a different location. After searching the C pulse
with the HOME_C command the motor moves to position 7800
UU. When the motor is theoretically on position 7800 UU the scale
is changed and Position_Demand_Value is set to zero.
Position_Actual_Value is Position_Demand_Value plus
Following_Error_actual_Value.
Notes If error 9 (“Wrong motion mode for SET_ZERO_POSITION
command. Set STOP_EX command before”) occurs, insert a
STOP_EX command before the SET_ZERO_POSITION command.
See Also HARD_HOME, HOME_SW, HOME_SW_C, HOME_C
152 XtraWare User Manual

Table of Contents