7i76e with 7i85S to control 9 steppers

More
7 years 11 months ago #120055 by PCW
For field I/O the names will be like

hm2_7i76e.0.7i76.0.0.input-00

hm2_7i76e.0.7i76.0.0.input-14-not

hm2_7i76e.0.7i76.0.0.output-07

These match the I/O names in the 7I76E manual

It looks like you dont have field power applied so they will not be
present yet

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

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
7 years 11 months ago - 7 years 11 months ago #120056 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
I just did another PncConf session with a simple configuration to see what I could learn. I didn't realize that the Mesa board should be plugged in for this...

Anyway, I still get:
Code:
# external output signals # --- DOUT-00 --- setp hm2_7i76e.0.gpio.047.is_output true net dout-00 hm2_7i76e.0.gpio.047.out # --- DOUT-01 --- setp hm2_7i76e.0.gpio.048.is_output true net dout-01 hm2_7i76e.0.gpio.048.out # --- DOUT-02 --- setp hm2_7i76e.0.gpio.049.is_output true net dout-02 hm2_7i76e.0.gpio.049.out # --- DOUT-03 --- setp hm2_7i76e.0.gpio.050.is_output true net dout-03 hm2_7i76e.0.gpio.050.out # external input signals # --- HOME-X --- net home-x <= hm2_7i76e.0.gpio.017.in # --- HOME-Y --- net home-y <= hm2_7i76e.0.gpio.018.in # --- HOME-Z --- net home-z <= hm2_7i76e.0.gpio.019.in

I've got 24V to the pins 5 and 8 on TB1 and 24V to Pin 22 and 23 on TB3. Is there something else I'm missing?

Am I supposed to manually change the pins to hm2_7i76e.0.7i76.0.0.input-00 and such in the .hal file?
Last edit: 7 years 11 months ago by cogzoid. Reason: [] vs

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

More
7 years 11 months ago #120060 by cmorley
You don't need power or even the card for pncconf.
You do need field power supplied for some of the pins to show up in HAL when running linuxcnc.

Look like pncconf is mis-naming the 7i76e pins.
I suggest manually renaming them in the HAL file.

Chris m

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

More
7 years 11 months ago - 7 years 11 months ago #120061 by PCW
pncconf will create the correct connections and pin names but you must select them from the "7I76 I/O" tab

pncconf doesnt need the card connected unless you run one of the tests

Not sure why your field I/O is not there, maybe your GPIO settings are causing an issue
(in general you should not mess with GPIO at all on a 7I76E unless you are manipulating one of the expansion connectors I/O bits)
Last edit: 7 years 11 months ago by PCW.

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

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
7 years 11 months ago #120067 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
Ah, I didn't realize that the 7i76 I/O tab needed to be populated like that. It felt like I was double entering things, so I didn't fill it out. Now the .hal file is reading the correct "input-16", etc...

Sorry for having to ask these simple questions, but I'm slowly climbing up this learning curve.

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

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
7 years 11 months ago #120128 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
Fresh off of the PncConf, the Digital Outputs don't work for me.

When I try to run linuxcnc I get this error code:
Code:
./DumbTest.hal:43: Pin 'hm2_7i76e.0.7i76.0.0.output-08' does not exist
If I comment out the digital outs, it also fails at the homing inputs.

I've attached the .ini and .hal files. I am absolutely perplexed that people are able to get this up and running on the first try.

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

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