 |
ALPHA-VISION® API-Interface to Technology program: FC176
|
FC176
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
- iLmtNo (INT)
- Limit number 1..7
PARAMETERS (OUT)
- r4Lmt (REAL)
- Limit
- bOk (BOOL)
- Status (1=okay, 0=error)
PARAMETERS (IN_OUT)
DESCRIPTION
GetLimit() - Reads Limit
The limit -specified by the parameter <iLmtNo>- of the analogue
Measuring Point referenced by <obj> is returned
The function is defined for analogue Measuring Points (MP) only.
- For Objects of the type 'PV=Process Variables' and 'Binary-MP'
'bOk=0 (error)' is returned.
- Possible errors:
- a) Invalid Object Number
- b) Worong object type
- c) rule for limits not obeyed
Description of the Output Parameters
| Object Type |
bOk |
Remark |
| MP (analogue) |
1 |
The limit defined by 'iLmtNo' must exist. |
| MP (binary) |
0 |
- |
| PV |
0 |
- |