Programming
7.4 Starting Motion Control jobs
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
183
7.4
Starting Motion Control jobs
Description
Motion Control jobs are started by setting the "Execute" or "Enable" parameter of the Motion
Control instruction. The call of the Motion Control instructions for a technology object should
occur in an execution level.
When executing Motion Control jobs, you should also take note of the status of the
technology object.
Starting Motion Control jobs should be performed in the following steps:
1.
Query the status of the technology object.
2.
Initiate new job for the technology object.
3.
Check job status.
These steps are explained using the example of a job for absolute positioning.
1. Query the status of the technology object
Make sure that the technology object is in the appropriate status to perform the desired job:
●
Has the technology object been released?
To execute motion jobs, the technology object must be enabled.
Enabling is performed using the Motion Control instruction "MC_Power".
The "MC_Power.Status" parameter must show the value TRUE.
●
Is a technology alarm pending?
To perform motion jobs, no technology alarms may be pending. After resolving the error,
acknowledge any possibly pending alarms using the Motion Control instruction
"MC_Reset".
A list of the technology alarms and alarm reactions can be found in the appendix,
Technology Alarms (Page 368).
●
Has the technology object been homed?
In order to perform a job for absolute positioning, the positioning axis/synchronous axis
technology object must be homed. The referencing occurs via the Motion Control
instruction "MC_Home". The "<TO>.StatusWord.X5 (HomingDone) " tag of the
technology object must show the value TRUE .
2. Initiate new job for the technology object
Initiate a new job.
In the "Position" parameter of the "MC_MoveAbsolute" instruction, specify the position to
which the axis should be moved. Start the job with a positive edge at the "Execute"
parameter.