9.5.2.5
USS_WPM_x instruction
Table 9- 35
USS_WPM_x instructions
LAD / FBD
STL
CALL USS_WPM_W, XMT_REQ, EEPROM,
Drive, Param, Index, Value,
DB_Ptr, Done, Error
CALL USS_WPM_D, XMT_REQ, EEPROM,
Drive, Param, Index, Value,
DB_Ptr, Done, Error
CALL USS_WPM_R, XMT_REQ, EEPROM,
Drive, Param, Index, Value,
DB_Ptr, Done, Error
The USS_WPM_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- 36
Valid operands for the USS_WPM_x instructions
Inputs/outputs
Data type
XMT_REQ
BOOL
EEPROM
BOOL
Drive
BYTE
Param, Index
WORD
DB_Ptr
DWORD
Value
WORD
DWORD, REAL
Done
BOOL
Error
BYTE
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Operands
I, Q, M, S,SM,T,C,V,L, Power Flow conditioned by a rising edge detection element
I, Q, M, S, SM, T, C, V, L, Power Flow
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD, Constant
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, AIW, *VD, *AC, *LD, Constant
&VB
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, AQW, *VD, *AC, *LD
VD, ID, QD, MD, SD, SMD, LD, *VD, *AC, *LD
I, Q, M, S, SM, T, C, V, L
VB, IB, QB, MB, SB, SMB, LB, AC. *VD, *AC, *LD
Description
There are three write instructions for the USS protocol:
USS_WPM_W instruction writes an unsigned word
•
parameter.
USS_WPM_D instruction writes an unsigned dou-
•
ble word parameter.
USS_WPM_R instruction writes a floating-point
•
parameter.
Only one read (USS_RPM_x) or write (USS_WPM_x)
instruction can be active at a time.
Libraries
9.5 USS library
557