error adding estop_latch function
- sliptonic
- Offline
- Premium Member
Less
More
- Posts: 140
- Thank you received: 20
25 Oct 2018 02:56 #119375
by sliptonic
error adding estop_latch function was created by sliptonic
I've got a mill with 5i25/7i77 servo drive. I've been running machinekit successfully for a couple years but have had some problems recently so thought I'd try lcnc again.
I'm trying to convert the configuration and I get an error adding the estop_latch function
The estop_latch component loads into hal fine but then I get the HAL error function 'estop_latch.0' not found.
The relevant code is in custom.hal and the entire configuration is here: github.com/sliptonic/millstone/tree/lcnc
I'm trying to convert the configuration and I get an error adding the estop_latch function
The estop_latch component loads into hal fine but then I get the HAL error function 'estop_latch.0' not found.
The relevant code is in custom.hal and the entire configuration is here: github.com/sliptonic/millstone/tree/lcnc
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
25 Oct 2018 03:10 - 25 Oct 2018 03:17 #119376
by dgarrett
hyphen not underscore in pin names, funct names, ...
REF: linuxcnc.org/docs/2.7/html/man/man9/estop_latch.9.html
Replied by dgarrett on topic error adding estop_latch function
$ halrun
halcmd: loadrt estop_latch
Note: Using POSIX realtime
halcmd: show funct
Exported Functions:
Owner CodeAddr Arg FP Users Name
00004 7f53d93f3de0 7f53db3ed120 NO 0 estop-latch.0
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
4 bit IN FALSE estop-latch.0.fault-in
4 bit OUT TRUE estop-latch.0.fault-out
4 bit IN TRUE estop-latch.0.ok-in
4 bit OUT FALSE estop-latch.0.ok-out
4 bit IN FALSE estop-latch.0.reset
4 s32 OUT 0 estop-latch.0.time
4 bit OUT FALSE estop-latch.0.watchdog
hyphen not underscore in pin names, funct names, ...
REF: linuxcnc.org/docs/2.7/html/man/man9/estop_latch.9.html
Last edit: 25 Oct 2018 03:17 by dgarrett.
Please Log in or Create an account to join the conversation.
- sliptonic
- Offline
- Premium Member
Less
More
- Posts: 140
- Thank you received: 20
25 Oct 2018 03:31 #119377
by sliptonic
Replied by sliptonic on topic error adding estop_latch function
Doh! You know, I think that bit me in the butt when I converted the other way two years ago. Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds