FC170

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

PARAMETERS (OUT)

bVal (BOOL)
Measuring value as 0/1-Signal
bOk (BOOL)
1=okay, 0=error

PARAMETERS (IN_OUT)

DESCRIPTION

GetValueB_ex() - Reads the actual measuring value in the format <BOOL>.
Returns the value of the object referenced by <obj > in the format <BOOL>.

The function is defined for Measuring Points (MP) and Process Variables (PV).

Internally the value of MPs are stored as real digit, that also applies for PVs of the format <REAL>. The return value of <bVal> is calculated from the REAL-Value.


Internally the value of PVs with the format <BIT/BYTE/WORD/DWORD> are stored as INTEGER. The return values of <bVal> are calculated from the INTEGER-Value.

Description of the Output Parameters
Object/Signal Address bOk bVal
Bin-MP (A) 1 true/false
Bin-MP (DBX) 1 true/false
Bin-MP (E) 1 true/false
Ana-MP (PEW) 1 true/false
Ana-MP (PAW) 1 true/false
Ana-MP (DBD) 1 true/false
Ana-MP (DBW) 1 true/false
PV (DBX) 1 true/false
PV (DBB) 1 true/false
PV (DBW) 1 true/false
PV (DBD, int) 1 true/false
PV (DBD, real) 1 true/false
PV (DBW, string) 1 true/false
On the next object processing the Measuring Value of the object is calculated new on base of the modified Input Signal.