Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Deimosjuf85 on September 02, 2017, 01:39:18 PM
-
Best regardsI have a 7x12 mini lathe with warp9 Ethernet SmoothStepper, c10 bob , c3 idex pulse card , two Stepper Motors 570 Oz-in, Nema 23, I have mach 3 3.043.062 and a disk with one slot for index.When i try to cut threads no matter wich pitch i put on the g code the machine cut the same pitch no matter the value that i put in the index debounce the machine cut the same pitch. Can you help me to setup the mach 3 nad the hardware that i have? Sorry for my bad english
-
Threading does work quite well. Perhaps a problem with your code?
Post the key bit of the program.
Cheers
Roger
-
Thanks for answer. C10 it´s wired in the pin 15 with active low activated;The spindel pulleys its set to 1100 in max speed ratio :1; I attach images:
the have two programs: One with g76, and the other with g32:
With g76:
G18 G40 G21 G49 G50 G80
T404
S500 M3
G0 X17 Z4
G76 X13.5 Z-5 P1.5 J0.06 L45 H0.3 I29.5 C0.3
G0 X17
Z4 M30
With G32:
g32 z-1.5 f1.5
the machine is set in mm.The pitch are 1.5 mm
Thanks for the help.
-
these options are checked on:
Disable spindle relays
use spindle feedback in sync mode
closed loop spindle control P:0.2 i0.1 D 0.2
-
Ports&Pins:
Closed Loop feedback won't work with the ESS.
You need to enable spindle speed averaging.
For a 1.5 mm pitch a longer lead-in (at least 2 turns) is desirable.
What value do you have in the spindle index debounce?
Cheers
Roger
-
debounde interval = 0
index debounce =100
Thanks for the answer and help
-
Index debounce = 100 means that you have a filter of 100 * 40 uS = 4 mS. That is far too much! Mach may not even see the index pulses at all. Try Index debounce = 1 instead.
Cheers
Roger
-
Thank you so much.I tried and later i told you.I will hope that i can cut threads. Cheers.
-
Index debounce is relative to the number of times a stable index pulse is seen by Mach before it will accept the index signal.
The amount of debounce required varies from system to system. A value of one is not practical since it's not possible to average the
the true rpm. If you set it really high you could be waiting be waiting a long time before implementation of threading.
RICH
-
Hi Rich
Now I am puzzled. Does the x40 uS only apply to the 'other inputs', and not to the index? That would be odd, because I am sure I solved a spindle speed problem by reducing the Index debounce down to about 1 or 0.
My logic was that the index pulse from a standard encoder is about 1/512 of a rev. At 3,000 rpm one rev takes 50 mS, so the index pulse is about 97 uS. Actually, it is half of that as the index pulse is usually only half the 4-cycle interval. An index debounce of 2 is 80 uS, and that can mask the 50 uS index pulse. Changing down to 0 meant that the displayed spindle speed at 3,000 rpm went from all over the place to a nice solid stable value.
Now, all this could be wrong of course, so please tell.
Cheers
Roger
-
From what I recall, from a along time ago when we were fixing threading , what I say is true as it applies to the internal threading
code.
I would have to look through a lot of notes to see if my exactly wording is correct....I think so as the words are not mine.
RICH
-
Best regards:
I change the configutarion and no matter the valor tahta i put , the pitch threading are the same.I send two photos.
Thanks for the help
Cheers
-
Tricky stuff!
If you command S300, S400, S500, what revs appear on the screen DRO?
Cheers
Roger
-
If i put s500 in the dro shows 600
Cheers
Deimos
-
Ok, but what about S300, S400, and what are the exact values, not rounded off?
Cheers
Roger
-
i set the speed manually.Th diffrence it´s about 50-100 rpm
Thank´s
-
>> OK, but what about S300, S400, and what are the exact values, not rounded off?
If you want help, you need to help the people answering you with the information requested. Otherwise we cannot help you.
Cheers
Roger
-
Best regards:
If i turn the bottom of the lathe and set the speed to 300 (For example) Read the dro´s mach3 and try to adjust to 300 the difference it´s about 300=350, 400 rpm .The maximun preccission that i can make it´s about 10 -15 rpm (If the speed it´s 300 rpm i can make 310 rpm, i only c3 index card and the disk to calculate the rpm)
Cheers and many thanks for you help