Precision Piezo z probes guide for duet users reference
-
I've installed a Precision Piezo kit on my SeeMeCNC Rostock v2 delta, using kraeger's piezo mount on top of a 713Maker mount, using the stock effector. I also have a SmartEffector for this machine which works very nicely, but wanted to try something different for a second hot-end. I've got a couple questions while trying to get the piezo running.
-
The piezo board blue LED lights up when tapped, but is tripping as soon as I issue a G30 to try a test probe. It seems I can adjust this in two ways - by adjusting the piezo board, or in config.g with acceleration (M201) and jerk (M566). However, being a delta, there isn't a dedicated Z motor, and so any changes I make have to be applied to all motors, which will affect normal printing. So, is adjusting the piezo board the way to go?
-
Per [https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_Set_Z_probe_type]](https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_Set_Z_probe_type]), M558 use of "X Y Z" is now deprecated (I'm running 1.20). What would the new M558 & M574 commands be?
Here are relevant bits of my config.g:
[c]M350 X16 Y16 Z16 E16:16 I1
M92 X80.0 Y80.0 Z80.0
M906 X500 Y500 Z500 E600:800 I50
M201 X1000 Y1000 Z1000 E1000
M203 X20000 Y20000 Z20000 E3600:1800
M566 X1200 Y1200 Z1200 E1200; Z probe and compensation definition
M558 P5 I1 R0.4 F300 H5 X0 Y0 Z0 T2400 ; Piezo per duet3d.com/forum/thread.php?id=2769; M558 P5 R0.4 X0 Y0 Z1 H5 F1000 T2400 ; P5=SmartEffector, R=recovery time in seconds, only set Z axis, H=dive height (height above trigger height probing starts), F=probe speed (was 1200), travel speed
G31 X0 Y0 Z-0.1 P100 ; Piezo per duet3d.com/forum/thread.php?id=2769
; G31 P100 X0 Y0 Z-.21 ; for SmartEffectorM208 S1 Z-0.2; set minimum Z (-0.2 normal operation, ~ -3 initial setup)[/c]
Thanks!
-
-
Firstly which piezo board do you have?
Your point labelled 1) above you can set different parameters for z, unlike in older versions of marlin, in RRF if you specify z acceleration 100 it applies to z moves not specifically to the z motor. So your delta kinematics are not adversely affected (z moves are not actually that frequent after homing and probing).
My M558 looks much like yours lose X0 Y0 Z0 if you want but you are not using the probe as an endstop in a delta. F 1000 is probably a bit fast for piezo we recommend 4-7mm/s or 240-420mm/min.
My endstop config looks like this:
M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
Which is unchanged whether you have a probe or not, as on delta a probe is just that its a probe and is an optional extra. You still home to x, y, z max but then you can drop to z=10 and send G30 to set fine z height or use G32 to autocalibrate.
-
Thanks, DjD. Sorry - I had meant to include the board version - it's a 2.02, bought just a couple months ago.
Thanks for the clarification on XYZ acceleration. I had earlier dropped down to Z400 with no benefit, but then started to second guess if it was Z movement, or just the Z motor. I'll try 100 mm/s^2.
The "F1000" is actually in the commented out line for the SmartEffector - I've got the piezo set for F300.
I'll try these changes, and possibly drop M566 Z a bit too.
Thanks!
-
Cool. Jerk isn't applied to probing moves in RRF so leave it set whereever you want, frankly in the z direction it doesn't need to be very high.
-
Cool. Jerk isn't applied to probing moves in RRF so leave it set whereever you want, frankly in the z direction it doesn't need to be very high.
Jerk in the Z direction is used when applying mesh bed compensation. If it is set too low, the symptom is that straight XU moves will stuttrer.
-
Ah okay so it's not applied when probing to generate the mesh but is used in coordinated movement when printing with a mesh enabled and therefore setting it to 0 or very slow is problematic.
-
I haven't had much time to continue testing the probe, but I did drop Z acceleration down to 100, with no benefit. In fact, I discovered the piezo blue LED will flash even if I tap the bed, let alone any mag arm or the unit itself.
-
Thanks for posting that, glad it's working well.
-
I have installed my piezo and my nozzle digs into the bed. I use it in analog mode but i had to set it to I1 as it was not responding when in I0. It triggers when i tap on it. I get reading of ~600 on the duetwifi. I also use x0 y0 z1. Wat am i doing wrong?
M558 P1 I1 R0.4 F300 X0 Y0 Z1
G31 X10 Y10 Z-0.1 P600 -
Thanks for posting that, glad it's working well.
Actually, it's not working well. This is still the same condition that I originally posted about - it seems to be overly sensitive to any movement. I can't run a G30 as it triggers immediately.
-
Plasticmetal- hmm yes i don't know why I posted that, must have been tired and looking at the wrong message. Show us a photo of your setup especially where the piezo is mounted. First thing to try is reversing the polarity of the piezo disc by flipping the plug around at the piezo pcb.
Agniusm - make sure the red led is on by tuning vr2 (or the single pot if its a later revision), then use I1 in M558 (which is active low, the default mode for the latest piezo boards). It should be - red LED on until the piezo is bent/squeezed then it changes to blue for 0.25 seconds. There's nothing wrong with using Z1 (although it's technically deprecated after 1.19) but if homing with a piezo probe you are better off homing x and y then using G30. You might need to change threshold in G31 P…. or consider using M558 P5 mode or P8 mode which I find less difficult to work with.
-
I haven't had much time to continue testing the probe, but I did drop Z acceleration down to 100, with no benefit. In fact, I discovered the piezo blue LED will flash even if I tap the bed, let alone any mag arm or the unit itself.
hey, my Piezo just arrived today and i have the same problems.. I got the piezo with only one adjustment screw and i can not controll the sensitivity.. the probe triggers every time something is moving even if i pet very gently the frame.. it is hilarious..
I tried to change the olarisation by flipping the connector but the only thing thats happend is that the probe triggers when the pressure falls… can someone help me ? or did you found something that could help us?
-
another question.. is it normal that when i touch one pin from the conector to the piezo that it triggers?
-
I haven't had much time to continue testing the probe, but I did drop Z acceleration down to 100, with no benefit. In fact, I discovered the piezo blue LED will flash even if I tap the bed, let alone any mag arm or the unit itself.
hey, my Piezo just arrived today and i have the same problems.. I got the piezo with only one adjustment screw and i can not controll the sensitivity.. the probe triggers every time something is moving even if i pet very gently the frame.. it is hilarious..
I tried to change the olarisation by flipping the connector but the only thing thats happend is that the probe triggers when the pressure falls… can someone help me ? or did you found something that could help us?
Try turning the pot until the red led comes on then turn it a way beyond that point with the red light still on. This lowers the sensivity.
-
another question.. is it normal that when i touch one pin from the conector to the piezo that it triggers?
Some people have reported it triggering from the capacitance of their finger or hand placed near the piezo/pcb.
-
I ended up going back and checking resistance at VR1. The manual (v2.02 board) states VR1 to a negative connection should be 10K (I got 0.5 ohms); to a positive connection should be 0.4M - I got 0.5M, which would help explain the heightened sensitivity.
Over a few tries, I dropped it down to 233K, but also had to run VR2 up a little past where the red LED lights, as DjD (and his manual) suggests above. I worked with M201 Z acceleration and M558 F-speed a lot, and finally ended up with M201 Z200, and M558 F400. I was able to make 3 G32 runs with the bed & hot-end both cold.
I then heated the bed to 60C and the hot-end to 130, and it started triggering way too much again. I let the hot-end cool back down to room temp, and did a quick test with the hot-end fan manually turned on (bed still at 60), and still have the same problem.
I'll try to look into it some more in the next day or two. I have a mess of wires around the effector right now that may be causing a problem, but I would have thought they would have been a problem earlier as well.
-
It might be worth considering a slightly experimental setup. We've been trying using a second piezo to cancel noise, you can read about it here: http://forums.reprap.org/read.php?1,767998,810011#msg-810011
-
Plasticmetal- hmm yes i don't know why I posted that, must have been tired and looking at the wrong message. Show us a photo of your setup especially where the piezo is mounted. First thing to try is reversing the polarity of the piezo disc by flipping the plug around at the piezo pcb.
Agniusm - make sure the red led is on by tuning vr2 (or the single pot if its a later revision), then use I1 in M558 (which is active low, the default mode for the latest piezo boards). It should be - red LED on until the piezo is bent/squeezed then it changes to blue for 0.25 seconds. There's nothing wrong with using Z1 (although it's technically deprecated after 1.19) but if homing with a piezo probe you are better off homing x and y then using G30. You might need to change threshold in G31 P…. or consider using M558 P5 mode or P8 mode which I find less difficult to work with.
I have red light and when i touch the nozzle blue comes on without any force. When i home Z it digs into the bed, and stays there. It should just touch it and back off as i understand which is not happening.
I now tried M558 P1, P5 and P8
P8 brings manual leveling dialog in web interface and P1 and P5 acts the same.
I have more recent board with 1 pot and if i adjust it to sensitive it triggers on the start with error message -
Components are 50% off in Maplins as part of the closing down sale ;(
I picked up a couple of spare Piezo's today for 75p
The price reductions have put them closer to online prices, ironically, I've never seen the Oxford Street store so busy at a lunchtime -
Plasticmetal- hmm yes i don't know why I posted that, must have been tired and looking at the wrong message. Show us a photo of your setup especially where the piezo is mounted. First thing to try is reversing the polarity of the piezo disc by flipping the plug around at the piezo pcb.
Agniusm - make sure the red led is on by tuning vr2 (or the single pot if its a later revision), then use I1 in M558 (which is active low, the default mode for the latest piezo boards). It should be - red LED on until the piezo is bent/squeezed then it changes to blue for 0.25 seconds. There's nothing wrong with using Z1 (although it's technically deprecated after 1.19) but if homing with a piezo probe you are better off homing x and y then using G30. You might need to change threshold in G31 P…. or consider using M558 P5 mode or P8 mode which I find less difficult to work with.
I have red light and when i touch the nozzle blue comes on without any force. When i home Z it digs into the bed, and stays there. It should just touch it and back off as i understand which is not happening.
I now tried M558 P1, P5 and P8
P8 brings manual leveling dialog in web interface and P1 and P5 acts the same.
I have more recent board with 1 pot and if i adjust it to sensitive it triggers on the start with error messageOkay so on your duet web control, when you tap the sensor and the light changes from red to blue with light force, what does the z-probe box say? It should say 0 (if on p5/p8) then 1000 when triggered, or if on P1 it might read something around 200-300 open and then rise to 700+ triggered.
P8 bringing up the manual levelling dialogue in DWC suggests a software or config problem as that should not happen. Are you using the z-probe connector on the duet? and have you verified the wiring is correct?
Please also do this polarity verification test "push up on the (cold) nozzle (not tap) see what happens, then release the pressure. If it triggers on push it's correct if it triggers on release the polarity is reversed of the piezo disc.