Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

WinCNC CAM Studio Post Processor

CoreyCorey Member Posts: 9
edited November 25 in CAM Studio

@DrewB_PTC and @Chris Tilton (Can not find user name) I am part of a FRC team and watch the video shared about CAM Studio. I am having issue with a Post Processor for our machine or Lack of working Post.

First off I don't seem to have access to the CAM STUDIO forum that the video told us to use. I can Read the posts there but it is not in the drop down for what forum to add this New Discussion to.

Our Machine is a Shopsaber Pro404 that is running a WinCNC controller. I have tried a few of the Generic Options and found the 3-Axis Generic Milling - Fanuc to output the NC to an almost usable condition. There are a few commands that are not supported out of the box that I found some work arounds for but there are a few outputs that are on one line but WinCNC requires them to be on new lines.

During my testing I used a simple block with 4 drilled holes

Issue one is the job number that is output at the top of the file

  • O0001

WinCNC does not recognize this. I have two solutions (1) Delete this line (2) Add this to a file called CNC.MAC that allows me to map non configured codes to new macros. My entry for this is "O0001=[" this tells the controller to skip this.

The Next set of command are M7,M8,M9 These are a bit more simple and required me to add these to CNC.MAC to run my coolant on/off macros

  • M7=[Mist Coolant ON]
  • M8=M98 C:\Wincnc\COLLANTON.MAC [Flood Coolant ON]
  • M9=M98 C:\Wincnc\COLLANTOFF.MAC [Flood Coolant OFF]

The Fanuc post also added a "G17" that is not recognized so I added that to the Ignore in CNC.MAC "G17=["

Now for the lines I can not automate and require Manual edition or Post Post Processing

The Command to Set the spindle speed and turn on are on one line

  • S6000 M3

but they need to be on new lines

  • S6000
  • M3

There was another one liner that failed simulation on the WinCNC controller

G0 G90 G54 G94 ( 0 )

This did work

  • G0 G90
  • G54 G94 ( 0 )

So did this

  • G0
  • G90
  • G54
  • G94
  • ( 0 )

From what I under stand there can only be one "G" command per line

I contacted WinCNC and they sent me a sample file that can be used to create a post processor for these controllers. attached to this post

Sign In or Register to comment.