Time to setup my lathe with 7i76e

More
25 Feb 2018 12:08 #106483 by Mike_Eitel
I include here my working mpg.hal.
Not active as still in development on my lab table, but proofen to run.

It is not yet clean, but sou might find some hints in it.

To know is that I have three switches (U use analog poti) who decide scaling.
Additional I have smoothing against incremental jumps, not yet tuned

They feed four mpg's for my XYZA

As I do not understand completely ;-( I feed the axis and the joints pins ..... At least it works.

Mike



File Attachment:

File Name: mpg.hal
File Size:5 KB
axis
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 12:14 #106484 by tecno
7i73 is not on my lathe, only 7i76e with 2 MPG

And yes data is coming in.

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 12:25 #106485 by tecno
Still No Go with sserial_port_0=2xxxx

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 12:30 #106486 by Mike_Eitel
Dont care that my signals are coming from 7i73. You have already the pins.
Watch that i connect the
.scale from line 84
.count from line 97 on ( you should use here your encoders.count)
.enable from line 118

And as said before for the axis and the joints pins.
Maybe somebody more scilled can advise if that makes sense.

Mike

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 13:19 #106487 by tecno
Sorry but there is no joints so now it complains about that.

# Jog enable
you have
net jog-enable <= halui.machine.is-on

How do I do this as my halui is
net machine-is-on halui.machine.is-on

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 13:30 #106488 by Mike_Eitel
Just for a test use your signal machine-is-on

Is something moving now

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 13:50 #106490 by tecno
# Jog enable
net jog-enable <= machine-is-on

Does not work >>>> No such signal

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 14:36 #106491 by Mike_Eitel
net machine-is-on => joint.0.jog-enable axis.x.jog-enable

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 15:28 #106493 by tecno
I have it working now.

File Attachment:

File Name: CNC3000_20...2-25.hal
File Size:12 KB


Copied Andys code from forum.linuxcnc.org/27-driver-boards/3302...athe?start=10#103244




Thank you guys for helping me out here = much appreciated!
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Feb 2018 15:33 #106494 by Mike_Eitel
Love to read that
Have fun with your next steps.
Mike

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.140 seconds
Powered by Kunena Forum