505
7
7 Motion Control
SETR: Setting the electrical origin
SETR: Setting the electrical origin
◆
Overview
The SETR instruction is used to set the current position of the x-, y, and z-axes to the electrical origin. It is
related to DRVR.
SETR
Setting electrical
origin
Applicable model:
H3U-PM
◆
Operands
None
◆
Functions and actions
It is used to set the current position to the electrical origin. The regression electrical origin of DRVR is the
electrical origin set by SETR. The current position can be queried in special registers, for example, the 32-
bit registers listed in the following table.
X-axis Y-axis Z-axis Attribute
SD36, SD37 SD136, SD137 SD236, SD237
Current position (PLS), only for display
purpose
SD40, SD41 SD140, SD141 SD240, SD241
Current position (mechanical, oating
point), only for display purpose
D8340, D8341 D8360, D8361 D8380, D8381 Current position (PLS)
This instruction is used to set the current position to the electrical origin. The current electrical origin
position can be queried in special registers, for example, the 32-bit registers in the following table. The
default value is (0, 0, 0).
X-axis Y-axis Z-axis Attribute
SD26, SD27 SD126, SD127 SD226, SD227
Electrical origin position (only for display
purpose)
The registers are modied synchronously after the setting.