FC172

SUMMARY

The AbvSpu provides functions to read and write process attributes (status, measuring value, alarm information) as well as to control process parameters (limits, delay times, etc.).

PARAMETERS (IN)

obj (INT)
Object Number
wSts (INT)
Status

PARAMETERS (OUT)

bOk (BOOL)
1=okay, 0=error
bChanged (BOOL)
Input signal has changed

PARAMETERS (IN_OUT)

DESCRIPTION

SetSts_ex() - Set Status
The value <wSts> is written to the S7-Address specified by the process connection of the object referenced by <obj>.

Originally the function was designed for the object type PO=Process Object.
For compatibility reasons to existing S7-Technology Programs the function is kept. Instead of POs it now is written to PV-Objects of the type BIT/BYTE/WORD.

Description of the Output Parameters
Object/Signal Address bOk bChanged Remark
MP 0 x -
PV (DBX) 1 0/1 Bit is reset for wSts=0, otherwise it is set.
PV (DBB) 1 0/1 "wSts" is cut to the Byte-Area
PV (DBW) 1 0/1 "wSts" is cut to the Byte-Area
PV (DBD, int) 0 x -
PV (DBD, real) 0 x -
PV (DBW, string) 0 x -
On the next object processing the Measuring Value of the object is calculated new on base of the modified Input Signal.