en:software:qview:qview_6:qcl_library:vc10copy

This translation is older than the original page and might be outdated. See what has changed.

This is an old revision of the document!


VC10Copy

V = Variables

C = Calculation functions The VC10Copy function copy the value from a variable to another.

VC10Copy (val01, val02)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
IN SYSTEM val01 L/S First value to compare
IN SYSTEM val02 L/S Second value to compare
IN SYSTEM val03 L/S The value to compare with val01 and val02
OUT SYSTEM result B Variable containing the result of the comparison according to the truth table shown above

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
  • Last modified: 2022/05/03 09:00