XHC LHB04B-4: fails to detect - SOLVED
~Travis
Please Log in or Create an account to join the conversation.
unhomed - can only jog joints
homed - can only jog axes
(An over-simplification)
You will see that there are both axis and joint jog pins that are likely to need to be connected.
Please Log in or Create an account to join the conversation.
course, i can't home until the dev computer is plugged into the machine, but i can test most of the button configurations, as i figure them out.
~Travis
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1150
- Thank you received: 184
If you set homing order to 0 (deactivate) you can home without machine at any position
Please Log in or Create an account to join the conversation.
In my remembering :
If you set homing order to 0 (deactivate) you can home without machine at any position
No, that doesn't work. You need to set the homing _velocity_ to zero to configure for instant homing.
Please Log in or Create an account to join the conversation.
I am currently loading stretch linuxcnc onto the production cnc computer (keeping the dev computer as just development), so at some point, i can test everything on my machine. bit of a day off from work, due to snow, so i have the time to check things.
interesting to note, i found an alarm system pager (with transmitter) in my electronics stash. it supports 2 channels, so i was thinking i could connect one (via relay) to a HAL pin for ESTOP output, and the other for program completion, if i can find a HAL pin for it. that way, if i step away from the machine for a moment, i will be alerted of an ESTOP (red LED), or that the program has completed (green LED). may work, may not. just an interesting idea.
if only there was a way to detect tool bit breakage...
~Travis
Please Log in or Create an account to join the conversation.
interesting to note, i found an alarm system pager (with transmitter) in my electronics stash. it supports 2 channels, so i was thinking i could connect one (via relay) to a HAL pin for ESTOP output, and the other for program completion, if i can find a HAL pin for it. that way, if i step away from the machine for a moment, i will be alerted of an ESTOP (red LED), or that the program has completed (green LED). may work, may not. just an interesting idea.
I often go back inside to the warmth and open a little tell-tale window on my Mac to monitor the programme.
ssh -Y andypugh@harrison.local
halcmd loadusr halmeter -s pin motion.program-line
[code]if only there was a way to detect tool bit breakage...[/quote]If you had spindle current monitoring then you could detect it as a sudden current drop during a G1 / G2 / G3 move, or a sudden rise during a G0.
Please Log in or Create an account to join the conversation.
i think a TCL file is what i am looking for, currently reading the docs on them...
~Travis
Please Log in or Create an account to join the conversation.
(Assuming you are talking about tool break detection)
A better starting point is linuxcnc.org/docs/2.8/html/hal/comp.html
Please Log in or Create an account to join the conversation.
HAL Tcl is just a way to script HAL. The code doesn't actually run more than once.
(Assuming you are talking about tool break detection)
actually i was talking about the pager idea, as i am not always near a terminal, but i will bring in the tool breakage later.
A better starting point is linuxcnc.org/docs/2.8/html/hal/comp.html
Thank you, i will look into that.
~Travis
Please Log in or Create an account to join the conversation.