Time to setup my lathe with 7i76e

More
8 years 8 months ago #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



Attachment not found

axis

Please Log in to join the conversation.

More
8 years 8 months ago #106484 by tecno
7i73 is not on my lathe, only 7i76e with 2 MPG

And yes data is coming in.

Please Log in to join the conversation.

More
8 years 8 months ago #106485 by tecno
Still No Go with sserial_port_0=2xxxx

Please Log in to join the conversation.

More
8 years 8 months ago #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 to join the conversation.

More
8 years 8 months ago #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 to join the conversation.

More
8 years 8 months ago #106488 by Mike_Eitel
Just for a test use your signal machine-is-on

Is something moving now

Please Log in to join the conversation.

More
8 years 8 months ago #106490 by tecno
# Jog enable
net jog-enable <= machine-is-on

Does not work >>>> No such signal

Please Log in to join the conversation.

More
8 years 8 months ago #106491 by Mike_Eitel
net machine-is-on => joint.0.jog-enable axis.x.jog-enable

Please Log in to join the conversation.

More
8 years 8 months ago #106493 by tecno
I have it working now.

Attachment not found



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!

Please Log in to join the conversation.

More
8 years 8 months ago #106494 by Mike_Eitel
Love to read that
Have fun with your next steps.
Mike

Please Log in to join the conversation.

Time to create page: 1.148 seconds
Powered by Kunena Forum