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:
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.
