Siemens S7-1200 System Manual page 721

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Table 12- 43 Data types for the parameters
Parameter and type
REQ
IN
DRIVE
IN
PARAM
IN
INDEX
IN
EEPROM
IN
VALUE
IN
USS_DB
INOUT
DONE
OUT
1
ERROR
OUT
STATUS
OUT
The DONE bit indicates that valid data has been read from the referenced motor drive and delivered to the CPU. It does
1
not indicate that the USS library is capable of immediately reading another parameter. A blank PKW request must be
sent to the motor drive and must also be acknowledged by the instruction before the parameter channel for the specific
drive becomes available for use. Immediately calling a USS_RPM or USS_WPM FC for the specified motor drive will
result in a 0x818A error.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
Description
Bool
Send request: When true, REQ indicates that a new write request is
desired. This is ignored if the request for this parameter is already
pending.
USInt
Drive address: DRIVE is the address of the USS drive. The valid range is
drive 1 to drive 16.
UInt
Parameter number: PARAM designates which drive parameter is written.
The range of this parameter is 0 to 2047. On some drives, the most
significant byte can access PARAM values greater than 2047. See your
drive manual for details on how to access an extended range.
UInt
Parameter index: INDEX designates which Drive Parameter index is to be
written. A 16-bit value where the least significant byte is the actual index
value with a range of (0 to 255). The most significant byte may also be
used by the drive and is drive-specific. See your drive manual for details.
Bool
Store To Drive EEPROM: When true, a write drive parameter transaction
will be stored in the drive EEPROM. If false, the write is temporary and
will not be retained if the drive is power cycled.
Word, Int, UInt,
The value of the parameter that is to be written. It must be valid on the
DWord, DInt,
transition of REQ.
UDInt, Real
USS_BASE
The name of the instance DB that is created and initialized when a
USS_DRV instruction is placed in your program.
Bool
When true, DONE indicates that the input VALUE has been written to the
drive. This bit is set when USS_DRV sees the write response data from
the drive. This bit is reset when either you request the response data via
another USS_WPM poll, or on the second of the next two calls to
USS_DRV
Bool
When true, ERROR indicates that an error has occurred and the STATUS
output is valid. All other outputs are set to zero on an error.
Communication errors are only reported on the USS_PORT instruction
ERROR and STATUS outputs.
Word
STATUS indicates the result of the write request. Additional information is
available in the "USS_Extended_Error" variable for some status codes.
Communication processor and Modbus TCP
12.4 Universal serial interface (USS) communication
721

Advertisement

Table of Contents
loading

Table of Contents