 |
ALPHA-VISION® API-Interface to Technology program: FC158
|
FC158
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)
- Value as real digit (REAL)
- bOk (BOOL)
- 1=okay, 0=Error
PARAMETERS (IN_OUT)
DESCRIPTION
GetValueR() - Reads actual 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 value <obj.val> is returned.
- Für PV-Objects of the type <Bit/Byte/Word/Dword/Real> the
value <obj.val> is returned.
- The value is returned as <REAL>.
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 |
rVal |
| Bin-MP (A) |
1.0/0.0 |
| Bin-MP (DBX) |
1.0/0.0 |
| Bin-MP (E) |
1.0/0.0 |
| Ana-MP (PEW) |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (PAW) |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (DBD) |
-3.402823e+38 to +3.402823e+38
|
| Ana-MP (DBW) |
-3.402823e+38 to +3.402823e+38
|
| PV (DBX) |
1.0/0.0 |
| PV (DBB) |
0.0 ... 255.0 |
| PV (DBW) |
0.0 ... 65535.0 |
| PV (DBD, int) |
-2.147e+009 to +2.147e+009
|
| PV (DBD, real) |
-3.402823e+38 to +3.402823e+38
|
| PV (DBW, string) |
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.