Siemens SIMATIC S7 System Manual page 562

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Libraries
9.5 USS library
Network 3
Network 4
Refer to "Using the USS protocol instructions" (Page 548) for and a listing of USS protocol
instructions and error codes and example programs.
562
Network 3:
Read a Word parameter from Drive 0.
Read parameter 5, index 0:
1. Save the state of M10.5 to a temporary location so
that this network displays in LAD.
2. Save the rising edge pulse of I0.5 to a temporary
L location so that it can be passed to the subrou-
tine.
LD M10.5
= L60.0
LD M10.5
EU
= L63.7
LD L60.0
CALL USS_RPM_W, L63.7, 0, 5, 0, &VB20,
M1.1, VB10, VW12
Network 4:
Write a Word parameter to Drive 0. Write parame-
ter 2000, index 0.
Note: This STL code does not compile to LAD or FBD.
LD M10.6
= L60.0
LD M10.6
EU
= L63.7
LDN SM0.0
= L63.6
LD L60.0
CALL USS_WPM_R, L63.7, L63.6, 0, 2000,
0, 50.0, &VB40, M1.2, VB14
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents