This is an old revision of the document!
VC10Copy
V = Variables
C = Calculation functions The VC10Copy function copies the value from a variable to another.
IMPLEMENTATION
VC10Copy (val01, val02)
Parameters:
IN/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
---|---|---|---|---|
IN | GLOBAL | dir | F | Activation variable |
IN | SYSTEM | vala | F | First variable |
IN | SYSTEM | valb | F | Second variable |
Example
Run the comparison when the “gfComp” flag is set to 1.
IF gfComp gfComp = 0 val01 = 1000 val02 = 5000 VC10CollVal (val01, val02, val03, result) ENDIF
Note
-
The function execute a WAIT a time every 180 milliseconds