 |
ALPHA-VISION® API-Interface to Technology program: FC157
|
FC157
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)
- iVal (DINT)
- Value as INTEGER (DINT)
PARAMETERS (IN_OUT)
DESCRIPTION
GetValueI() - Reads the actual value in the format <DINT>
Returns the value of the object referenced by <obj> in the
format <DINT>.
The function is defined for Measuring Points (MP) and Process Variables
(PV).
- For MP-Objects the value <obj.val> is returned.
- For PV-Objects of the type <Bit/Byte/Word/Dword/Real> the
value <obj.val> is returned.
- The value is returned as <DINT>.
Internally the value of MPs are stored as real digit, that also applies
for PVs of the format <REAL>. The return values of <bVal>
and <iVal> are calculated from the REAL-Value.
Description of the Output Parameters
| Object/Signal Address |
iVal |
| Bin-MP (A) |
1/0 |
| Bin-MP (DBX) |
1/0 |
| Bin-MP (E) |
1/0 |
| Ana-MP (PEW) |
L#-2147483648 to L##2147483647
|
| Ana-MP (PAW) |
L#-2147483648 to L##2147483647
|
| Ana-MP (DBD) |
L#-2147483648 to L##2147483647
|
| Ana-MP (DBW) |
L#-2147483648 to L##2147483647
|
| PV (DBX) |
1/0 |
| PV (DBB) |
0 ... 255 |
| PV (DBW) |
0 ... 65535 |
| PV (DBD, int) |
L#-2147483648 to L##2147483647
|
| PV (DBD, real) |
L#-2147483648 to L##2147483647
|
| PV (DBW, string) |
0 ... 65535 |
On the next object processing the Measuring Value of the object is
calculated new on base of the modified Input Signal.