EasyManua.ls Logo

Siemens SIMATIC S7-200 - Operands and Data Types for the USS_INIT Subroutine; Using the USS_INIT Subroutine in LAD, FBD, and STL

Siemens SIMATIC S7-200
606 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using USS Protocol Instructions to Communicate with Drives
11-6
S7-200 Programmable Controller System Manual
A5E00066097-02
When the USS_INIT instruction completes, the DONE output is turned on. The
ERR output byte contains the result of executing the instruction. Table 11-6 on
page 11-16 defines the possible error conditions that may result from executing
the
instruction.
Table 11-2 shows the operands and data types of the USS subroutines.
Table 11-2 Operands and Data Types for the USS_INIT Subroutine
Inputs/Outputs
Operands Data Types
USS VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD BYTE
BAUD VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, Constant, AC *VD, *AC,
*LD
WORD
ACTIVE VD, ID, QD, MD, SD, SMD, LD, AC, Constant, *VD, *AC, *LD DWORD
DONE I, Q, M, S, SM, T, C, V, L BOOL
ERR VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD BYTE
Figure 11-3 shows how the USS_INIT subroutine is used in LAD, FBD, and STL.
LAD STL
FBD
USS_INIT
EN
USS
ACTIVE
DONE
ERRBAUD
M0.0
VB10
I0.0
P
16#0000_0001
9600
USS_INIT
EN
USS
BAUD
DONE
ERR
ACTIVE
M0.0
VB10
I0.0
16#0000_0001
9600
P
1
1
LD I0.0
EU
CALL USS INIT, 1, 9600,
16#0000_0001, M0.0, VB10
Figure 11-3 Using the USS_INIT Subroutine in LAD, FBD, and STL

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals