503
7
7 Motion Control
SETT: Setting the current position
SETT: Setting the current position
◆
Overview
The SETT instruction is used to set the current position of the x-, y, and z-axes to the designated value.
SETT
X_ Y_ Z_
Setting current
position
Applicable model:
H3U-PM
X
Position setting
of the x-axis
Current position setting of the x-axis
Y
Position setting
of the y-axis
Current position setting of the y-axis
Z
Position setting
of the z-axis
Current position setting of the z-axis
◆
Operands
Parameter Bit Element Word Element Immediate Operand
X M SM D DD DE R RR RE SD SDD SDE K KK H HH E
Y M SM D DD DE R RR RE SD SDD SDE K KK H HH E
Z M SM D DD DE R RR RE SD SDD SDE K KK H HH E
Note: The elements in gray background are supported. The oating-point immediate operand type is not
displayed. For example, X100 indicates the X oating point 100.00.
◆
Functions and actions
It is used to set the current position. 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 modify the current position to the value set by the user.
For example, if the current position is (100, 200, 300), when SETT XKK123 YKK456 ZKK789 is used, the
current position is changed to (123, 456, 789). The registers are modied synchronously.