Using USS Protocol Instructions to Communicate with Drives
11-15
S7-200 Programmable Controller System Manual
A5E00066097-02
Figure 11-7 shows how the WRITE_PM subroutine is used in LAD, FBD, and STL.
WRITE_PM
EN
XMT_REQ
DB_PTR
DONE
ERRDRIVE
I0.0
I0.0
P
&VB100
0
PARM
3
VW50
VAL
LAD
STL
FBD
M0.0
VB10
WRITE_PM
EN
XMT_REQ
DB_PTR
DONE
ERRDRIVE
I0.0
I0.0
&VB100
0
PARM
3
VW50
VAL
P
M0.0
VB10
LD I0.0
= L60.0
LD I0.0
EU
= L63.7
LD L60.0
CALL WRITE_PM, L63.7, 0, 3,
VW50, &VB100, M0.0, VB10
These two contacts must be the same.
These two contacts must be the same.
These two contacts must be the same.
Figure 11-7 Using the WRITE_PM Subroutine in LAD, FBD, and STL