102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
389
Table 9- 64 Example 1 - If the parameterized velocity is reached and maintained
-RJ)RUZDUG
-RJ%DFNZDUG
%XV\
,Q9HORFLW\
&RPPDQG
$ERUWHG
(UURU
JogForward
-RJ)RUZDUG
-RJ%DFNZDUG
%XV\
,Q9HORFLW\
&RPPDQG
$ERUWHG
(UURU
JogBackward
①
The task is started with a positive edge at the input parameter "JogForward" or "JogBackward".
②
While the task is active, the output parameter "Busy" indicates the value TRUE.
③
When the parameterized velocity is reached, the output parameter "InVelocity" changes to TRUE.
④
When the input parameter "JogForward" or "JogBackward" is reset to the value FALSE, the axis motion ends. The axis
starts to decelerate. As a result, the axis no longer moves at constant velocity and the output parameter "InVelocity"
changes its status to FALSE.
⑤
If the axis has come to a standstill, the motion control task is complete and the output parameter "Busy" changes its
value to FALSE.