Operands And Data Types For The Uss_Init Subroutine; Using The Uss_Init 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
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
USS
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD
BAUD
VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, Constant, AC *VD, *AC,
*LD
ACTIVE
VD, ID, QD, MD, SD, SMD, LD, AC, Constant, *VD, *AC, *LD
DONE
I, Q, M, S, SM, T, C, V, L
ERR
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD
Figure 11-3 shows how the USS_INIT subroutine is used in LAD, FBD, and STL.
I0.0
16#0000_0001
Figure 11-3
11-6
Operands
LAD
USS_INIT
EN
P
1
USS
DONE
M0.0
BAUD
ERR
VB10
9600
ACTIVE
P
I0.0
9600
16#0000_0001

Using the USS_INIT Subroutine in LAD, FBD, and STL

STL
LD
I0.0
EU
CALL
USS INIT, 1, 9600,
16#0000_0001, M0.0, VB10
FBD
USS_INIT
EN
USS
DONE
1
M0.0
BAUD
ERR
VB10
ACTIVE
S7-200 Programmable Controller System Manual
Data Types
BYTE
WORD
DWORD
BOOL
BYTE
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents