7i76e axis extension

More
19 Mar 2019 19:42 #128992 by chris@cnc
7i76e axis extension was created by chris@cnc
Hi Guys,
I have a 7i76e connected with 5 axes. Now it would be nice to have an A-axis. Can I connect the over my 7I85s? The description says that you can also 4 differential step + dir. Does anyone know which bitfile is needed and on which pins then the axes are to be found?
Thank you Christian

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

More
19 Mar 2019 20:18 #128994 by Todd Zuercher
Replied by Todd Zuercher on topic 7i76e axis extension
You should not have to use any different bit file than the one you already are using. All you should need to do is to make sure that the hostmot2 config line in the hal file has enough stepgens enabled.

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

More
19 Mar 2019 20:33 #128995 by PCW
Replied by PCW on topic 7i76e axis extension
You want to use:

7i76e_7i76x1_7i85sx1D.bit

firmware for that combination.

This will give you a combined total of 9 step/dir channels and 5 encoder channels

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

More
19 Mar 2019 21:18 #129002 by chris@cnc
Replied by chris@cnc on topic 7i76e axis extension
That Would be nice but how to wire the step and dir signal?
In the manual are only that.
Attachments:

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

More
19 Mar 2019 21:33 - 19 Mar 2019 21:50 #129005 by PCW
Replied by PCW on topic 7i76e axis extension
The manual cannot really show the actual step/dir pins since they are dependent
on the firmware (they might be PWM pins etc)

You can determine the actual wiring by looking at the firmware pinout
(via mesaflash's readhmid command), but in this particular case, its pretty
straighforward:
7I76 --> Stepgens 0 through 4
7I85S:
TX0 = stepgen 5 step
TX1 = stepgen 5 dir
TX2 = stepgen 6 step
TX3 = stepgen 6 dir
etc
Last edit: 19 Mar 2019 21:50 by PCW.

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

More
19 Mar 2019 21:40 #129007 by chris@cnc
Replied by chris@cnc on topic 7i76e axis extension
That explains a lot. I will try tomorrow. Thank you for your quick support. Greetings Christian

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

More
20 Mar 2019 21:03 #129113 by chris@cnc
Replied by chris@cnc on topic 7i76e axis extension
I tried to move the 6 axis but I can not do it. PNCconf can not do that anymore and I'm making a mistake while changing the hal + ini. To test the matter I have 2 configs created one with 5 axes XXYZZ and one with XXYYZ. Then I tried to copy the lines for Z2 into the 2nd Config. Unfortunately, I measure nothing from the Z axis and it comes immediately the error Joint 5 following error.
Does anyone have a config example or 6 axes or knows what else is missing?

The Hardware configuration is 7i76e + 7i85s on P1 and readhmid looks correct.
Attachments:

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

More
20 Mar 2019 21:33 #129117 by PCW
Replied by PCW on topic 7i76e axis extension
At the minimum, I would remove all the
setp pid.AXIS.maxerror .0005 statements

Other than that, I don't see any obvious issues with a quick read-through

You may need to set huge following error limits and see what is not working
to debug further

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
21 Mar 2019 00:39 #129129 by tommylight
Replied by tommylight on topic 7i76e axis extension
addf hm2_7i76e.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.x2.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.y2.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
addf hm2_7i76e.0.write servo-thread
setp hm2_7i76e.0.dpll.01.timer-us -50
setp hm2_7i76e.0.stepgen.timer-number 1

You have a missing addf for the Z2 axis, should be

addf hm2_7i76e.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.x2.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.y2.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread

addf pid.z2.do-pid-calcs servo-thread

addf pid.s.do-pid-calcs servo-thread
addf hm2_7i76e.0.write servo-thread
setp hm2_7i76e.0.dpll.01.timer-us -50
setp hm2_7i76e.0.stepgen.timer-number 1
The following user(s) said Thank You: chris@cnc

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

More
21 Mar 2019 16:34 #129191 by chris@cnc
Replied by chris@cnc on topic 7i76e axis extension
:) Yes now it works... Thanks

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

Moderators: PCWjmelson
Time to create page: 0.089 seconds
Powered by Kunena Forum