//*********************************Test G8/G9/WAIT/G47/G48 ************************
//Before active G47/G48, need create and config "ToolSet1" bellow datalayer: motion/cfg/coord-systems/pcs/sets
N10 G94
G0 X0 Y0 Z0 F10
G90 G01 X0 Y0 Z0 F2000
G8
G47(SET ="ToolSet1")
X0    Y10 Z0 
X10  Y10 Z0 
X20  Y10 Z0 
X60  Y10 Z0 
X90  Y10 Z0 
X100 Y50 Z0 
X120 Y50 Z0 
X160 Y50 Z0 
X100 Y50 Z0
 X60 Y50 Z0 
 X40 Y50 Z0 
 X20 Y20 Z0 
 X80 Y30 Z0 F4000
 X60 Y10 Z0  
 X40  Y10 Z0     
 X20 Y0 Z0 F600
 X0 Y0 Z0
 X0 Y0 Z0
G48
G9
WAIT
//**************Test G48/G47 ******************
//Before active G47/G48, need create and config "G47" as default set bellow datalayer: motion/cfg/functions/tool-data/sets  
G47
G90 G01 X10 Y10 Z5 F1500
G91 G01 X10 Y10 Z5 F5000
WAIT
G48