Open loop motion control
12.6 Subroutines created by the Motion wizard for the Axis of Motion
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
517
Table 12- 22 AXISx_DIS
DIS_ON, Error
The AXISx_DIS subroutine turns the DIS output of the Axis of Motion
on or off. This allows you to use the DIS output for disabling or enabling
a motor controller. If you use the DIS output on the Axis of Motion, then
this subroutine can be called every scan or only when you need to
change the value of the DIS output.
Table 12- 23 Parameters for the AXISx_DIS subroutine
DIS_ON BOOL IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD, Con-
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
When the EN bit turns on to enable the subroutine, the DIS_ON parameter controls the DIS
output of the Axis of Motion.
Note
If you have not defined a "DIS" output in the Motion wizard, the AXISx_DIS subroutine will
return an error.
The Error parameter (Page 545) contains the result of this subroutine.