EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
12.6.10
AXISx_DIS subroutine
Table 12- 22 AXISx_DIS
LAD / FBD
STL
Description
CALL 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
Inputs/Outputs
Data type
Operands
DIS_ON BOOL IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD, Con-
stant
Error
BYTE
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.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals