Ok, here is a portable demo CNC program that has some of the new features of version 1.0.5.2. Copy and paste, hit play and enjoy!
M98 P9999 L1 (Call data block)
G54
T1 M6
M6
G0 X15 Y15 Z2
G1 Z-5 F250 S2000 M3
Y70
G2 X30 Y85 R15
G1 X85
Y15
X15
G0 Z2
T2 M6
G0 X30 Y30 Z2
G81 Z-20 R1 M3 M8
Y70
X70
Y30
G80
G28 Z5 (New command)
M30
O9999 (Data block defining registry data)
(Created for virtual machine: MillingCenterMM.machine)
($OverrideBufferQualitySetting 6)
($Millimeters)
($Mill)
($Message “This program uses locally defined tools, workpieces, zero points and materials.” 4 0)
($DefineMillWorkpiece “N:Tutorial1:M:Golden” 0 100.00 100.00 10.00)
($DefineMillWorkpiece “N::M:” 1 200.00 80.00 20.00)
($DefineMillWorkpiece “N::M:” 2 20.00 120.00 20.00)
($DefineMaterial “N:Golden” 0 128 128 128 218 165 32 1)
($DefineMillTool “N:Flat mill 1” 0 0.00 0.00 0.00 10.00 50.00 0)
($DefineMillTool “N:Drill” 1 60.00 0.00 0.00 10.00 50.00 2)
($DefineMillTool “N:” 2 80.00 0.00 0.00 2.00 20.00 2)
($DefineZeropoint “N:” 0 30.00 30.00 45.00)
($AddRegPart 1, 30, 30, 35)
($AddRegPart 2, -20, 40)
($AddRegPart 3, 10 20 20.1)
($AddRegPart 3, 130, 20 20.1)
M17