Example of parameterising an axis in manual mode

Programing Example

prg_example

Example of parameterising an axis in manual mode

%main

#HANDWHEEL [AX=X RES1=0.1 RES2=0.2 RES3=0.5]

#JOG CONT [AX=X FEED1=1.0 FEED2=1.5 FEED3=2.0]

#JOG INCR [AX=X DIST1=0.1 FEED1=1.0 DIST2=0.2 FEED2=1.5 DIST3=0.5 FEED3=2.0]

#MANUAL LIMITS [AX=X NEGATIVE=-5 POSITIVE=5]

...

G201 X1

...

G202 X1

...

The command

#HANDWHEEL [AX=X RES1=0.1 RES2=0.2 RES3=0.5]

specifies the handwheel resolution stages of the X axis. The resolution stages are 0.1, 0.2 and 0.5 mm/handwheel revolution.

The command

#JOG CONT [AX=X FEED1=1.0 FEED2=1.5 FEED3=2.0]

specifies the motion velocities for continuous jog mode of the X axis. The velocity stages are 1.0, 1.5 and 2.0 mm/min.

The command

#JOG INCR [AX=X DIST1=0.1 FEED1=1.0 DIST2=0.2 FEED2=1.5 DIST3=0.5 FEED3=2.0]

parameterises incremental jog and interruptible jog mode for the X axis. Incremental widths and velocities are programmed in pairs.

 

Stage 1:

Incremental width 0.1 mm

Velocity 1.0 mm/min

 

Stage 2:

Incremental width 0.2 mm

Velocity 1.5 mm/min

 

Stage 3:

Incremental width 0.5 mm

Velocity 2.0 mm/min

The command

#MANUAL LIMITS [AX=X NEGATIVE=-5 POSITIVE=5]

sets negative offset limit for manual mode to – 5 mm and the positive offset limit to +5 mm.

The following commands select or deselect manual mode for the X axis. If G202 is programmed along, manual mode is deactivated for all axes.

G201 X1

G202 X1

G202