Hello Guest it is April 18, 2024, 07:53:07 PM

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 - saschko

Pages: 1
1
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: January 24, 2018, 02:29:58 AM »
I'm really sorry, first for the very late response, i moved to new place and it took time to get back to this, and second for fooling you arround with this. I found this license on an old disk and didn't pay attention if it is the true paid license or not. After i found my paid license everything works fine but i can't figure out why every pass starts from different position, and in the end of the cycle it looks like the coordinates have moved. For example: i place the tip of the tool on the tip of the detail. I set Z to 0, and X to 12, then i move Z to +1 and start the cycle:
Code: [Select]
G76 X9.861 Z-10 Q1 P1.75 J0.1 H0.316 I0.0 L45 C2. B0.02
it looks good, but if i place a test indicator on Z in plus direction, on every pass it moves, i mean it doesnt start from where i putted it, and in the end of the cycle Z0 is not the tip of the detail..it is moved somehow..i can't figure out what exactly happens. It looks like the cycle is working somehow different from what i've expected. Thanks for the support and again sorry for fooling you, i didn't meant to.

2
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 24, 2017, 07:25:06 AM »
Yes, i have tried version 062 and it is the same. Anyway i left it with 062.
No matter what code i type it does the same. But let's say that this is it:
Code: [Select]
G76 X-1 Z-10 P1.25 H2 I29 C2I zero the axes where the start of the thread will be and just start the cycle. I do all this in the air, i am still testing the functions, so i can see that everything works fine. Maybe i should really try to move it a little bit fаrther away and try to start it from there, by inputting the start positions of the thread for X and Z.

Here is my XML and my macro for the JoyPad Plugin with wich i input M03/M04 commands. Input 1 and Input 2 come from the contactors that rotate the spindle. After this i engage the solenoids for fast or slow gear from Mach.
 

3
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 21, 2017, 07:10:03 AM »
The LED won't / can't  update fast enough to indicate each time the index is read.
Just consider it a visual that the index is working  since it's blinking randomly.
BUT
You will see the LED change from Waite for Trigger to Threading and Mode indication
from G94 to G95 via LED's every time when threading.

I also tought that the LED can't respond so fast, but i've decided to share that. Yes i see the LED's for G94/G95, and it is changing when i start the G76 cycle. I also see the Wait for trigger LED light up and then it goes down and Threading LED lights up, in that moment the axes start to move and almost immediately stop. The Threading LED is still up. If i stop the Spindle and turn it on again it moves again a bit and stops. Maybe i should upload some of my configuration so u can see better what i did.

4
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 18, 2017, 07:13:50 AM »
I have already checked these options. Well, i actually tried giving an S100 command and at the same time rotated the spindle with 100 RPM. There is a bit difference, i mean that the RPM's that Mach counts are 108. Even this way the thread cycle is not working

5
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 18, 2017, 05:37:43 AM »
Okay, but mach has no control on the Spindle speed...i should give it a command every time when i spin it no matter that mach has no control on it?

6
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 17, 2017, 12:10:09 PM »
I had doubt in the proximity sensor too, but i've checked that with the oscilloscope and it is working, i can't see every single pulse in Mach, but it should be there, because it measures the RPM correctly.
If i type "M3 S100" on the screen i can see a DRO with label 'S' wich aquires the value i entered. However in the STrue DRO  are the real RPM that Mach counts through the SpindleIndex Input. Still it doesn't thread, it is moving the axes, just a little bit and then nothing. I tried with the other version of Mach (062) but it's the same.

7
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 08, 2017, 05:58:23 PM »
@ministeam: Yes the spindle speed is steady, it takes it probably a second until the spindle accerelates and once it reaches it's speed the DRO isn't floating arround, it stays constant.

@joeaverage:
When it will use this variable and for what? I think i am missing your point, shouldn't it synchonise the axes feed depending on the RPM that it counts from the Spindle Index input.

8
General Mach Discussion / Re: Spindle RPM and Threading Problem
« on: October 08, 2017, 07:34:51 AM »
The spindle motor is turned on by hand, and the solenoid is activate by Mach. The spindle runs after it is activated by the solenoid. And all the inputs are read correctly. When i turn on the contactor the input is read and after i push the joystick button for the solenoid it activates and sends a M3/M4 command to Mach. All LEDs are working, i can see the spindle index signal, the inputs and everything. Something that i'm not sure if it is correct is that i cannot see the index on every single rotation of the spindle. But i am not sure if the diagnostic leds are enough fast or something like that, because if it's missing pulses then why it counts the RPM correctly. There is no S command, cause i am sending only M3, mach has no control on the RPM.

9
General Mach Discussion / Spindle RPM and Threading Problem
« on: October 07, 2017, 09:05:39 AM »
Hello everyone, and sorry for my probably bad English.
I have some problems with Mach 3 Turn and more with the Threading Cycle to be specific.
I am retrofitting a Guildemeister NEF 480 Turn which used to run with some old Fanuc CNC that we couldn't start up so we decided to use Mach 3 because it is cheaper then a new CNC.
I've placed my old desktop PC inside with freshly installed Windows XP and Mach3 R3.043.066.
Removed the old Fanuc DC Drives and placed new one that run with step/dir signals.
I am using K845P optocoupler for the inputs so i can use the original 24V power supply.
The spindle is controlled by two contactors (one for M3 and other for M4) and there are two solenoids changing between two gears (N1 and N2 - slower and faster). It also has mechanical levers for different gears that you change before starting the mottor. I am activating the contactors manual (Mach has no control on them). The solenoids however are connected to outputs of Mach and when no one of them is active a brake is activated inside the gearbox. I assigned inputs for the contactors , so when i turn one of them either M3/M4 Mach 3 knows that the Spindle Motor is active, after this with Joystick Plugin i have buttons that trigger the solenoids and after one of them is activate Mach receives a M3/M4 command. Only the mottor is turning until a solenoid is activated, then the Spindle stars rotating. Something that i find strange is that if I type M3/M4 in MDI Line it instantly puts some RPM's in the DRO ( In this moment the Spindle is not spinning and the Index Signal is '0') . I've set the index debounce to 0 but even when it was higher it still counted the RPM's. Now when i type in the G76 thread cycle for example:
Code: [Select]
G76 X-1 Z-10 P1.25 H2 I29 C2 Mach moves the X and Z axes a little bit and stops whithout any message or anything and stays there forever. In the diagnostic screen of the Turn i could see a LED "Wait fot Trigger" wich turns on in the moment when i start the cycle and turns off almost immediately ( This should be the moment when the Spindle Index signal is arriving i guess? ) and then the LED "Currently Threading" lights up and that's it.

Now for counting the RPM's i am using a inductive sensor placed over a nut that is tightened on the back of the spindle (Picture Here) so the ratio is 1:1 as I've set it in Spindle Pulleys setting. So my questions are:
Why the cycle is not going?
Why when i type in M3/M4 it gets RPM reading when there is no one?

Thanks in advance.  :)

Pages: 1