Hi I have been trying to get my 4th axis up and running for a while. Each day I seem to learn a little more but I am stumped by this Error 20 Invalid Gcode. I have been trying for two weeks but not overcoming the problem. I thought I would show in pictures what I am trying to do. The first is the Vcarve pro setup. I am assuming that the diameter here is the finished diameter, but I may be wrong. Then I use the gadget below. which produces the following gcode. (Raney Revision) G20 G90 G0Z1.200 G0A0.000Y0.000 M3S18000 G0A0.000Y0.000Z1.200 G1Z0.938F15.0 G1A360.000F45.0 G1Y0.101 G1A0.000 G1Y0.203 G1A360.000 G1Y0.304 G1A0.000 G1Y0.405 ........ G1A0.000 G1Y0.304 G1A360.000 G1Y0.203 G1A0.000 G1Y0.101 G1A360.000 G1Y0.000 G1A0.000 G0Z1.200 M5 G0Z1.200 G0A0.000Y0.000 Note that I have taken the liberty to take some of the steps out which are redundant. The code seems to make sense to me and for me i think it should operate as expected but this is what i consonantly get every day. The final file in the list below is the post processor that I have modified which may be causing all the problems but I hope not. I did not want to show it here for fear of using up too much space.
BlackBox uses XYZ (No A axis) You need to use Wrapping in Vectric to wrap the "a-axis" around X or Y Practical example is Giarc's Lead Lathe running a BlackBox (Grbl = 3 axes) using Wrapping in Vectric: LEAD Lathe - se the discussions tab for example workpieces and setup details
Hi i have the fourth axis built. x turns chuck, y is gore and aft and z is up and down. I have been trying to get turned profile to work for me. i am using profile wrap x on y. I have included the code that is produced. I get an error that says that G0B0.0000Y0.0000S100000M3 is not supported. I removed the s and m3 command but still get the error.. your help is appreciated
Oh X not A, sorry thought you'd have a newer X32 (which has A) - if its an old BlackBox 4X and you're wrapping about X, then it should be X-axis gcode. Easy to do with the Demon post from ROTARY DEMON CNC as shown in LEAD Lathe
Hi, does anyone have the equation for Profile line $100. I have a 4th axis cnc machine. X axis drives the chuck at 0.036 degree/step. I uses a nema 17 i believe with a x32 controller. The nema 17 drives a 100:1 reduction gear box. thanks in advance john
basic math, really.... 200 motor steps per rev * 100 (gearbox) * 8x (microstepping default in X32) = 160000 steps per rev on the axis 160000 / 360 = 444.444444 steps per degree so set $100=444.444444 and reset the blackbox then give the command G0 X360 and the chuck should turn exactly 1 revolution, if it doesn't, one of the assumptions is wrong (-: