 |
ALPHA-VISION® Functions: aci.Drv_SetVal
|
aci.Drv_SetVal
SUMMARY
Set the value of a data object as a driver.
SYNTAX
aci.Drv_SetVal(
(<object number>|<point id>),
<value>)
ARGUMENTS
- object number (type:number)
-
A data object number
- point id (type:string)
-
The name of a data object
- value (type:number)
-
The new value.
ERROR HANDLING
The function will fail and terminate script execution if strict error checking is enabled (see
aci.SetStrictMode()) and
one of the following conditions is met:
-
The given data object does not exist.
-
The value cannot be set.
DESCRIPTION
The new value is directly written to the process image in
aci.dll and from there to all applications connected to ALPHA-VISION
®.
The value is not sent to PLCs or propagated to other operation stations.
EXAMPLES
aci.Drv_SetVal("TANKVOLUME", 1362.45)
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times