Axisx_Dis Subroutine - Siemens Simatic S7 Series System Manual

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

12.6.10

AXISx_DIS subroutine

Table 12- 22 AXISx_DIS
LAD / FBD
STL
CALL AXISx_DIS,
DIS_ON, Error
Table 12- 23 Parameters for the AXISx_DIS subroutine
Inputs/Outputs
DIS_ON
Error
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.
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
12.6 Subroutines created by the Motion wizard for the Axis of Motion
Description
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.
Data type
Operands
BOOL
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD, Con-
stant
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
Open loop motion control
517

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents