Laser turns of during straight lines
-
So far I have not been able to reproduce this. Please provide your complete config.g and homing files.
-
Config G
; General preferences
G90 ; Sent absolute coordinates; Network
M550 PWorkBee CNC Machine ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X0 Y1:3 Z2 ; Apply custom drive mapping
M92 X400 Y400 Z400 ; Set steps per mm
M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
M566 X500 Y500 Z500 ; Set maximum instantaneous speed changes (mm/min)
M203 X2500 Y2500 Z2500 ; Set maximum speeds (mm/min)
M201 X150 Y150 Z150 ; Set accelerations (mm/s^2)
M906 X2400 Y2400 Z2400 I100 ; Set motor currents (mA); Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X800 Y770 Z94 S0 ; Set axis maxima; Endstops
M574 X2 Y2 Z2 S0 ; Set active low endstops; LASER SETTINGS
M307 H2 A-1 C-1 D-1 ; disable heater 2 to make it available as a general purpose output pin
M452 P2 I0 R255 F200; Tools
; Custom settings
M564 H0 ; Enable jog commands when not homed
M140 H-1 ; Disable heated bed
M501 ; Load Stored Parameters
M563 P1 S"XYZ-Probe" ; Define XYZ Touch Probe ToolHome All
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Mon Mar 12 2018 16:19:25 GMT+0000 (GMT Standard Time)
G91 ; relative positioning
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 X1500 Y1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X-3 Y-3 F2400 ; go back a few mm
G1 H1 X1500 Y1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioningHome x
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool on Mon Mar 12 2018 16:19:25 GMT+0000 (GMT Standard Time)
G91 ; relative positioning
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 X1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X-3 F2400 ; go back a few mm
G1 H1 X1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioningHome y
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool on Mon Mar 12 2018 16:19:25 GMT+0000 (GMT Standard Time)
G91 ; relative positioning
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 Y1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 Y-3 F2400 ; go back a few mm
G1 H1 Y1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioningHome z
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool on Mon Mar 12 2018 16:19:25 GMT+0000 (GMT Standard Time)
G91 ; relative positioning
G1 H1 Z94 F1500 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to Z axis endstop once more (second pass)
G90 ; absolute positioning -
https://www.dropbox.com/s/bvmhu6aodccqmqt/Video 25-03-2019%2C 4 32 20 pm.mov?dl=0
Added a video hope this helps also. If you look between 20 and 30s into it you can see where i have tried to do a simple HI text and the straight lines within the text dont complete, i will do another video showing that.
Thank you
-
I don't know if it makes a difference but you did not home your axes in your video, maybe try homing them first?
-
@whosrdaddy thank you but i homed before i started just didnt show it in the video and then set the work once and then realised i coudent get a good video so moved and set work zero again. Thanks tho
-
https://www.dropbox.com/s/nmfwcr52qj705u3/Video 25-03-2019%2C 7 41 59 pm.mov?dl=0
Circles work ok 1000mm/min
-
https://www.dropbox.com/s/85r4dxatwe89pzq/Video 25-03-2019%2C 7 54 05 pm.mov?dl=0
Same circle at 20mm/min is it corect that it should flick on and off? Per g1 move
-
I still can't reproduce the problem you describe, but I've found an error in your GCode. You have this in config.g:
M208 X0 Y0 Z0 S1 ; Set axis minima
The relevant commands in your GCode file are:
G0 X14.3143 Y50.0000 Z0.0010
M3 S200
G1 X83.3143 Z-0.0010 F1000.0 S200The last G1 command has endpoint Z=-0.0010 but you have set the Z minimum to zero. So that command is to an out-of-bounds position and it won't be executed. You should get an error message in the console.
-
@dc42 yep i get an error only when i dont drop my z down after it has been homed so home z, drop z down by about 15 then set work zero then i run the g code.
Do you have a g code you would like me to try ?
Shall remove the z comands and see if it will work?
-
@dc42 did you view the videos they show my issues?
-
Yes I looked at your videos. What I think is happening is that heater 2 has become re-enabled, and the heater monitoring system is turning it off.
-
Please check that you do not have a M307 H2 command in config-override.g.
-
Please run M307 H2 with no additional parameters and report the results.
-
Please attach to your next post your config.g and config-override.g files, also a simple GCode file that should cut out a square or rectangle and that demonstrated this problem. Do not do any Z movements in the cutting moves.
-
-
@dc42 you are amazing there was a M307 H2 in the config override g, i removed it and rebooted and all works like a charm.
i have included my override g just to see if there is anything that shoudent be there.the line g code now works i owe you a drink
; config-override.g file generated in response to M500 at 2019-03-26 17:29
; This is a system-generated file - do not edit
; Heater model parameters
M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
M307 H1 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
G10 L2 P1 X0.00 Y0.00 Z0.00
G10 L2 P2 X250.00 Y420.00 Z59.00
G10 L2 P3 X0.00 Y0.00 Z0.00
G10 L2 P4 X0.00 Y0.00 Z0.00
G10 L2 P5 X0.00 Y0.00 Z0.00
G10 L2 P6 X0.00 Y0.00 Z0.00
G10 L2 P7 X0.00 Y0.00 Z0.00
G10 L2 P8 X0.00 Y0.00 Z0.00
G10 L2 P9 X0.00 Y0.00 Z0.00 -
Thanks, I'll mark this as solved then.