-
With the latest rc7 firmware, fanuc postprocessor should work, I'll make a powermill post and post it here once it's done. It should be pretty easy now. It'll work with featurecam and artcam too.
If you looked for it, any cam should include a fanuc post. -
@dc42 I am currently running the latest firmware on duet wifi but I am getting a bad command error on the line with no G command when running a GCode file. I don't know if I am missing something.
For example:
G1 X100 Y100 F2000
X200 Y200
G1 X0 Y0The gantry moves to X100 and Y100 then back to 0 only
-
@moameen said in OOZNest WorkBee, screw driven:
@dc42 I am currently running the latest firmware on duet wifi but I am getting a bad command error on the line with no G command when running a GCode file. I don't know if I am missing something.
For example:
G1 X100 Y100 F2000
X200 Y200
G1 X0 Y0The gantry moves to X100 and Y100 then back to 0 only
You need to put G1 in front of the X200 Y200
-
@moameen said in OOZNest WorkBee, screw driven:
@dc42 I am currently running the latest firmware on duet wifi but I am getting a bad command error on the line with no G command when running a GCode file. I don't know if I am missing something.
For example:
G1 X100 Y100 F2000
X200 Y200
G1 X0 Y0The gantry moves to X100 and Y100 then back to 0 only
Have you set the machine mode to CNC, using M453 ?
-
I do not have a spindle hooked up to the duet. So if I use the M453 code on its own the GCode works correctly, but if I add the P and R parameter to the M453 it does not. The bad error command pops up. I am running an MPCNC and this is my config. Maybe there is some conflicting commands.
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
; Automatic saving after power loss is not enabled
M564 H0 ; Allow axis movement prior to homing
M584 X0:4 Y1:3 Z2 A3:1 B4:0 ; Axis mapping
M208 X0 Y0 A0 B0 Z-80 S1 ; Set axis minima
M208 X650 Y650 A650 B650 Z5 S0 ; Set axis maxima
M453 P1 R5000; Endstops
M574 X1 Y1 A1 B1 S1 ; Set endstops controlled by switch; Drives
M569 P0 S0 ; Drive 0 goes backwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P2 S1 ; Drive 2 goes forwards Z
M569 P3 S1 ; Drive 3 goes forwards A
M569 P4 S1 ; Drive 3 goes forwards B
M350 X16 Y16 Z16 A16 B16 I0 ; Configure microstepping without interpolation
M92 X80 Y80 Z400 A80 B80 ; Set steps per mm
M566 X400 Y400 Z100 A400 B400 ; Set maximum instantaneous speed changes (mm/min)
M203 X10000 Y10000 Z600 A10000 B10000 ; Set maximum speeds (mm/min)
M201 X900 Y900 Z300 A900 B900 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 A800 B800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
;M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
;M305 P0 T10000 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 0
;M143 H0 S120 ; Set temperature limit for heater 0 to 120C
;M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
;M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Tools
;M563 P0 D-0 H-1 ; Define tool 0
;M563 P1 D-1; Fans
;M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
;M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
;M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on -
@deckingman Have a look at @dc42's previous post on omitting the G1 command, It was implemented in RRF 2.02RC7 release
-
@moameen said in OOZNest WorkBee, screw driven:
@deckingman Have a look at @dc42's previous post on omitting the G1 command, It was implemented in RRF 2.02RC7 release
Yes thank you. I missed the fact that this was a CNC related question. Apologies.
Edit (but you could try my suggestion because if it improves things then that information might be useful in diagnosing the problem).
-
@moameen, my guess is that the M453 command is failing because of a bad S or P parameter on that command. You can check which mode the machine is in by sending M450. You can also try sending the same M453 command from the GCode console that you have in config.g and see if you get an error message. One possible reason is that you have chosen a pin that is normally used as a heater to control the spindle, but you haven't first made it free by disabling the associated heater using M307.
-
@moameen Please re-check your axis mapping (M584)! I would strongly suggest that you start with my config.g example and modify it as needed.
Also it is important to differentiate between single homing switch on just one of the Y-axis or separate homing switches on the two Y-axis. What is your actual setup?
More important... how large is your WorkBee and is it screw or belt version?
-
@dc42 I have made the changes and disabled the heaters but i am still having the same problem. when I send the M453 command via web interface, a bad P parameter error is coming up.
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M140 H-0 ; Disable bed heater
M307 A-1 C-1 D-1 ; Disable E0 heater
M307 A-2 C-2 D-2 ; Disable E1 heater
;M563 P0 D-0 H-1 ; Disable P(Tool 0) D(E drive 0) H(heater 1)
;M563 P1 D-1 H-2
M564 H0 ; Allow axis movement prior to homing
M584 X0:4 Y1:3 Z2 A3:1 B4:0 ; Axis mapping
M208 X0 Y0 A0 B0 Z-80 S1 ; Set axis minima
M208 X650 Y650 A650 B650 Z40 S0 ; Set axis maxima
M453 P1 R24000 ; CNC mode using E0 heater pin (P1) -
@catalin_ro I am running an MPCNC with dual x and dual y motors and separate homing switches on each axis so as to allow the machine to self square during homing.
-
You haven't specified the heater numbers in the M307 commands to disable the heaters.
-
.cbpp files can now be uploaded.
-
@dc42 Thanks for the help. All sorted now
-
@moameen Can you share your config.g and other files? Perhaps running now with 2.05? Building an MPCNC
-
@brindoro haven't used the machine since the beginning of the year so not sure on what firmware version is currently on the duet. As soon as I am near the machine I will post the file
-
@brindoro Config posted below.
;Configuration file for Duet WiFi (firmware version 1.20 or newer)
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M140 H-0 ; Disable bed heater
M307 H1 A-1 C-1 D-1 ; Disable E0 heater
M307 H2 A-2 C-2 D-2 ; Disable E1 heater
;M563 P0 D0 H1 ; Create tool
;M563 P1 D1 H2 ; Create tool
M564 H0 ; Allow axis movement prior to homing
M584 X0:4 Y1:3 Z2 A3:1 B4:0 ; Axis mapping
M208 X0 Y0 A0 B0 Z-80 S1 ; Set axis minimum
M208 X647 Y647 A647 B647 Z50 S0 ; Set axis maximum
M453 P1 R24000 ; CNC mode using E0 heater pin (P1); Endstops
M574 X1 Y1 A1 B1 S1 ; Set endstops controlled by switch; Drives
M569 P0 S0 ; Drive 0 goes backwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P2 S1 ; Drive 2 goes forwards Z
M569 P3 S1 ; Drive 3 goes forwards A
M569 P4 S1 ; Drive 3 goes forwards B
M350 X16 Y16 Z16 A16 B16 I0 ; Configure microstepping without interpolation
M92 X80 Y80 Z400 A80 B80 ; Set steps per mm
M566 X400 Y400 Z100 A400 B400 ; Set maximum instantaneous speed changes (mm/min)
M203 X10000 Y10000 Z600 A10000 B10000 ; Set maximum speeds (mm/min)
M201 X900 Y900 Z300 A900 B900 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 A800 B800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
; Disabled; Tools
;Disabled; Network
M550 PMPCNC ; Set machine name
M552 S1 ; Enable network
M587 S"SSID" P"Password" I JGateway IP KNetmask ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
;M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
;M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
;M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
Currently running firmware version 2.02(RTOS). Haven't had any issues with this version. Did a lot of MDF cutting with no problems other than dialing in speeds and feeds. Did all models on Fusion 360 and used the OOZNest post processor. My machine is a 1m x 1m