Programming
7.5 Tracking active jobs
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
189
7.5.3
Motion Control instructions without "Done" parameter
Description
Motion Control instructions without the "Done" parameter use a special parameter to achieve
the job target (e.g. "InVelocity", "InGear"). The target state or the movement is paused until
the job is canceled or an error occurs.
The following Motion Control instructions have a special parameter to display the job status:
●
MC_Power ( parameter "Status")
●
MC_MoveVelocity (parameter "InVeloctity")
●
MC_GearIn (parameter "InGear")
●
MC_MoveJog (parameter "InVelocity")
The special behavior of "MC_MoveJog" is described in the section Motion Control
Instruction MC_MoveJog (Page 193).
The behavior of the parameter is shown for various situations using the Motion Control
instruction "MC_MoveVelocity" as an example:
Example "MC_MoveVelocity"
An "MC_MoveVelocity" job is started with a positive edge at the "Execute" parameter. The
job objective is fulfilled when the assigned velocity is reached and the axis travels at
constant velocity. When the assigned velocity is reached and maintained, this is indicated in
the "InVelocity" parameter with the value TRUE.
The motion of the axis can, for example, be stopped with an "MC_Halt" job.