A axis brake
- abfa9358
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
15 Jun 2018 04:25 #112392
by abfa9358
A axis brake was created by abfa9358
Hi,
Firstly, thanks for all the hard work that goes in to Linuxcnc!
My question related to engaging an A axis brake when the axis has stopped and has no up coming moves.
I can get the behaviour using M64/M65 and G4 P... but was wondering if it is possible to get the behaviour via HAL?
Eg
M64 p0 (lock a)
(Xyz motion)
M65 p0 (release a)
G4 p0.25 (delay allow brake to release)
(Xyza motion)
M64 p0 (lock a)
Links to axis build....
www.google.co.uk/url?sa=t&source=web&rct...KlvWgPcotwUpTDV7R0YS
www.cnczone.com/forums/archive/index.php/t-241988.html
Many thanks
Andy
Firstly, thanks for all the hard work that goes in to Linuxcnc!
My question related to engaging an A axis brake when the axis has stopped and has no up coming moves.
I can get the behaviour using M64/M65 and G4 P... but was wondering if it is possible to get the behaviour via HAL?
Eg
M64 p0 (lock a)
(Xyz motion)
M65 p0 (release a)
G4 p0.25 (delay allow brake to release)
(Xyza motion)
M64 p0 (lock a)
Links to axis build....
www.google.co.uk/url?sa=t&source=web&rct...KlvWgPcotwUpTDV7R0YS
www.cnczone.com/forums/archive/index.php/t-241988.html
Many thanks
Andy
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
15 Jun 2018 10:57 #112396
by BigJohnT
Replied by BigJohnT on topic A axis brake
My Hardinge CHNC 1 has a spindle brake maybe you can use some of my HAL code.
gnipsel.com/files/chnc/configuration/hardinge.hal
JT
gnipsel.com/files/chnc/configuration/hardinge.hal
JT
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4866
15 Jun 2018 12:17 #112399
by andypugh
I don't think you even need any HAL logic.
Note the pin "axis.N.unlock" here:
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
Enabled with the option [AXIS_3]LOCKING_INDEXER = 1 in the INI file:
linuxcnc.org/docs/2.7/html/config/ini-co...s__lt_num_gt_section
Replied by andypugh on topic A axis brake
was wondering if it is possible to get the behaviour via HAL?
I don't think you even need any HAL logic.
Note the pin "axis.N.unlock" here:
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
Enabled with the option [AXIS_3]LOCKING_INDEXER = 1 in the INI file:
linuxcnc.org/docs/2.7/html/config/ini-co...s__lt_num_gt_section
Please Log in or Create an account to join the conversation.
- abfa9358
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
15 Jun 2018 15:45 #112410
by abfa9358
Replied by abfa9358 on topic A axis brake
Thanks for the replies. I'll investigate tonight. Andy, is the same locked axis behaviour possible with G1 moves? I tend to avoid G0's just in case something bad happens.
Regards
Andy
Regards
Andy
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4866
15 Jun 2018 15:49 #112411
by andypugh
Replied by andypugh on topic A axis brake
I hadn't read the description in detail.
It does seem that it is very G0-centric.
Do you expect to use the axis for coordinated moves as well as for indexing?
It does seem that it is very G0-centric.
Do you expect to use the axis for coordinated moves as well as for indexing?
Please Log in or Create an account to join the conversation.
- abfa9358
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
15 Jun 2018 16:15 #112415
by abfa9358
Replied by abfa9358 on topic A axis brake
Both really, however I can see the logic of G0 centric operation as it segregates index moves from coordinated moves. I will experiment tonight....
Thanks for the suggestions.
Thanks for the suggestions.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4866
18 Jun 2018 12:55 #112540
by andypugh
Replied by andypugh on topic A axis brake
The other alternative is to use (for example) a wcomp component to turn off the brake any time that the commanded speed is non-zero.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds