I have fairly recently started using a SCM Record 220 CNC and I would like to write a little python program to write an xxl file for a particular task here at this shop. I started by writing a script to output an xxl file for a very simple rectangle. I convert the xxl to pgm using a program called WINXISO.EXE that has worked in the recent past to convert other xxl files.
When I try to load my new pgm file in the Zilog program to cut it I get an error:
"xMETALine 17) Invalid Correction of fset for the segment."
The code I make the pgm file from looks like this:
For what it is worth, the trouble is with the C=1 line. C is the tool offset setting and 1 puts the tool on the right side of the cut. If I remove the line or set it to 0 the program loads and runs. I would like to use the tool offset value though and I am hoping to use it.
I think I have things working. The C=1 is a code to offset the tool to the right of the cut line (C=2 is to offset to the left). The machine needs a little lead in G1 motion to define which is the right side.
Hopes this helps some one. I till do not know what xMETA is. If any one knows I would like to hear about it.