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 copy when the “gfCopy” flag is set to 1.
IF gfCopy gfCopy = 0 vala = 1000 valb = 5000 VC10Copy (dir,vala, valb) ENDIF
Note
-
The function execute a WAIT a time every 180 milliseconds