Hi Mazakers,
I've attached a sample program I've written to test out M and G codes (I use millimeters). I'm not sure how G codes are supposed to work on Mazatrol but it seems to me that there is something wrong going on. According to my understanding, G0 Z-10 should move the turret 10mm in the home direction on the z axis from the program zero (as determined with the z-offset), and G0 Z0 should take the tool nose back to the program zero on the z axis. However, G0 Z-10 is moving the turret to the Z 159.798 position as seen in the photo. It doesn't seem like a inch-mm conversion thing. Is it ignoring the z-offset and calculating the numbers in cm instead of mm? Any suggestions or guidance? Thanks in advance.
![Click image for larger version.
Name: Position.jpg
Views: 5
Size: 33.5 KB
ID: 283200]()
![Click image for larger version.
Name: Sample Program.jpg
Views: 6
Size: 36.1 KB
ID: 283201]()
![Click image for larger version.
Name: z-10 position1.jpg
Views: 4
Size: 61.5 KB
ID: 283203]()
I've attached a sample program I've written to test out M and G codes (I use millimeters). I'm not sure how G codes are supposed to work on Mazatrol but it seems to me that there is something wrong going on. According to my understanding, G0 Z-10 should move the turret 10mm in the home direction on the z axis from the program zero (as determined with the z-offset), and G0 Z0 should take the tool nose back to the program zero on the z axis. However, G0 Z-10 is moving the turret to the Z 159.798 position as seen in the photo. It doesn't seem like a inch-mm conversion thing. Is it ignoring the z-offset and calculating the numbers in cm instead of mm? Any suggestions or guidance? Thanks in advance.


