SetPosition Function
(Original Document)
Description
The SetPosition function changes the position reading of the axis to the given value. The position can only be changed if the axis is not moving. The position reading is modified in the axis control module. It does not change the position value on the drive itself. This means that if axis commissioning software tool is monitoring the drive by a direct connection to the drive, the position display will not show the changed position value. However, the positions monitored or commanded by the axis control module will reflect the new parameter.
The Home function clears all previous position settings generated by the SetPosition function.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR - BIAS_REMAIN MODE
Do not send a SET_POSITION command as long as the %Ir.m.c.24 bit value is at 1.
Failure to follow these instructions can result in injury or equipment damage.
NOTE: In the case of a sequence with BIAS_REMAIN, the recognition on the slave of the resulting offset is signalled on the %Ir.m.c.24 bit
How to Use this Function
This function is implemented with the help of the WRITE_CMD instruction.
Associated Language Objects
Exchange via WRITE_CMD:The table below presents the different language objects linked to this function.
Object
Name
Function code
Description
%MWr.m.c.26
ACTION_CMD
2053
Command
%MFr.m.c.31
PARAM_CMD_3
-
Value to write.
%MWr.m.c.19
ERROR_CMD
-