FC152

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
wMask (WORD)
Bit Mask

PARAMETERS (OUT)

wSts (INT)
Status

PARAMETERS (IN_OUT)

DESCRIPTION

GetSts() - Reads actual status
Returns the status of the object referenced by <obj>.
The actual status is ‘anded’ with <wMask> and returned by <wSts> (wSts:=obj.sts&wMask).
The function is defined for measuring points only. Description of the Output Parameters
Object/Signal Address wSts
Bin-MP (A) Status
Bin-MP (DBX) Status
Bin-MP (E) Status
Ana-MP (PEW) Status
Ana-MP (PAW) Status
Ana-MP (DBD) Status
Ana-MP (DBW) Status
PV (DBX) 0/1
PV (DBB) 0 ... 255
PV (DBW) 0 ... 65535
PV (DBD, int) 65535
PV (DBD, real) 65535
PV (DBW, string) 65535