EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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
Page #422 background imageLoading...
Page #422 background image
Libraries
9.2 USS library instructions
S7-200 SMART
422 System Manual, 09/2015, A5E03822230-AC
9.2.2.4
USS_RPM_x instruction
Table 9- 10 USS_RPM_x instructions
LAD / FBD
STL
Description
CALL USS_RPM_W, XMIT_REQ, Drive,
Param, Index, DB_Ptr, Done, Er-
ror, Value
CALL USS_RPM_D, XMIT_REQ, Drive,
Param, Index, DB_Ptr, Done, Er-
ror, Value
CALL USS_RPM_R, XMIT_REQ, Drive,
Param, Index, DB_Ptr, Done, Er-
ror, Value
There are three read instructions for the USS protocol:
USS_RPM_W instruction reads an unsigned word
parameter.
USS_RPM_D instruction reads an unsigned double
word parameter.
USS_RPM_R instruction reads a floating-point
parameter.
Only one read (USS_RPM_x) or write
(USS_WPM_x) instruction can be active at a time.
The USS_RPM_x transactions complete when the drive acknowledges receipt of the
command or when an error condition is posted. The logic scan continues to execute while
this process awaits a response.
Table 9- 11 Valid operands for the USS_RPM_x instructions
Inputs/outputs
Data type
Operands
XMT_REQ BOOL I, Q, M, S, SM, T, C, V, L, Power Flow conditioned by a rising edge detection
element
Drive
BYTE
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD, Constant
Param, Index WORD VW, IW, QW, MW, SW, SMW, LW, T, C, AC, AIW, *VD, *AC, *LD, Constant
DB_Ptr
DWORD
&VB
Value WORD
DWORD, REAL
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, AQW, *VD, *AC, *LD
VD, ID, QD, MD, SD, SMD, LD, *VD, *AC, *LD
Done
BOOL
I, Q, M, S, SM, T, C, V, L
Error
BYTE
VB, IB, QB, MB, SB, SMB, LB, AC. *VD, *AC, *LD
The "EN" bit must be on to enable transmission of a request, and should remain on until the
"Done" bit is set, signaling completion of the process. For example, a USS_RPM_x request
is transmitted to the drive on each scan when the "XMT_REQ" input is on. Therefore, the
"XMT_REQ" input should be pulsed on through an edge detection element which causes
one request to be transmitted for each positive transition of the "EN" input.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals