Using The Drv_Ctrl Subroutine In Lad, Fbd, And Stl - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Using USS Protocol Instructions to Communicate with Drives
Table 11-3 Operands and Data Types for the DRV_CTRL Subroutine
Inputs/Outputs
INHIBIT
I, Q, M, S, SM, T, C, V, L
FAULT
I, Q, M, S, SM, T, C, V, L
Figure 11-5 shows how the DRV_CTRL subroutine should be used in LAD, FBD,
and STL.
SM0.0
I0.0
I0.1
I0.2
I0.3
I0.4
100.0
Figure 11-5
11-10
Operands
LAD
DRV_CTRL
EN
RUN
OFF2
OFF3
F_ACK
DIR
0
DRIVE
RSP_R
SPD_SP
ERR
STATUS
SPEED
RUN_EN
DIR_CW
INHIBIT
FAULT
NETWORK 2
//Control box for drive 0
//
LD
SM0.0
CALL
DRV_CTRL, I0.0, I0.1, I0.2, I0.3,
I0.4, 0, 100.0, M0.0, VB2, VW4, VD6, Q0.0,
Q0.1, Q0.2, Q0.3

Using the DRV_CTRL Subroutine in LAD, FBD, and STL

DRV_CTRL
EN
SM0.0
I0.0
RUN
OFF2
I0.1
OFF3
I0.2
F_ACK
I0.3
DIR
I0.4
0
DRIVE
M0.0
SPD_SP
100.0
VB2
VW4
VD6
Q0.0
Q0.1
Q0.2
Q0.3
STL
S7-200 Programmable Controller System Manual
Data Types
BOOL
BOOL
FBD
RSP_R
M0.0
ERR
VB2
VW4
STATUS
SPEED
VD6
RUN_EN
Q0.0
DIR_CW
Q0.1
INHIBIT
Q0.2
FAULT
Q0.3
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents