Programming
7.3 Motion Control instructions
S7-1500 Motion Control V13 Update 3
178
Function Manual, 07/2014, A5E03879256-AC
7.3
Motion Control instructions
7.3.1
Motion Control instruction parameters
Description
When creating your user program, take account of the following explanations of the Motion
Control instruction parameters.
Reference to the technology object
The specification of the technology object to the Motion Control instruction occurs as follows:
●
"Axis" parameter
In the "Axis" input parameter of a Motion Control instruction, a reference to the
technology object is specified, which the corresponding job should use.
Job start and receipt of the input parameters of a Motion Control instruction
When jobs are started, and when changed parameter values are received, a distinction is
made between the following Motion Control instructions:
●
Motion Control instructions with "Execute" parameter
With a rising edge at the "Execute" parameter, the job is started and the values pending
in the input parameters are applied.
Subsequently changed parameter values are not applied until the next job start.
Resetting the "Execute" parameter does not end the job, but does have an effect on the
indication duration of the job status. As long as "Execute" is set to TRUE, the output
parameters will be updated. If "Execute" is reset before the completion of a job, the
parameters "Done", "Error" and "CommandAborted" are correspondingly set for only one
call cycle.
●
Motion Control instructions with "Enable" parameter
The job is started by setting the "Enable" parameter.
As long as "Enable" = TRUE. the job remains enabled and changed parameter values are
immediately applied.
The job is ended by resetting the "Enable" parameter.
The input parameters "JogForward" and "JogBackward" of the "MC_MoveJog" Motion
Control instruction correspond in their behavior to the "Enable" parameter.