 |
ALPHA-VISION® API-Interface to Technology program: FC169
|
FC169
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)
- rVal (REAL)
- Measuring value as real
digit (REAL)
- bOk (BOOL)
- 1=okay, 0=error
PARAMETERS (IN_OUT)
DESCRIPTION
GetValueR_ex() - Reads actual measuring value in the format
<REAL>.
Returns the value of the object referenced by <obj> in the
format<REAL>.
The function is defined for Measuring Points (MP) and Process
Variables (PV).
- For MP-Objects the measuring value <obj.val> is returned.
- For PV-Objects of the types <Bit/Byte/Word/Dword/Real>
the measuring value <obj.val> is returned.
- The measuring value is returned as <REAL>.
- In case of an error <bOk=0> is returned.
- Possible error: Invalid Object Number.
Internally the value of MPs are stored as real digit, that also applies
for PVs of the format <REAL>.
Description of the Output Parameters
| Object/Signal Address |
bOk |
rVal |
| Bin-MP (A) |
1 |
1.0/0.0 |
| Bin-MP (DBX) |
1 |
1.0/0.0 |
| Bin-MP (E) |
1 |
1.0/0.0 |
| Ana-MP (PEW) |
1 |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (PAW) |
1 |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (DBD) |
1 |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (DBW) |
1 |
-3.402823e+38 to +3.402823e+38
|
| PV (DBX) |
1 |
1.0/0.0 |
| PV (DBB) |
1 |
0.0 ... 255.0 |
| PV (DBW) |
1 |
0.0 ... 65535.0 |
| PV (DBD, int) |
1 |
-2.147e+009 to +2.147e+009
|
| PV (DBD, real) |
1 |
-3.402823e+38 to +3.402823e+38
|
| PV (DBW, string) |
1 |
0.0 ... 65535.0 |
On the next object processing the Measuring Value of the object is
calculated new on base of the modified Input Signal.