Hello Guest it is September 23, 2021, 01:07:44 PM

Recent Posts

Pages: 1 2 3 4 5 6 7 8 9 10
Mach4 General Discussion / Re: activate script on button from script
« Last post by thespindoctor on September 23, 2021, 12:46:04 PM »
How about using register flags like switches on the old machines before CNC

have reg1, reg2, reg3.  0=off 1=on

reg1 on and reg2 and reg3 off means automatic testing started go ahead and do G code move

reg1on and reg2 on and reg3 off means G code move finished so ok to record from analog inputs then when finished recording turn reg3 on

reg1,2,3 on means done and now save data and switch reg2 and 3 off indicating back to G code move

General Mach Discussion / Re: Motor Tuning
« Last post by Round_Corner on September 23, 2021, 12:34:36 PM »
Do you want to tune the motor for best performance, efficiency and noise related things or something else? Please let me know if you have a problem in your motor and you want to correct it.
General Mach Discussion / Re: How to link three G320 for fault protection
« Last post by NCNcnc on September 23, 2021, 10:37:38 AM »
Hi.I see that this is an old topic but just what I need. For the Geckodrive g320x I can link all term 5s together. Do I also have to link all term 6 grounds?
What is wrong how do I fix?
You will need to select a controller that has a Mach4 plugin.
Then install it and change wiring and settings as needed.
I suggest going to an Ethernet controller and not a USB one.
I have a ChinaCNCZone HY-3040 5 Axis Router running Mach3.
The motion controller is a nMotion V5.0 Mach3 USB CNC Controller.
ChinaCNCZone advise that this board is not compatible with Mach4, which seems logical given it's name.
What do I need to do to run Mach4 on this machine?
Any advice will be greatly appreciated.
General Mach Discussion / Re: Mach3 outputs and inputs for loader robot
« Last post by Graham Waterworth on September 23, 2021, 08:05:02 AM »
This could be the end of your main program:-

G00 X250. Z250.
M1025 (call robot)
M1026 (do op2)
M1027 (do op3)

The macro could look like this and be stored in the macro folder for the profile in use.

' Wait for ack
While (Not IsActive(INPUT1))

You then set up more macros to do the operation.

PoKeys / Pokeys57CNC spindle speed question
« Last post by ftec on September 23, 2021, 05:48:47 AM »
The 0-10V signal is unacceptably dirty when inspecting it with an oscilloscope, and the spindle speed fluctuates here and there. The signal is generated from a PWM signal so dirty is what can be expected. The fluctuation one sees depends on the capacitance of ones VFD input and using a shielded cable will not remove this fluctuation. I’m now using a 33uF capacitor between GNDi and the voltage output and that smoothens things considerably. (The capacitor value is not calculated in any way, just a pick from my capacitors bin.)

I find no explanation from the manuals for the ‘PWM module period’ and ‘Multiplier’ value adjustments. I’m now using Multiplier value of 0.004129 and that gives me a pretty linear output for the default PWM module period value 100us. Changing the PWM module period would change everything again. If the manufacturer hears me or if someone knows, what are the manufacturers instrutions to get a decent output for the spindle speed?
Mach4 General Discussion / Re: Jerk ,S curve
« Last post by joeaverage on September 23, 2021, 01:59:20 AM »
complete rubbish......CNC machines were for decades second order planners, its only since the advent of highly capable
computers that third order planners became possible or even desirable.

You are confusing a third order trajectory with CV settings....they have commonalities but a third order planner has
minimal impact on toolpath following.

Mach4 General Discussion / Re: Jerk ,S curve
« Last post by KatzYaakov on September 23, 2021, 01:38:40 AM »
I understand ,but until yesterday i didn't understand how important is this s curve ,its critical ...i give you sample ,we had many times that CV wizard got "crazy" and was far from original tool path,when i sent it to mach to cheack always conclusion from there side was that my acceleration /deccelration so poor that CV can't calculate well
But now i understand why it was do poor ,it was so poor because mach system not support s curve and without s curve you got very big vibration on other axis while you accelerated
Pages: 1 2 3 4 5 6 7 8 9 10