@chrishamm Yep that sorted it. Thanks for your help.
Posts made by peteupshall
-
RE: Duet 3 RRF3.3 pause.g not stopping spindle
-
Duet 3 RRF3.3 pause.g not stopping spindle
Hi,
I have a workbee 1010 with Duet 3 and RRF 3.3.
I have spindle control via the duet which starts and stops the spindle at beginning and end of job.
However if I PAUSE a job part way through, the spindle rises but does not stop, before waiting 10 seconds and then travelling to rear right of machine. I can however send M5 directly to switch it off from DWC so I know M5 works.
Any ideas?
TIAPAUSE.g
; pause.g
; called when a print from SD card is paused
G90
G53 G1 Z{move.axes[2].max} F1500 ; move the Z-Axis to the maximum position
M5 ; turn off spindle
G4 S10 : wait for spindle to stop
G53 G1 X{move.axes[0].max} F2500 ; move the X-Axis to the maximum position
G53 G1 Y{move.axes[1].max} F2500 ; move the Y-Axis to the maximum positionRESUME.g
; resume.g
; called before a print from SD card is resumedM3 R1 ;restore
G4 S10 ;wait for spindle to reach full speed
G1 H1 Z1500 F1500 ; raise the Z to the highest position
G1 R1 X0 Y0 ; go to directly above position of the last print move
G1 R1 X0 Y0 Z0 ; go back to the last print move -
RE: Spindle ON/OFF and speed control issues Duet 3
Sorted it and dancing around the workshop .
Looked at all the frequency settings on VFD and noticed that PD011 was set to 200.00. Set it to factory 0 and it all works.
Thanks so much for all your help. This forum is invaluable. -
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Still no joy. Set it to 6000 and M5 still wont make it stop. Tearing my hair out now as I cant get my head arround whats going on. Could it be a VFD setting?
-
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Hi 1.5kw aircooled spindle
-
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Minimum RPM on specs is 0 but have tried it at 600 but still the same.
If I adjust the 12000rpm it knocks the 24000rpm which is spot on, would it be an innacuracy with the 0-10v converter? -
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Minimum rpm is currently set to 0, should it be something else then?
-
RE: Spindle ON/OFF and speed control issues Duet 3
Also just noticed that as I have to press STOP on the VFD to stop spindle I then can't restart using Web Control or Gcode.
Also when set at 12000rpm on web control it shows just over 13500rpm on VFD. Is this just a case of fine tuning the 0-10v converter? -
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk So So close now. I now have spindle on and off and speed control via web control and gcode .
The only thing still not working is M5- Stop. When M5 is activated the spindle drops to about 500rpm, although VFD still shows 12000rpm, and stays there.
Is there a minimum RPM setting somewhere?
Thanks for your support so far you have been awesome! -
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Have tried Gnd on pin out 6 to FOR
Changed M950 R0 C"out9+out6" L0:24000 Q1000
Also tried to put directly into config.g but still no spindle start or stop.
Checking again with RUN button on VFD reactivated and I have speed control and sort of a stop control M5 but it just reduces to 500rpm not a complete stop.
Any further ideas? -
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Do I need to use some sort of relay?
What voltage and settings would i need to provide to FWD from Duet? -
RE: Spindle ON/OFF and speed control issues Duet 3
@Nightowl Yes I tried all the suggestions but I just cant get it to work as expected.
Thanks for all your help though. -
RE: Spindle ON/OFF and speed control issues Duet 3
Do you have spinle control via your Duet? If so I would love to see your config files.
-
RE: Spindle ON/OFF and speed control issues Duet 3
@Nightowl I use this purely as I found the Duet Web Control to be missing the Probe window and also the spindle speed window that is available in the WB version.
Has your DWC got these windows? -
RE: Spindle ON/OFF and speed control issues Duet 3
I am using FW version 3.3 and Workbee control 3.3.0- V1.2
-
RE: Spindle ON/OFF and speed control issues Duet 3
I have tried the previous suggestion to try and get this up and running and thanks for pointing me in the right direction. I think I am almost there!
-
RE: Spindle ON/OFF and speed control issues Duet 3
@jay_s_uk Yes have set up the VFD for the PWM control of the spindle and the speed control does work but only if I use the RUN button on the front of the VFD. If I set the VFD RUN command to external i.e from Duet I get nothing so it seems I need to switch the spindle on from the Duet somehow.
I have wired a 0-10v PMW converter as follows-
PWMIN+ to the OUT pin and PWMIN- to the GND pin of VFD/LASER connection on Duet 3, and set jumper on converter to 5v.I have power connected to 24v and DCM connections on VFD to the Power Supply terminals(24v ) on the converter
The Voltage Output+ (AO) from the converter goes to V1 on the VFD and the Voltage Output- (GND) to the ACM on the VFD.
-
RE: Spindle ON/OFF and speed control issues Duet 3
@Nightowl it is part of the same question. I now have part of the operation running of sorts but need to fine tune to get it right.
spindle.g loads into config.g when called for as far as I can see. I am using a modified config.g for Killerbee supplied by Andy Ofori . -
Spindle ON/OFF and speed control issues Duet 3
Hi All,
I wonder if anyone out there can help me solve this problem.I have just installed a PMW 0-10v converter from my duet 3 to my HY02D223B VFD. I get absolutely no activity from my spindle from either M3 S.... or Duet web control commands. The spindle does not switch on at all when the RUN button is disabled on VFD (setting Pd001=1) However if I reinstate the Run button (Pd001=0) I can manually press RUN to start the spindle and then I have speed control via the Duet web control and M3 S... commands.
Also the M5- STOP command doesnt work in either scenario.
Really struggling to get my head arround this!
I have searched the forums for days trying to find a solution but nothing is particlarly clear.
It feels like I need a seperate ON/OFF function to get the spindle running.
This is my config-spindle.g
M950 R0 C"OUT_9" L0:24000 Q1000 ; Create spindle index 0
M563 P1 S"SPINDLE" R0 ; Create tool 1 with spindle 0 and call it "SPINDLE"
M453
T1 ; select tool 1
M3 S0
M5 ;stop spindle -
Duet 3 Spindle control
I am looking to achieve spindle on/off and speed control via my Duet 3.
I have a VFD & 1.5Kw spindle.
Can anyone advise what steps are necessary to achieve this please.
I have a PMW 1-10volt converter by me but do I also need some sort of relay control, config.g changes and post processor changes?
I am using RRF 3.3 and Vectric aspire.
TIA