DefaultTaskMotionMode Parameter

Default Value: 1

Minimum Value: 0

Maximum Value: 3

Units: None

Type: int

Use the DefaultTaskMotionMode parameter to set the default motion mode that is used when a G0, G1, G2, or G3 command is not specified on a program line that contains motion.

The motion mode is a modal setting. You can change the motion mode in a program by issuing a G0, G1, G2, or G3 command.

Do not try to set the active motion mode with this parameter. To set the motion mode from within an AeroScript program, use the G0, G1, G2, or G3 command. For more information, refer to G-Code Programming.

SetupTaskTargetMode(TargetMode.Incremental)
G1 X10 Y5 F100
// This causes a G1 move to occur on the X and Y axes.
X10 Y5
G0 X10 Y5 XF100 YF100
// This causes a G0 move to occur on the X and Y axes.
X10 Y5

IMPORTANT: You must reset the controller for these changes to have an effect.