8 Application Examples
DVP-PM Application Manual
8-4
Example of G-code instructions for trajectory 1.
P0 P0 subroutine
G90 Set up absolute coordinate
G00 X-20.0 Y20.0 Fast move to designated position
G01 X60.0 Y20.0 F20.0
Move to designated position by linear
interpolation. Can also be written as
G01 X60.0 F20.0
G01 X60.0 Y100.0 F20.0
Move to designated position by linear
interpolation. Can also be written as
G01 Y100.0
G01 X-20.0 Y100.0 F20.0
Move to designated position by linear
interpolation. Can also be written as
G01 X-20.0
G01 X-20.0 Y20.0 F20.0
Move to designated position by linear
interpolation. Can also be written as
G01 Y20.0
SRET
Example of motion instructions for trajectory 2
P0 P0 subroutine
ABST Set up absolute coordinate
DRV X-10000 Y10000 Fast move to designated position
LIN X20000 Y10000 F40000
Move to designated position by linear
interpolation. Can also be written as
LIN X20000 F40000
CCW X20000 Y70000 J30000 F20000
Move to designated position by arc
interpolation. Can also be written as
CCW Y70000 J30000 F20000
LIN X-10000 Y70000 F20000
Move to designated position by linear
interpolation. Can also be written as
LIN X-10000
CCW X-10000 Y10000 J-30000 F20000
Move to designated position by arc
interpolation. Can also be written as
CCW Y10000 J-30000
SRET
Example of G-code instructions for trajectory 2
P0 P0 subroutine
G90 Set up absolute coordinate
G00 X-10.0 Y10.0 Fast move to designated position
G01 X20.0 Y10.0 F40.0
Move to designated position by linear
interpolation. Can also be written as
G01 X20.0 F40.0
G03 X20.0 Y70.0 J30.0 F20.0
Move to designated position by arc
interpolation. Can also be written as
G03 Y70.0 J30.0 F20.0
G01 X-10.0 Y70.0 F20.0
Move to designated position by linear
interpolation. Can also be written as
G01 X-10.0
G03 X-10.0 Y10.0 J-30.0 F20.0
Move to designated position by arc
interpolation. Can also be written as
G03 Y10.0 J-30.0
SRET