Home › Forums › TinyG › TinyG Support › Min and Max switches resetting board
- This topic has 2 replies, 2 voices, and was last updated 12 years, 1 month ago by jowan512.
-
AuthorPosts
-
September 27, 2012 at 6:20 am #3535jowan512Member
Hi,
I’ve got a standard NO micro switch plugged into the board across a GND and XMIN pair (thanks to the good layout they are easy to connect to).
When I close the switch it just resets the board (blue ‘on’ led and tx/rx leds flash) . If I am in a console it outputs the build version and welcome message.
Q> How are the switches supposed to be wired ?
Is it simply a NO switch across a Min/Max and its GND neighbor ?
(using v7 board)
(thanks)
(0)
September 28, 2012 at 12:18 am #3536aldenMemberThe min / max switches are actually supposed to reset the board, That’s what they do. The idea is that if you hit the limit it’s supposed to stop all action.
Your wiring is correct. An NO switch across the switch contact and the ground.
September 28, 2012 at 4:37 am #3537jowan512MemberOk I understand now, but I was worried as resting my board (using the button) looses all my settings, but I can see now after further investigation that the reset performed by the limit switches (soft presumably) is different and does not loose settings like the one performed by the button (hard reset presumably).
This can be confirmed below where I boot the machine, set X TR 1000 then reset using the limit switch, then dump the settings and it is still 1000, then reset using the button and dump the settings and TR is default again
tinyg GCODE[mm] ok>
tinyg GCODE[mm] ok> $xfr1000
X axis – Feed rate 1000 mm/min $XFR1000
tinyg GCODE[mm] ok>
tinyg GCODE[mm] ok> $x
X axs – Axis mode 1 [0-10] $XMO1
X axis – Seek rate 1500 mm/min $XSR1500
X axis – Feed rate 1000 mm/min $XFR1000
X axis – Travel/rev 2.54 mm $XTR2.54
X axis – Travel hard limit 400 mm $XTH400
X axis – Travel soft limit 380 mm $XTS380
X axis – Step angle 1.80 degrees $XSA1.80
X axis – Microsteps 8 [1,2,4,8] $XMI8
X axis – Motor polarity 0 [0,1] $XPO0
X axis – Power mgmt mode 1 [0,1] $XPW1
X axis – Limit switch mode 1 [0,1] $XLI1
X axis – Homing enabled 1 [0,1] $XHE1
X axis – Homing seek rate 1350 mm/min $XHR1350
X axis – Homing close rate 10 mm/min $XHC10
X axis – Homing offset -200 mm $XHO-200
X axis – Homing backoff 5 mm $XHB5
Your X axis settings translate to:
X axis mode: STANDARD
X max seek: 1969 steps/sec
X max feed: 1312 steps/sec
tinyg GCODE[mm] ok>
tinyg GCODE[mm] ok> #### TinyG build 314.03 – “Zygomycosis” ####
Type h for help
tinyg GCODE[mm] ok> $x
X axis – Axis mode 1 [0-10] $XMO1
X axis – Seek rate 1500 mm/min $XSR1500
X axis – Feed rate 1000 mm/min $XFR1000
X axis – Travel/rev 2.54 mm $XTR2.54
X axis – Travel hard limit 400 mm $XTH400
X axis – Travel soft limit 380 mm $XTS380
X axis – Step angle 1.80 degrees $XSA1.80
X axis – Microsteps 8 [1,2,4,8] $XMI8
X axis – Motor polarity 0 [0,1] $XPO0
X axis – Power mgmt mode 1 [0,1] $XPW1
X axis – Limit switch mode 1 [0,1] $XLI1
X axis – Homing enabled 1 [0,1] $XHE1
X axis – Homing seek rate 1350 mm/min $XHR1350
X axis – Homing close rate 10 mm/min $XHC10
X axis – Homing offset -200 mm $XHO-200
X axis – Homing backoff 5 mm $XHB5
Your X axis settings translate to:
X axis mode: STANDARD
X max seek: 1969 steps/sec
X max feed: 1312 steps/sec
tinyg GCODE[mm] ok>
tinyg GCODE[mm] ok> #### TinyG build 314.03 – “Zygomycosis” ####
Type h for help
tinyg GCODE[mm] ok> $x
X axis – Axis mode 1 [0-10] $XMO1
X axis – Seek rate 1500 mm/min $XSR1500
X axis – Feed rate 1350 mm/min $XFR1350
X axis – Travel/rev 2.54 mm $XTR2.54
X axis – Travel hard limit 400 mm $XTH400
X axis – Travel soft limit 380 mm $XTS380
X axis – Step angle 1.80 degrees $XSA1.80
X axis – Microsteps 8 [1,2,4,8] $XMI8
X axis – Motor polarity 0 [0,1] $XPO0
X axis – Power mgmt mode 1 [0,1] $XPW1
X axis – Limit switch mode 1 [0,1] $XLI1
X axis – Homing enabled 1 [0,1] $XHE1
X axis – Homing seek rate 1350 mm/min $XHR1350
X axis – Homing close rate 10 mm/min $XHC10
X axis – Homing offset -200 mm $XHO-200
X axis – Homing backoff 5 mm $XHB5
Your X axis settings translate to:
X axis mode: STANDARD
X max seek: 1969 steps/sec
X max feed: 1772 steps/sec
tinyg GCODE[mm] ok>So perhaps my question now is :
How do you save settings / hardware profiles on the board ? I cant seem to find documentation on this, presumably there is EEPROM available on the chip.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.