Technology instructions
10.3 Motion control
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
731
Motion control instructions
10.3.7.1
The motion control instructions use an associated technology data block and the dedicated
PTO (pulse train outputs) of the CPU to control the motion on an axis.
● MC_Power (Page 733) enables and disables a motion control axis.
● MC_Reset (Page 736) resets all motion control errors. All motion control errors that can
be acknowledged are acknowledged.
● MC_Home (Page 737) establishes the relationship between the axis control program and
the axis mechanical positioning system.
● MC_Halt (Page 740) cancels all motion processes and causes the axis motion to stop.
The stop position is not defined.
● MC_MoveAbsolute (Page 742) starts motion to an absolute position. The job ends when
the target position is reached.
● MC_MoveRelative (Page 745) starts a positioning motion relative to the start position.
● MC_MoveVelocity (Page 747) causes the axis to travel with the specified speed.
● MC_MoveJog (Page 749) executes jog mode for testing and startup purposes.
● MC_CommandTable (Page 751) runs axis commands as a movement sequence.
● MC_ChangeDynamic (Page 754) changes Dynamics settings for the axis.
● MC_WriteParam (Page 756) writes a select number of parameters to change the
functionality of the axis from the user program.
● MC_ReadParam (Page 758) reads a select number of parameters that indicate the
current position, velocity, and so forth of the axis defined in the Axis input.