Mesa 7i76e setup help!

More
9 years 11 months ago - 9 years 11 months ago #83464 by PCW
Replied by PCW on topic Mesa 7i76e setup help!
Actually, no, the first digit must be 2, so serial_port_0=2xxx is correct

This is because the sserial channel options are entered on the driver command line
with one character per channel in left to right order, and the 7I76 part of a 7I76e
is normally at port0, channel 0
so for example:

sserial_port_0=56x1xxxx

would set

port 0 channel 0 to mode 5
port 0 channel 1 to mode 6
disable port 0 channel 2
port 0 channel 3 to mode 1
and disable port 0 channels 4..7
Last edit: 9 years 11 months ago by PCW.

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

More
9 years 11 months ago #83465 by rodw
Replied by rodw on topic Mesa 7i76e setup help!

PCW wrote: Actually, no, the first digit must be 2, so serial_port_0=2xxx is correct


So it should be
Code:
halcmd: loadrt hm2_eth board_ip="10.10.10.10" config="sserial_port_0=2xxx"
Is that right?

Are those mode settings documented anywhere?

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

More
9 years 11 months ago - 9 years 11 months ago #83471 by PCW
Replied by PCW on topic Mesa 7i76e setup help!
The individual card modes are documented in the appropriate card manual.

The syntax of the hm2 driver configuration is documented in the hostmot2 manual (man hostmot2)

halcmd: loadrt hm2_eth board_ip="10.10.10.10" config="sserial_port_0=2xxx"


Will work for the 7I76e if you want the MPG encoders enabled

as will sserial_port_0=20xx ( set the 7I76e's 7I76 ( channel 0 ) to mode 2 and the 7I76E's sserial expansion port (channel 1) to mode 0 )
Last edit: 9 years 11 months ago by PCW.

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

More
9 years 10 months ago #83568 by vmihalca
Replied by vmihalca on topic Mesa 7i76e setup help!
Thanks to your advices, I have managed to wire the encoder in the picture below and see the dro changing when turning the mpg.
As you can see in the picture, the pendant has an enable button on the left side. When i select the axis or increment, the circuit is closed only if I push that button.
I don't have any previous experience with cnc machines or pendants so don't know how that enable button should behave.
Is it a feature to be able to jog the machine axes only when enable button is pressed?
If not, i could change the wiring and use that button for smth else, however the wiring diagram&wire colors don't match the device itself :)
China $60 piece of equipment! :)

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

More
9 years 10 months ago #83666 by vmihalca
Replied by vmihalca on topic Mesa 7i76e setup help!
Hi guys,
After a few trial and error attempts, I have managed to wire the pendant inspiring from this example:
linuxcnc.org/docs/html/examples/mpg.html
I can't say I actually know what I did, I've mostly used intuition to change the custom.hal file.
I can jog the X axis, the increments 0.1, 0.01 and 0.001 are working now (don't know why :P )
However Z axis is not working, and after a few spins I get the error that can be seen in the attachment.


What do I have to change to update the axis selection in the UI as I select the knob on the pendant?
Right now, if the pendant is set to jog the X axis, turning the mpg wheel, will jog the X axis even if in the UI the selected axis is Z.
When trying to jog the Z axis, what does that error mean ?
I have also attached the hal files so that you guys can take a look.
Thanks in advance! :)

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

More
9 years 10 months ago #83691 by andypugh
Replied by andypugh on topic Mesa 7i76e setup help!
I think that the problem is that your custom.hal is trying to jog joint.1 and the Z-axis is joint.2.

In the next version of LinuxCNC a lathe will typically have just two joints (0 and 1) but in 2.7 (which is what you are using) the Z axis is still joint / axis 2.

Change the 1s to 2s in your custom.hal and it will probably work.

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

Time to create page: 0.185 seconds
Powered by Kunena Forum