 |
ALPHA-VISION® API-Interface to Technology program: FC161
|
FC161
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 (INT)
- Alarm Level
- bOk (BOOL)
- Status
(1=ok, 0=Fehler)
PARAMETERS (IN_OUT)
DESCRIPTION
GetALvl() - Actual Alarm Level
Returns the Alarm Level for the actual status of a Measuring Point.
The function is defined for Measuring Points (MP) only.
- The Alarm Level is defined for status 1 to 8 and 'out of Range'.
- For status 'fadedout' and 'undefined' Alarm Level 0 is returned.
- For blocked alarm status Alarm Level 0 is returned.
- For Objects of the types 'Process Variables' Alarm Level 0 and
'bOk=0 (error)' is returned.
- Possible Errors:
- a) Invalid Object Number
- b) wrong Object Type