How to home the machine using endstops?

isn’t better that we start to check everything from begining in hardware and software?
maybe we missed something. start with firmware and board version.
version
Build version: edge-2b84ffc, Build date: Jul 3 2019 21:32:06, MCU: LPC1769, System Clock: 120MHz
CNC Build 3 axis
Board Version: smoothieboard v1.0a

My purpose: build a 3 Axis CNC machine that work with and without computer and HMI. using for Glue dispensing. use moons SR8+ driver and of course 2 phase step motor.

i define a push button and let it to play a G-code when i press it to make a board running a G-code from a memory without using computer. main.txt in config file

I saw that in the config but that shouldn’t affect the homing cycles. @Arthur_Wolf @cprezzi any ideas? you guys know this stuff better than I.

i send a message for mr arthur but i get no answer few weeks ago

how can i communicate with them?
as i said i new to this forum and CNC

the only way I know is through here, sorry.

1 Like

tnx again dear domm and sorry for bothering you. looks like i have to try myself and spend much more time to solve this problem.

do you notice them with this post?

yea i tagged them so they should see this post for you

tnx again my friend :slight_smile:

np :slight_smile: sorry i couldn’t help more

don’t say that. that was very helpful for me make my mind better work on this situation.
:slight_smile:

1 Like

Hi @sam7flash. Arthur is the real Smoothieware specialist, I’m more into other firmwares and a general CNC guy.

Be aware that if you use the CNC mode (firmware_cnc.bin), you need to use $H for homing, not G28 (see http://smoothieware.org/grbl-mode) and do not use Pronterface with CNC mode! Also read the smoothie documentation for endstop and homing: http://smoothieware.org/endstops.

If your limit switches are connected between GND and Signal you need to activate pullup on the signal input by adding ^.

Homing means to reference the axes physically location in the machine space. This is usualy donne after starting the machine by driving each axis to the limit switch at one end of the axis and setting this point as machine zero (or a specific value). This doesn’t mean that the G54 coordinate system (work coordinate) will also be zeroed.
To set the work origin (in CNC mode) you need to use G92 (see http://smoothieware.org/g92-cnc for details).

3 Likes

Hi dear cprezzi.
tnx for your help. i will check the notes and replay here
best regards
:slight_smile:

that was grate. i used CNCjs software to home my axis but there is one thing that i don’t know. what should i do if i want my board automatically start homing process every time i power it on and no need me to enter $H in CNCjs terminal to start homing?

Create a textfile with $H in it and save it to the sd card with the name “on_boot.gcode”. Then enable the “on_boot_gcode_enable” switch in the config file. For details, go to http://smoothieware.org/configuration-options and search for “on_boot_gcode”.

1 Like

many thanks my friend. :slight_smile: