Probe triggered and don't stop April 27, 2017 08:12AM |
Registered: 8 years ago Posts: 35 |
; Think3DPrint3D configuration file for Mini Kossel for testing Duet WiFi ; Communication and general M111 S0 ; Debug off M550 D-BOT ; Machine name and Netbios name (can be anything you like) M551 reprap ; Machine password (used for FTP) ;*** 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 ;*** Wifi Networking M552 S1 ; Enable WiFi. Disabled for setup and testing. Enable once set up on your network. M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M667 S1 ; Select CoreXY mode M208 X0 Y0 Z0 S1 ; Set axis minima M208 X320 Y205 Z330 S0 ; Set axis maxima ; Endstops M574 X1 Y2 Z0 S0 ; Define active low and unused microswitches M558 P1 X0 Y0 Z1 H1 F120 T6000 I1 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds //I1 = reverse trigger mode G31 P600 X64 Y30 Z2.5 ; Set Z probe trigger value, offset and trigger height M557 X60:260 Y30:175 S20 ; Define mesh grid ; Drives M569 P0 S1 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X78.43 Y78.43 Z398 E467 ; Set steps per mm M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X30000 Y30000 Z300 E1200 ; Set maximum speeds (mm/min) M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M143 S300 ; Set maximum heater temperature to 300C M305 P0 T100000 B3990 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 ; Fans M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 ; 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 ; Z probe and compensation definition ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command M558 P5 X0 Y0 Z1 ; Z probe is an IR probe and is not used for homing any axes G31 X0 Y0 Z4.80 P500 ; Set the zprobe height and threshold (put your own values here) ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z ; T0 ; select first hot end
Re: Probe triggered and don't stop April 27, 2017 09:19AM |
Registered: 9 years ago Posts: 517 |
Re: Probe triggered and don't stop April 27, 2017 09:22AM |
Registered: 9 years ago Posts: 517 |
Re: Probe triggered and don't stop April 27, 2017 10:26AM |
Registered: 8 years ago Posts: 35 |
Re: Probe triggered and don't stop April 27, 2017 11:08AM |
Registered: 9 years ago Posts: 517 |
Re: Probe triggered and don't stop April 27, 2017 12:17PM |
Registered: 8 years ago Posts: 35 |
Quote
ElmoC
Putting that much voltage in to a 3.3v input could burn out the input. But with it being an analog input in this case, you might be okay.
When the probe is triggered, the output voltage should be 3.3v. When not triggered, it should be close to 0v. You need to correct those voltages.
Re: Probe triggered and don't stop April 27, 2017 12:35PM |
Registered: 9 years ago Posts: 517 |