Hello Guest it is April 29, 2024, 09:07:02 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cncfreakcncfrea

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »
81
Ok I think I found the answer for Z in cnczone. It is index pulse.

82
I decided to use an encoder for Index pulse and input to MAch3.
I have some spare Rotary encoders dunno if this is suitable for this application, encoder brand = Omron E6B2-CWZ6C




http://www.ia.omron.com/data_pdf/data_sheet/e6b2-c_ds_csm491.pdf

Other Rotary Encoder brands like US digital single ended have 5 pins, A,B, +V, -V and 1 index pin. For Omron I'm not quite sure if "out Z" is the same as Index in US Digital's encoder, any idea?




83
Ah! I get it. So this is what Index about:
http://tetralite.com/lathe/spinsensor.html
Basically add an encoder to the spindle, but since my spindle is driven by an AC Servo Motor can't I use the signal from the AC servo encoder as feedback or do I still need to add those sensors at the back of the spindle?

84
One thing I should ask, do you have an index pulse set in Mach so you can read the spndle speed?
Hood

I don't think so, is the Index Pulse set in General config?

Another thing, when you said : If that was the case then the axis would travel 100mm for each revolution of the spindle.

100mm for each revolution of the spindle, it sounds like the spindle is synchronise with the X and Z axis, is it?, cos currently the AC servo spindle is in speed mode. I'm thinking to add it to A axis for threading when all systen is stable.

85
Sorry for the late reply.
As I was testing the code, the Z axis belt came off, still fixing it, will probably re-design the Z a xis motor mount.
I tried 0.35 mm/rev, but it was a bt too slow, then changed it to 100mm/rev which seemed to be ok.

86
How do I tell if G95 has been output? will it show in the first line of the Gcode?

"What you have above is for every revolution of the spindle the axis will travel 800mm.
 When doing feed per rev it will be a fraction of a mm you want your feed set too,  as I mentioned in my previous post."


so are you suggesting to change all 800mm/rev to 0.35mm/rev?, like this:




87
About the G94 G95:



My current setting is as above.

88
Is all tuned and running!!

X axis:


Z axis:




Something else bothers me is that extra bit, funnel shape circled in RED:


Video @ 8:11

video link:
http://youtu.be/RS-47_u-DQ0



89
Ok, I got an reply from Mecsoft:

1. Make sure the scale factor for X coordinate under the Motion tab in your post processor is set =1 to output in radius mode.
2. G20 represents output in inches and G21 for MM. You can change this under the General tab in your post processor.

To edit the Mach3 post processor, select Post Process from the menu bar in VisualTurn and click Post Processor Generator. Select the post from the list and click edit.

90
Ok if your X axis is moving 10mm with a 10mm command then you have Mach in Radius mode so you will need to make sure your CAM is set to radius mode. Personally I prefer Diameter mode.

Your code attached above is in inches, I think you said your machine was set up in metric. If so you would be better trying to get the CAM to use metric.
Hood

"will need to make sure your CAM is set to radius mode"
mm..ok, will look into that.
Yes I use metric only. I have attached a new Gcode file, would you mind have a look at it see if it is in inch or mm?

thanks,

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »