Post processor for SCM Pratika w/ Maestro CNC

Post processor for SCM Pratika w/ Maestro CNC

Anonymous
Not applicable
5,729 Views
6 Replies
Message 1 of 7

Post processor for SCM Pratika w/ Maestro CNC

Anonymous
Not applicable

I'm working with a 3 axis SCM Pratika 315b, this machine uses Maestro CNC for editing parameters and placement of vacuum cups for workholding. I use Fusion to generate my toolpaths and Maestro to configure machine features, but I can't import the .xxl file directly to Maestro, since it report a "Input string was not in the correct format" as in the attached image.

If I open the file using Xilog in the machine computer, and without any editing save it, Maestro software successfully imports the file, has someone found any workaround for this?

I've also attached the post processor I'm using, found in another post by @Anonymous  but modified to output the machine pressure sensor safety code "V=" 0 for off and 10 for on.

0 Likes
Accepted solutions (2)
5,730 Views
6 Replies
Replies (6)
Message 2 of 7

bob.schultz
Alumni
Alumni

Can you supply the files generated by Fusion and saved by Xilog.  These are needed to analyze the issue, since the error message is not very specific on what line is in the wrong format.

 

Thanks



Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 3 of 7

Anonymous
Not applicable

Attached is the program made with Fusion Post and the other opened and saved in Xilog, the only difference seems to be the "C" and "T" parameters, which I don't know what it is and the "R" which stands for number of repetitions for the program that is before.

0 Likes
Message 4 of 7

bob.schultz
Alumni
Alumni
Accepted solution

Just for your information, C=0 specifies normal machining, C=1 specifies uninterrupted machining.  The T=0 disables lifters and laser lights.  The V=0 field disables the automatic suction cups and V=10 allows manual blocking of power driven clamps.  If you don't have either of these, then V=0 should be programmed and is controlled via the 'bloqueio' (block) parameter in this post.

 

To get your output to match what is output by the Xilog program, you should change the default values for these properties as shown.

// user-defined properties
properties = {
...
  machineField: "AB", // use: A, C, D, AD //#&
...
  bloqueio: 0

And replace the writing of the header in the onOpen function with this code (delete the current writeBlock lines and paste the following lines instead)

  writeBlock(
    "H",
    "DX=" + xyzFormat.format(workpiece.upper.x - workpiece.lower.x), "DY=" + xyzFormat.format(workpiece.upper.y - workpiece.lower.y), "DZ=" + xyzFormat.format(workpiece.upper.z - workpiece.lower.z),
    "-" + properties.machineField,
    "C=0", "T=0", "R=" + properties.repeatnumber,
    "*MM", "/\"DEF\"",
    //"-A", "*MM", "/DEF",
    "BX=" + xyzFormat.format(properties._bx),
    "BY=" + xyzFormat.format(properties._by),
    "BZ=" + xyzFormat.format(properties._bz),
    "V=" + properties.bloqueio
    );
    writeComment(programComment);

 



Bob Schultz
Sr. Post Processor Developer

Message 5 of 7

Anonymous
Not applicable

Bob, thank you for your help!

I've added the T= as a variable, as in Maestro CNC it controls the workpiece aligment stops and  zone combination for our machine, so it can be configured directly on Fusion. One last thing, is it possible to configure the machineField property to have a dropdown list with only the usable parameters that are allowed in my machine? Like AB, DC, AD, IJ, LK and IL?

The parameter =true results in a dropdown list with Yes or No, can we make something similar with those 6 predefined values?

Attached is the post edited to work directly in Maestro CNC!

0 Likes
Message 6 of 7

bob.schultz
Alumni
Alumni
Accepted solution

You can create readable titles for each property as well as displaying a drop down menu for any of the properties by creating the property definitions table.  This feature is described in the Post Processor Training Guide in the 4.1.2 Property Definitions section.  Here are example property definitions that you can use in your post, add it after the definition of properties.

// user-defined property definitions
propertyDefinitions = {
  writeTools: {title:"Write tool list", description:"Output a tool list in the header of the code.", group:1, type:"boolean"},
  _bx: {title:"Machine X home", description:"Machine home position in X.", group:1, type:"spatial"},
  _by: {title:"Machine X home", description:"Machine home position in Y.", group:1, type:"spatial"},
  _bz: {title:"Machine X home", description:"Machine home position in Z.", group:1, type:"spatial"},
  machineField: {
    title: "Machine type",
    description: "Select the machine type.",
    group: 0,
    type: "enum",
    values:[{title:"AB", id:"AB"}, {title:"DC", id:"DC"}, {title:"AD", id:"AD"}, {title:"IJ", id:"IJ"}, {title:"LK", id:"LK"}, {title:"IL", id:"IL"}]
  },
  useXG0: {title:"Use G0", description:"Enable to use G0 or disable to use G1 F(highFeed).", type:"boolean"},
  repeatnumber: {title:"Number of times to repeat", description:"Enter number of times to repeat.", type:"integer"},
  bloqueio: {
    title: "Safety if vacuum is lost",
    description: "Select the method to use if the Vacuum is lost.",
    type: "enum",
    values:[
      {title:"Off", id:"0"},
      {title:"On", id:"10"}
    ]
  },
  opMec: {title:"Mechanical options", description:"Enter the mechanical options of machine (T=x).", type:"integer"},
};

 



Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 7 of 7

nystrom.nils
Contributor
Contributor

Hi, im new to all this post processor. Do someone have file that works with Maestro?

Best regards

0 Likes