Technology instructions
10.3 Motion control
S7-1200 Programmable controller
750 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 10- 71 Parameters for the MC_MoveJog instruction
JogForward
1
IN Bool As long as the parameter is TRUE, the axis moves in the positive
direction at the velocity specified in parameter "Velocity". The sign of
the value in parameter "Velocity" is ignored. (Default value: False)
JogBackward
1
IN Bool As long as the parameter is TRUE, the axis moves in the negative
direction at the velocity specified in parameter "Velocity". The sign of
the value in parameter "Velocity" is ignored. (Default value: False)
Velocity IN Real Preset velocity for jog mode (Default value: 100.0)
Limit values: Start/stop velocity ≤ |Velocity| ≤ maximum velocity
PositionControlled IN Bool
• 0: speed controlled
• 1: position controlled (Default value: True)
TRUE = The velocity specified in parameter "Velocity" was 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)
If both the JogForward and JogBackward parameters are simultaneously TRUE, the axis stops with the configured
deceleration. An error is indicated in parameters "Error", "ErrorID", and "ErrorInfo".
The following values were configured in the "Dynamics > General" configuration window: Acceleration = 10.0 and Decelera-
The axis is moved in the positive direction in jog mode via "Jog_F". When the target velocity 50.0 is reached, this is
signaled via "InVelo_1". The axis brakes to a standstill again after Jog_F is reset.
The axis is moved in the negative direction in jog mode via "Jog_B". When the target velocity 50.0 is reached, this
is signaled via "InVelo_1". The axis brakes to a standstill again after Jog_B is reset.