Uss_Wpm Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Programming instructions
6.3 Global library instructions
Parameter
VALUE
DONE
ERROR
STATUS
6.3.1.5

USS_WPM instruction

LAD
Note
EEPROM write operations
Beware of overusing the EEPROM permanent write operation. Minimize the number of
EEPROM write operations to extend the EEPROM life.
184
Parameter
Data type
type
IN
Word, Int,
UInt,
DWord,
DInt, UDInt,
Real
OUT
Bool
OUT
Bool
OUT
UInt
FBD
Description
This is the value of the parameter that was read and is valid
only when the DONE bit is true.
Done: When TRUE indicates that the VALUE output holds
the previously requested read parameter value.
This bit is set when USS_DRV sees the read response data
from the drive.
This bit is reset when either:
you request the response data via another USS_RPM
poll
Or
On the second of the next two calls to USS_DRV
Error occurred – When true, this 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.
This is the status value of the request. It indicates the result
of the read request. Additional information is available in the
"USS_Extended_Error" variable for some status codes.
The USS_WPM instruction modifies
a parameter in the drive. All USS
functions associated with one USS
network and PtP communication
module must use the same data
block. USS_WPM must be called
from the main OB.
System Manual, 11/2009, A5E02486680-02
S7-1200 Programmable controller

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents