 |
ALPHA-VISION® API-Interface to Technology program: FC163
|
FC163
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
- r4Lmt (REAL)
- Limit
- iLmtNo (REAL)
- Limit # 1..7
PARAMETERS (OUT)
- bOk (BOOL)
- Status (1=okay, 0=Error)
PARAMETERS (IN_OUT)
DESCRIPTION
SetLimit() - Set Limit
The limit -specified by the parameter <iLmtNo>- of the analogue
Measuring Point -referenced by <obj>- is set to the value
<r4Lmt>.
The function is defined for analogue Measuring Points (MP) only.
- On setting a limit the rule 'G1>G2...>G7' must be achieved.
- All limits must lie within the defined range for the MP.
- For Objects of the type 'PV=Process Variables' and 'Binary-MPs'
'bOk=0 (Error)' is returned.
- Possible Errors:
- a) Invalid Object Number
- b) wrong Object Type
- b) rule for limits not obeyed
Description of the Output Parameters
| Object Type |
bOk |
Remark |
| MP (analogue) |
1 |
rule for limits must be achieved. |
| MP (binary) |
0 |
- |
| PV |
0 |
- |