Example

Example 1:

VRT number: 1 parameter

Main case: Use VRT function to all motion.

Function main
	Motor On
	Power High

	Speed 100
	Accel 100, 100

	VRT_Set 1, 150, 300
	VRT 1
	Go XY(200, 200, 0, 0)
	Go XY(-200, 200, 0, 0)
Fend

Example 2:

VRT number: 2 parameter

Main case: Use two VRT parameters. Enable/disable VRT function.

Function main
	Motor On
	Power High

	Speed 100
	Accel 100, 100

	VRT_Set 1, 150, 300
	VRT_Set 2, 100, 200
	VRT 1
	Go XY(200, 200, 0, 0)
	Go XY(-200, 200, 0, 0)
	VRT 0
	Go XY(-150, 200, 0, 0)
	VRT 2
	Go XY(-120, 200, 0, 0)
Fend

Example 3:

Do not change VRT number and change VRT parameter.

Function main
	Motor On
	Power High

	Speed 100
	Accel 100, 100

	VRT_Set 1, 150, 300
	VRT 1
	Go XY(200, 200, 0, 0)
	Go XY(-200, 200, 0, 0)
	VRT_Set 1, 250, 350
	Go XY(-150, 200, 0, 0)
	Go XY(-120, 200, 0, 0)
Fend

Example 4:

Use VRT function in CP motion

Function main
	Motor On
	Power High

	Speed 100
	Accel 100, 100
	SpeedS 2000
	AccelS 25000, 25000

	VRT_Set 1, 150, 300
	VRT 1
	VRT_CPMotion On

	Go XY(200, 200, 0, 0)
	Move XY(-200, 200, 0, 0)
Fend

Note: As shown below, path motion cannot be operated by motions that VRT function automatically “disabled” and “enabled”. (Path motion is “disabled” automatically.)

VRT 1
VRT_CPMotion Off

Go P1 CP
Move P2