Duet 2 Wifi Tronxy X5SA Z probe setup
-
First of all you have to figure out which pin is which on sensor connector. Try to find datasheet for that sensor or something, cant help you here. On typical inductive sensor brown wire is +VIN, blue is ground and black is signal wire, but dont take it from my words only, you have to check it first.
In config.g file you should define Z endstop controlled by probe, for example:
M574 Z1 S2
followed by probe defination, something like:
M558 P5 H5 F120 A3 T6000 I1 -
@supraguy
It's inductive, yes. It's not much fun to set up though since it's two set screws rather than a threaded mount.On my old controller I would set it up so the nozzle is a bit higher up than is useful for printing when homed, then go in to the z offset menu, set the gap from there then save the z offset. That seemed to work pretty well once I got the hang of it.
-
The wiring diagram on the side of the Tronxy bed sensor is in Chinese. Though it does show the center pin going through a circuit of some sort to the power pin, and the ground pin being separate. It's a NPN NO sensor. I assume NPN refers to transistor wiring, at least that's what I learned about transistors in college way back in the early 80s, NO=Normally open.
I'll see if I can track down the wiring diagram.
-
On mine either Black is ground or Brown is ground. Blue is the middle pin.
That's assuming standard wiring. I'll look around a bit more.
-
@aidar
I checked the silk screening on the F-Mini board that came with the X5SA printer. I held the three pin sensor connector in the correct orientation and using a magnifier I found out that the pinout you've suggested is 100%.Brown is 12/24dc, blue is ground, and black is signal.
One step closer.
Should I disable z end stop in config.h? I have it set to standard NO switching.
-
Hi again:
I didn't have much time tonight to work on the printer, I had a meeting after work and it was getting kind of late to do much after dinner.
That said, I've made good progress.
I couldn't remove the pins from the Z probe like I'd done with the end stop connectors I had to re-wire so I ended up cutting the power side of the three pin connector off then plugging the ground and signal side of the cable in to the z probe connectors for ground and signal. I then took the bare 6 to 25 volt power lead and connected it to the positive power input.
I'm still full of questions and perhaps they should be in a new subject, if so let me know and I'll post again.
I can home x and y perfectly but my z probe is about 30 mm to the left and 20 mm ahead of the nozzle. Those are rough estimates but close enough for now.
When homing all the axi x and y home first, which is good. But is it possible to have x move 30mm and y move 20mm before z homes? Otherwise my z sensor is not over the built plate and the build plate crashes in to the nozzle.
Also when just homing z is it possible to have the printer verify x is => 30 and y is => 20??
Some how the F-Mini board I'd had before was doing this.
Is there a pin or other connector on the Duet 2 Wifi board which carries Vin? I'd like to wire the z sensor V connector to that rather than the input power connector even if I have to solder a pin in place to connect to.
Thank you for your help. I'm not convinced I'd have ever gotten this far without it.
-
I have this working on my X5SA,
I have my Sensor with + & - plugged into a always on fan with the 12v jumper on and the signal cable going into the Z probe in which is next to the PanelDue connector,
Here is the Config for Z probe fron my config.g file
; Z-Probe
M574 Z1 Z2 S2 ; Set endstops controlled by probe
M558 P5 I1 H5 F120 T6000 A10 R0.5 S0.005 B0 ; Set Z probe type to modulated and the dive height + speeds
G31 P500 X-35 Y0 Z0.26 ; Set Z probe trigger value, offset and trigger height
M557 X10:300 Y20:310 S50 ; Define mesh grid -
I connected my sensor + to heater2 + connector, that is E1 heater VIN on Duet wiring diagram. I dont use heater 2 and positive (VIN) side is always provided with VIN+, so works for me.
For offset use G31 command as in exampe above. Use your own X and Y values of course.
For homing it depends on your xoming files. After homing X and Y you can send your hotend wherever you want to be ( for example center of bed) before probing. You should really read https://duet3d.dozuki.com/Wiki/Step_by_step_guide -
@jamesadoty said in Duet 2 Wifi Tronxy X5SA Z probe setup:
Should I disable z end stop in config.h? I have it set to standard NO switching.
You mean in config.g? Yes, assuming you use a G30 command in your homez.g and homeall.g files to home Z. See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z.
-
This post is deleted! -
Hi,
I'm in the process of just starting with a Duet 3 6HC and modifying my Tronxy X5SAPro 330 x 330.
Can I ask which sensor your using for the z probe?
I have both the XY-08N and the TR glass (currently using the TR on the Tron, but plan on using the XY-08N for rig testing).
I've read a few posts (mostly your own). I see you have the following in your config;
@pr0xyfl00d3r said in Duet 2 Wifi Tronxy X5SA Z probe setup:
M558 P5 I1 H5 F120 T6000 A10 R0.5 S0.005 B0 ; Set Z probe type to modulated and the dive height + speeds
Are these sensors modulated?
Also, off subject. With testing on a rig, can I test with one spare stepper motor, switch the unit Off and connect to the next drive for testing, or is this not advised?
Sorry but a bit green to this.
Forgot to state I have the Duet 3 6HC running RRF 3.4.2
Dizzwold.