Uss Protocol Example Program - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

9.5.2.7

USS protocol example program

Table 9- 40
Sample USS program
Network 1
Network 2
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Network 1:
Initialize USS protocol: On the first scan, enable USS
protocol for port 1 at 19200 with drive address "0"
active.
LD SM0.1
CALL USS_INIT, 1, 19200, 16#00000001,
Q0.0, VB1
Network 2:
Control parameters for Drive 0
LD SM0.0
CALL USS_CTRL, M10.0, M10.1, M10.2,
M10.3, M10.4, 0, 1, 100.0, M1.0, VB2,
VW4, VD6, M0.1, M0.2, M0.3, M0.4
Libraries
9.5 USS library
561

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents