Technology instructions
10.3 Motion control
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
743
Table 10- 65 Parameters for the MC_MoveAbsolute instruction
Execute IN Bool Start of the task with a positive edge (Default value: False)
Position IN Real Absolute target position (Default value: 0.0)
12
12
Velocity IN Real Velocity of axis (Default value: 10.0)
This velocity is not always reached because of the configured accel-
eration and deceleration and the target position to be approached.
Limit values: Start/stop velocity ≤ Velocity ≤ maximum velocity
Direction of rotation (Default value: 0)
TRUE = Absolute target position reached
TRUE = The task is being executed.
TRUE = During execution the task was aborted by another task.
Error OUT Bool TRUE = An error has occurred during execution of the task. The
cause of the error can be found in parameters "ErrorID" and "ErrorIn-
Error ID for parameter "Error" (Default value: 0000)
Error info ID for parameter "ErrorID" (Default value: 0000)
You can configure the positioning axis as a Modulo axis. When using a modulo axis, you can
select the motion direction with the "Direction" input parameter. Motion control ignores the
"Direction" input if the axis is not a Modulo axis.
The following table shows the valid values for the Direction input:
Sign of velocity defines the motion direction
Motion with positive velocity
Motion with negative velocity
Motion with shortest distance to the destination