EndStops
-
Hiya,
I have connected the endstops to the duetwifi to the point of the lights on the board lighting up when the endstops are activated.This is great, however they don't seam to be triggering anything when for example i move the y axis by 100mm.
when i send the M119 command it can tell when whether the endstop is activated or not.
The z probe on my system lights up when a metal peice is touching the sensor, but again the axis doesn't stop.
Please Help.
I am using the Reprap configuration tool to build the config file
Kind Regards,
Nazim
My config file is as follows:
[[language]] ; Configuration file for Duet WiFi (firmware version 1.17) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Sun Jun 18 2017 08:28:45 GMT+0100 (BST) ; Communication and general M111 S0 ; Debug off M550 PNM ; Machine name and Netbios name (can be anything you like) M551 P======= ; 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 ;*** Networking - Enable for both WiFi and Ethernet boards. M552 S1 ; Turn network on ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network M552 P192.168.1.14 ; (0 = DHCP) M554 P192.168.1.255 ; Gateway M553 P255.255.255.0 ; Netmask ; General preferences G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin M208 X0 Y48 Z90 S1 ; Set axis minima M208 X300 Y318 Z220 S0 ; Set axis maxima ; Endstops M574 Y1 Z0 S0 ; Define active low and unused microswitches M574 X1 S1 ; Define active high microswitches M574 E0 S0 ; Define Z probe type NPN M558 P2 X0 Y0 Z1 H5 F120 I1 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds G31 P600 X0 Y0 Z0.5 ; Set Z probe trigger value, offset and trigger height M557 X25:175 Y25:175 S20 ; Define mesh grid ; Drives M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes backwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation M92 X102.29 Y98.61 Z309.81 E206.11 ; Set steps per mm M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X12000 Y12000 Z1200 E3000 ; Set maximum speeds (mm/min) M201 X1000 Y1000 Z100 E5000 ; Set accelerations (mm/s^2) M906 X855 Y855 Z855 E855 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M143 S250 ; Set maximum heater temperature to 250C M305 P0 T100000 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M305 P1 T100000 B4725 C0 R4700 ; Set thermistor + ADC parameters for heater 1 ; 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 ; Network M550 Pwanhao-di3 ; Set machine name M552 S1 ; Enable network ; Access point is configured manually via M587 by the user M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; 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 ; Custom settings are not configured ; Miscellaneous T0 ; Select first tool
-
It looks a bit like you are using a probe configuration which is for a very early version of firmware (1.16 or earlier). It would help us if we knew what sort of end stop you are using for each axis, where on the axis they are positioned and what type of probe (if any) that are using for Z.
-
Endstops only cause homing moves to be terminated, not ordinary moves. Homing moves are G1 moves with the S1 modifier. After homing, software endstops limit the axis movement.
-
the z probe is connected to one of the vin connectors, and the rest are connected to the E0 connectors
the z probe i've got is similar to the one in this link: NPN, proximity sensor,
https://www.aliexpress.com/item/Free-shopping-3D-printer-parts-Limit-switch-Long-typed-End-stop-Touch-switch-for-REPRAP-printer/32443445097.html?spm=2114.01010208.3.89.mqq9KH&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10208_10065_10151_10130_10068_10192_10190_10301_10136_10137_10303_10060_10155_10062_437_10154_10056_10055_10054_10059_303_5300014_100031_10099_10103_5320014_10102_10096_10052_10053_10107_10050_10142_10051_10084_10083_10119_10080_10082_10081_10110_519_10111_10112_10113_10114_10179_10182_10184_10078_10079_10073_10123_10120_10189_142,searchweb201603_2,ppcSwitch_3&btsid=0f2cc969-2a9c-4d96-a452-0ff688f2ba2e&algo_expid=36bace53-c047-49fe-9ca9-d5b12b1badde-12&algo_pvid=36bace53-c047-49fe-9ca9-d5b12b1baddeKind Regards
Thnks
-
Like DC42 said, the endstops will only trigger during the homing sequence. You can crash the endstops prior to homing. There is a way to make it so the endstops act as a fail safe during normal operation and before homing is done but so far my results are buggy at best trying to implement it (can cause emergency stop shutdown loops) I have not yet had time to revisit it to see if i can come up with a working gcode example for you
-
Thanks guys,
knowing that the endstops, are only activated on homing.how would i define/ apply the following settings using the reprap configuration tool, for software based end stops.
[[language]] #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS. #define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below. // Travel limits after homing #define X_MAX_POS 220 #define X_MIN_POS -45 #define Y_MAX_POS 220 #define Y_MIN_POS -5 #define Z_MAX_POS 230 #define Z_MIN_POS 0 #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS) #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS) #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS) ```[https://configurator.reprapfirmware.org/](https://configurator.reprapfirmware.org/)
-
Just enter the corresponding values in the axis minima and maxima fields on the General tab of the configurator.
-
a nice learning curve, thanks for your patients,