Re: RADDS work now stable with RepRap Firmware July 05, 2016 07:00AM |
Registered: 10 years ago Posts: 12 |
Re: RADDS work now stable with RepRap Firmware July 05, 2016 11:10AM |
Registered: 10 years ago Posts: 12 |
serial: G28 X0 serial: M114 macro: G91 macro: G1 Z4 F200 macro: G1 X-300 F3000 S1 DDA: start=[10.000000 0.000000 50.000000] end=[10.000000 0.000000 54.000000] d=4.000000 vec=[0.000000 0.000000 1.000000 0.000000 0.000000] a=15.000000 reqv=3.333333 topv=3.333333 startv=0.000000 endv=nan daccel=0.370370 ddecel=nan cks=0 DMx: not moving DMy: not moving DMz: not moving
macro: G1 Z-4 F200 macro: G90 DDA: start=[0.000000 0.000000 54.000000] end=[0.000000 0.000000 50.000000] d=4.000000 vec=[0.000000 0.000000 -1.000000 0.000000 0.000000] a=15.000000 reqv=3.333333 topv=3.333333 startv=0.000000 endv=0.000000 daccel=0.370370 ddecel=0.370370 cks=3733333 DMx: not moving DMy: not moving DMz: dir=B steps=5120 next=1 interval=26791 sstcda=0 acmadtcdts=291666 tstcdapdsc=3733332 2dtstc2diva=3674999678553 accelStopStep=475 decelStartStep=4646 revStartStep=5121 nextStep=1 nextStepTime=26791 2CsqtMmPerStepDivA=717773440 mmPerStepTimesCdivtopSpeed=629999 fmsdmtstdca2=0
Re: RADDS work now stable with RepRap Firmware July 05, 2016 05:25PM |
Registered: 10 years ago Posts: 14,684 |
Quote
turboproc
What I did notice btw is a missing pull-up. The signal level is somewhere halfway. Looks like the internal pull-up is not activated by RRF. Adding manually a 10K resistor created a nice HIGH/LOW.
Re: RADDS work now stable with RepRap Firmware July 05, 2016 05:46PM |
Registered: 10 years ago Posts: 14,684 |
Quote
turboproc
Being able to move forward I'm stuck in de proces of configuring RRF. Particularly, the homing configuration seems a little struggle. Using the standard X-axis homing file (Z-axis up, home X, Z-axis down), the result is Home X, Z-axis down. Debuggging works so a small report is provided below:
serial: G28 X0 serial: M114 macro: G91 macro: G1 Z4 F200 macro: G1 X-300 F3000 S1 DDA: start=[10.000000 0.000000 50.000000] end=[10.000000 0.000000 54.000000] d=4.000000 vec=[0.000000 0.000000 1.000000 0.000000 0.000000] a=15.000000 reqv=3.333333 topv=3.333333 startv=0.000000 endv=nan daccel=0.370370 ddecel=nan cks=0 DMx: not moving DMy: not moving DMz: not moving
Following the debugging output, it is clear that the Z-axis will not move (but why?). The concluding Z-axis lift provides a better result:
macro: G1 Z-4 F200 macro: G90 DDA: start=[0.000000 0.000000 54.000000] end=[0.000000 0.000000 50.000000] d=4.000000 vec=[0.000000 0.000000 -1.000000 0.000000 0.000000] a=15.000000 reqv=3.333333 topv=3.333333 startv=0.000000 endv=0.000000 daccel=0.370370 ddecel=0.370370 cks=3733333 DMx: not moving DMy: not moving DMz: dir=B steps=5120 next=1 interval=26791 sstcda=0 acmadtcdts=291666 tstcdapdsc=3733332 2dtstc2diva=3674999678553 accelStopStep=475 decelStartStep=4646 revStartStep=5121 nextStep=1 nextStepTime=26791 2CsqtMmPerStepDivA=717773440 mmPerStepTimesCdivtopSpeed=629999 fmsdmtstdca2=0
Main difference here is that the end speed (endv) does have a value in this case where it didn't in the first case.
Any clues?
Re: RADDS work now stable with RepRap Firmware July 05, 2016 06:15PM |
Registered: 9 years ago Posts: 185 |
Quote
dc42
Quote
turboproc
What I did notice btw is a missing pull-up. The signal level is somewhere halfway. Looks like the internal pull-up is not activated by RRF. Adding manually a 10K resistor created a nice HIGH/LOW.
That doesn't surprise me. The Duet has an external pullup resistor on the card detect pin, so the firmware doesn't need to turn on the internal pullup resistor in that build.
Re: RADDS work now stable with RepRap Firmware July 05, 2016 11:07PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware July 06, 2016 07:05AM |
Registered: 8 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware July 06, 2016 10:30AM |
Registered: 10 years ago Posts: 12 |
G91 G1 Z4 F200 M400 G1 X-300 F3000 S1 G1 X4 F600 G1 X-10 S1 G1 Z-4 F200 G90
Re: RADDS work now stable with RepRap Firmware July 06, 2016 11:06AM |
Registered: 8 years ago Posts: 68 |
Quote
GroupB
Elmo_C got a graphic lcd working on a duet with RRF firmware , off course he using some kind of serial adaptor but since we already have the lcd pinout expose is there a easy way to port his software work into the radds using the ldc pin we have ? Replacing his serial connection with the LCD pin directly on the Due? it is only a replacing the pinout in the firmware or its go further then that?
Having an cheap LCD alternative will be great... not all of us want to spend 100$ for a paneldue
Re: RADDS work now stable with RepRap Firmware July 07, 2016 12:48AM |
Registered: 8 years ago Posts: 83 |
; homex.g G91 ; relative mode G1 X-330 F3000 S1 ; course home X G1 X4 F600 ; Move x away from endstop G1 X-10 S1 ; fine home X G90 ; back to absolute mode G92 X0 ; zero X
G91 ; relative mode G1 S1 X-330 Y-330 F3000 ; course home X or Y ...So I enter that in line by line, and I get the same smash.
Re: RADDS work now stable with RepRap Firmware July 07, 2016 01:01AM |
Registered: 8 years ago Posts: 83 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 03:38AM |
Registered: 8 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 04:29AM |
Registered: 10 years ago Posts: 14,684 |
Quote
AK_Eric
I'm having the weirdest problems when it comes to homing my bot: This happened occasionally (seemingly randomly) back on 1.09, but has increased in frequency with 1.13, and I finally have a complete repro case:
My machine homes, and it smashes the X-axis into the side of the machine. Info:
When a print starts, it sends
G28
to home everything. That works. No smashing. I can enter this whenever I want successfully, in gcode, or via the serial monitor before a print starts, or after. Solid.
When the print ends, part of the ending script does:
G28 X0 Y0
That will smash it on X every time. Plus, if I just turn on the printer and enter that, it'll smash. So I thought maybe something is wrong with my homex.g:
; homex.g G91 ; relative mode G1 X-330 F3000 S1 ; course home X G1 X4 F600 ; Move x away from endstop G1 X-10 S1 ; fine home X G90 ; back to absolute mode G92 X0 ; zero X
It's the same macro I used back on 1.09 though. So I started executing those lines one at a time, and I found the culprint
When I do the 'G1 X-330 F3000 S1', the "S1" isn't being respected. That's what's causing the smash: It just drives it into the side of the bot.
I thought well, if G28 calls homeall.g (right?), and G28 works, why? This is the top of that macro:
G91 ; relative mode G1 S1 X-330 Y-330 F3000 ; course home X or Y ...So I enter that in line by line, and I get the same smash.
Now for the kicker: I turned my board on\of probably 20 time testing this, restarting S3D as well. Just before I went to send this, I tried one last time and.... now it's behaving correctly. Everything homes, one axis at a time or not, either via buttons in S3D or via the commands themselves. And this is why I've been going bonkers, is that it's random like this. It seems like 1/5 prints it just starts behaving this way.
So any thoughts on the matter are greatly appreciated, thanks!
Re: RADDS work now stable with RepRap Firmware July 07, 2016 04:31AM |
Registered: 10 years ago Posts: 14,684 |
Quote
turboproc
May this helps in resolving this. When I insert an M400 command after the Z-lift but before the X-moves, it works as expect. Is it possible that the X-move in the queue affects the Z-move command executed before? Current homex.g is as below:
G91 G1 Z4 F200 M400 G1 X-300 F3000 S1 G1 X4 F600 G1 X-10 S1 G1 Z-4 F200 G90
Re: RADDS work now stable with RepRap Firmware July 07, 2016 05:18AM |
Registered: 10 years ago Posts: 12 |
; Eutathios config file for dc42 Duet firmware on RADDS ; Prologue and comms section M111 S7 ; Debug off M550 PEustathios ; Machine name (can be anything you like) M551 Preprap ; Machine password ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ;*** Adjust the IP address and gateway in the following 2 lines to suit your network M552 P0.0.0.0 ; IP address (0 = use DHCP) M554 P192.168.1.1 ; Gateway M553 P255.255.255.0 ; Netmask M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue ; Movement section M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it) M569 P1 S0 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M574 X1 Y1 Z1 S0 ; set endstop configuration (X and Y endstops only, at low end, active high) ;M906 X800 Y800 Z800 E1000 ; Set motor currents (mA) M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2) M203 X12000 Y12000 Z1200 E3600 ; Maximum speeds (mm/min) M566 X0 Y0 Z0 E0 ; Minimum speeds mm/minute M208 X260 Y260 Z260 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 Z0 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed) M92 X160 Y160 Z1280 ; Set axis steps/mm M92 E744 ; Set extruder steps per mm G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Z probe section ;M558 P1 X0 Y0 Z1 H3 F200 T5000 ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min ;G31 X11.0 Y0.5 Z1.20 P500 ; Set the probe height and threshold (put your own values here) ; Heater and thermistor section ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands M305 P0 T100000 R4700 B4388 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 R4700 B4388 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction ;M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction M301 H1 P38.01 I5.1 D79.40 T0.50 S1.0 W248 B30 ; PID settings for extruder 0 ;M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1 M570 S120 ; Increase to allow extra heating time if needed ; Tool definition section M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a dual-nozzle build, un-comment the following 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ; Bed probe section (not needed if you use a bed.g file) ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of your Z probe ;M557 P0 X60 Y0 ; Four... ;M557 P1 X60 Y165 ; ...probe points... ;M557 P2 X200 Y165 ; ...for bed... ;M557 P3 X200 Y0 ; ...levelling ;M557 P4 X141 Y82.5 ; 5th probe point for levelling (un-comment this to get a 5th point at the centre of the bed) ; Epilogue ;*** If you are using axis compensation, put the figures in the following command ;M556 S78 X0 Y0 Z0 ; Axis compensation here T0 ; select first hot end
Re: RADDS work now stable with RepRap Firmware July 07, 2016 10:28AM |
Registered: 8 years ago Posts: 83 |
SENT: M119 READ: Endstops - X: at min stop, Y: not stopped, Z: not stopped, Z probe: not stoppedAnd the endstop is definitely hit before anything else.
M111 S0 ; Debug off M550 Pavey's C-Bot ; Machine name M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Machine configuration M569 P0 S1 ; X - Drive 0 goes forwards M569 P1 S0 ; Y - Drive 1 goes reversed M569 P2 S1 ; Z - Drive 2 goes forwards M569 P3 S1 ; E1 - Drive 3 goes forwards M574 X1 Y1 Z1 S0 ; Endstop configuration: XYZ are all min, and send LOW sig when closed. M667 S1 ; Set CoreXY mode M201 X3000 Y3000 Z100 E4000 ; Maximum accelerations (mm/s^2) M566 X600 Y600 Z30 E420 ; Maximum jerk in mm/min M203 12000 12000 Z300 E9000 ; Maximum travel speeds in mm/min : 12000=200mm/sec, 9000 = 150mm/sec, 300 = 5mm/sec M208 X305 Y305 Z520 ; set axis maxima (adjust to suit your machine) ;M208 X0 Y0 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed) M92 X99.8715 Y100.271 Z402.455 ; set axis steps/mm, 1/16 microstepping. 1/32: X199.743 Y200.542 Z804.91 ; Tool1 (P0) definition M563 P0 D0 H1 ; D0 = Extruder stepper 1. H1 = First extruder heater. M92 E162.5 ; Set extruder steps per mm, 1/16 microstepping ; Thermistors and heaters M305 P0 T100000 R4700 ; Bed thermistor M305 P1 T100000 R4700 B4267 ; E3D thermistor has beta value 4267 ; FANS ; Before setting P0 theromstatic (H1), P1 would auto-turn on during boot. M106 P0 T60 H1 ; Enable the auto hotend cooling fan to kick on at 60c. M106 P1 H-1 ; Must do H-1, or it'll turn on with P0 for some reason. M106 P1 S0 ; Must do, or P1 will go full blast on start M18 ; Disable stepper motors T0 ; select first hot end
G90 M83 M106 P1 S0 M140 S60 M104 S230 T0 G92 Z0 E0 ; Set current z position to zero. G1 Z5 ; Lower Z to be safe 5mm. G28 ; Safe Homing of All Axes. G1 E50 F600 ; Purge nozzle 50mm 10mm sec When a print ends it's retracted by 30mm. G92 E0 ; zero extruder G1 X0 Y10 ; Move nozzle to left front corner of build platform. G92 X0 Y0 ; Zero X & Y here to start the build. G1 E-1.5000 F5400 G1 Z0.300 F300 ; layer 1, Z = 0.3 M105 M105 T0And the end part:
; layer end G92 Z0 ; Set current z position to zero. G1 E-10 F1800 ; Retract 10mm at 30 mm/sec of filament to clean the nozzle. G1 Z5 ; Lower Z to be safe 5mm. M106 P1 S0 ; turn off filament cooler fan M104 S0 ; turn off extruder M140 S0 ; turn off bed G28 X0 Y0 ; Home XY - SMASH!!!!!!!!!!!!!!!! M84 ; disable motors
Re: RADDS work now stable with RepRap Firmware July 07, 2016 01:59PM |
Registered: 8 years ago Posts: 68 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 02:30PM |
Registered: 9 years ago Posts: 185 |
Quote
shofman
Hi everyone,
My RAPS128 are now in the printer. I've switched to 1.14 firmware.
Can someone explain how to specify forward /backward and to invert the signal with the new M584 command ?
Thanks.
Edit : M569 command still works on RADDS...
M111 S0 ; Debug off M550 PCoreXY ; Machine name (can be anything you like) M555 P2 ; Set output to look like Marlin G21 ; Work in millimeters G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Machine configuration M569 P0 S1 R1 ; Drive 0 goes forwards; inverted enable M569 P1 S0 R1 ; Drive 1 goes backwards; inverted enable M569 P2 S0 R1 ; Drive 2 goes backwards; inverted enable M569 P3 S1 R1 ; Drive 3 goes forwards; inverted enable M569 P4 S1 R1 ; Drive 4 goes forwards; inverted enable M569 P5 S1 R1 ; Drive 5 goes forwards; inverted enable M574 X2 Y2 Z1 S0 ; set endstop configuration (X and Y and endstops only, at low end, active high) M667 S1 ; set CoreXY mode M92 X88.88889 Y88.88889 Z400 E96.27520187 ; Set steps/mm M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2) M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute M208 X100 Y100 Z2000 ; set axis maxima (adjust to suit your machine) M208 X-100 Y-100 Z-0.5 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed) ; Tool definition M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ; Thermistors and heaters M305 P0 T100000 R4700 B4066 H0 L0 M305 P1 T100000 R4700 B4066 H0 L0 ;*** Heaters off M104 S0 T0 M140 S0 ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here M18 ; Disable stepper motors T0 ; select first hot end
Re: RADDS work now stable with RepRap Firmware July 07, 2016 02:33PM |
Registered: 8 years ago Posts: 68 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 03:31PM |
Registered: 10 years ago Posts: 14,684 |
Quote
shofman
Thanks Dnewman... I will stay with M569 because it just works.
About the RAPS128 : is there any interest to use 1/64 or 1/128 configuration ?
My motors are : 17HS16-2004S
Re: RADDS work now stable with RepRap Firmware July 07, 2016 03:34PM |
Registered: 10 years ago Posts: 14,684 |
Quote
AK_Eric
@DC42 : My endstops are 'normally open' microswitches
Re: RADDS work now stable with RepRap Firmware July 07, 2016 03:51PM |
Registered: 8 years ago Posts: 83 |
Quote
dc42
Quote
AK_Eric
@DC42 : My endstops are 'normally open' microswitches
That is a bad idea for repraps in general. I suggest you change the wiring to use the normally closed contacts instead (the outer 2 contacts of the switch), and change S0 to S1 in your M584 command. Also check for a bad connection in the X endstop wiring.
Re: RADDS work now stable with RepRap Firmware July 07, 2016 03:58PM |
Admin Registered: 17 years ago Posts: 13,959 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 04:31PM |
Registered: 8 years ago Posts: 83 |
Re: RADDS work now stable with RepRap Firmware July 07, 2016 04:40PM |
Registered: 10 years ago Posts: 14,684 |
Quote
VDX
N/O means, with a broken wire it won't stop ...
Re: RADDS work now stable with RepRap Firmware July 07, 2016 05:22PM |
Registered: 8 years ago Posts: 68 |
Quote
dc42
Quote
shofman
Thanks Dnewman... I will stay with M569 because it just works.
About the RAPS128 : is there any interest to use 1/64 or 1/128 configuration ?
My motors are : 17HS16-2004S
M569 still sets forward/backwards and the polarity of the enable signal. It's just the driver mapping that's moved to M584.
Re: RADDS work now stable with RepRap Firmware July 08, 2016 04:38AM |
Registered: 10 years ago Posts: 14,684 |
Quote
shofman
Quote
dc42
Quote
shofman
Thanks Dnewman... I will stay with M569 because it just works.
About the RAPS128 : is there any interest to use 1/64 or 1/128 configuration ?
My motors are : 17HS16-2004S
M569 still sets forward/backwards and the polarity of the enable signal. It's just the driver mapping that's moved to M584.
DC42, can you send your config file please ?
Re: RADDS work now stable with RepRap Firmware July 08, 2016 04:39AM |
Registered: 8 years ago Posts: 68 |
Re: RADDS work now stable with RepRap Firmware July 08, 2016 04:43AM |
Registered: 10 years ago Posts: 14,684 |
Quote
shofman
Your config.g for the kossel please
Re: RADDS work now stable with RepRap Firmware July 08, 2016 04:45AM |
Registered: 8 years ago Posts: 68 |