thanks very much
Posts made by chrishornby
-
RE: Duet 3 + SBC Lost connection. No Header
@dc42 I am wondering whether you received my first board and whether you need a AOZ1284 as I have one in my possession
-
RE: What do I plug in to get xyz probe working?
DWC Field?? (I struggle with acronyms)
Is that the field in the UI where you can send a G code? -
RE: What do I plug in to get xyz probe working?
Yes I am sure I will, Thank you so much for all your help. I have decided that I will do my own macro from scratch rather than take the quickie (not!) route by shoe horning someone else's code into the mix.
Thanks so much ! -
RE: What do I plug in to get xyz probe working?
@JoergS5 Sorry if I sound frustrated, but I have been doing 3d printers for many years, built a few and got lots of experience with Marlin and smoothie. This is my first experience with CNC and Reprap coding and it is doing my head in. Apologies all round.
-
RE: What do I plug in to get xyz probe working?
I guess I just need to mark solved and go away and weep with frustration. I know the answers are there somewhere if you know what question to ask. All I wanted to know was what E0 L0 and S1 refer to in that command. I think I can work out the others.
-
RE: What do I plug in to get xyz probe working?
OK thanks got it
Could you tell me what the parameters in this command refer to:
M585 Z50 E2 L0 F500 S1According to the wiki
Parameter must be only one of
Xnnn
Y-nnn
Znnn -
RE: What do I plug in to get xyz probe working?
Looks like I have it, I need to add the HI to any G1 command that is looking for an end stop command to make it trigger.
Like G1 H1 X50Is that right?
-
RE: What do I plug in to get xyz probe working?
Thanks, slowly getting there. Guess I need to understand the G codes and it is a steep learning curve.
-
RE: What do I plug in to get xyz probe working?
Oh thanks, now we are getting somewhere. Just to be clear.
If I define an endstop. with a connection setting in config.g, then that definition will be used regardless even in a different tool?
Also I need to tell it to respond to endstops at all times, not just homing? (In G1).
If I define a specific pin for Z axis end stop, that will be also used for the probe? -
RE: What do I plug in to get xyz probe working?
I guess I am asking the wrong questions. I could use another macro with G38.2 which seems the way to go, but the original question still arises. How do I tell it to use one of the pins IO_0 through 8? Just a basic programming thing...
When I define an endstop I use M574 Z2 S1 P"!io1.in"
There you are the config.g file says use io1.inI just don't know how to tell the board to use one of the many IO pins to do what I want. Before I activate the macro I need to tell it which connector to use. This is the original question I asked. The macro assumes that it knows which connector to use. It doesn't. How do I tell it?
Guess I am back to simple Z probe then...
-
RE: What do I plug in to get xyz probe working?
That is kind of complicated for me. If I connect it up as a Z endstop then it triggers. Which I suppose I can live with. Its just that I have seen loads of Utube videos showing the probe sensing all three axes using the gizmo I have pictured. Now all I need to know is how to configure a Z offset for the depth of the device (which is a nominal 10mm but actually 9.82mm)
-
RE: What do I plug in to get xyz probe working?
For example, the documentation says "The Duet 2(WiFi and Ethernet) and Duet 0.8.5 provide a dedicated 4-pin connector for connecting a Z probe"
It does not mention the Duet 3
..Or maybe I just cant find it! I don't know how to define connectors, unless I have a specific example like for end stops. -
RE: What do I plug in to get xyz probe working?
Sorry perhaps I am not making it clear. I have a DUET 3 and there are lots of I/O ports. I just need to know which one to use and how to tell the routine to use that port as a trigger.
-
RE: What do I plug in to get xyz probe working?
I have defined a T1 like
M563 P1 D0 H1 F0 ; define tool 1The probe sets off looking for something
...but still don't know how to trigger it. Where to plug in the switch and how to tell the software! Sorry if this sounds dense. -
RE: What do I plug in to get xyz probe working?
Hi The tool is placed at the point on your work that you wish to record as position 0,0,0. This is so you don't have to program an offset from the home position and maybe miss your piece of wood entirely. After you have probed, the CNC machine has a new home position and you remove the tool (crocodile clip attached to the bit) and replace it with the router. (Actually the router was there all along as it forms part of the XYZ sensor by completing the circuit and pulling the polarity of the pin down to 0v)
-
RE: What do I plug in to get xyz probe working?
@JoergS5 Please can you tell me how to define tool 0?
Say I want to plug my probe into Io_1 on the board. What do I actually add to the macro to make the board understand to read the state of that port? Forgive me but I am new to this and I am not a programmer. -
RE: What do I plug in to get xyz probe working?
@chrishornby .. and this is the error I get when probing which is why I need to define the tool pin I guess:
7/25/2020, 9:56:28 AM M98 P"0:/macros/probe xyz"
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
7/25/2020, 9:54:59 AM M98 P"0:/macros/probe xyz"
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
Error: M585: No tool selected!
Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1
7/25/2020, 9:54:54 AM Error: Temperature reading fault on heater 1: sensor open circuit
7/25/2020, 9:54:01 AM Upload of probe xyz successful after 0s -
RE: What do I plug in to get xyz probe working?
Just the one probe as per pic attached. Works fine as a Z stop connected to Io_1
This is my config file:
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Jul 23 2020 15:25:20 GMT+0100 (British Summer Time); General preferences
M453 ;Put in CNC mode
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet 3" ; set printer name; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z35.00 E250.00 ; set accelerations (mm/s^2)
M906 X2000 Y2000 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X600 Y300 Z80 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io3.in" ; configure active-high endstop for low end on X via pin
M574 Y1 S1 P"io4.in" ; configure active-high endstop for low end on Y via pin
M574 Z2 S1 P"!io1.in"; Z-Probe
M558 P0 H0 F120 T4800 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M564 H0 ;Cancel requirement to home axes