- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- How to link inputs ,outputs for Mesa 5i25 7i76
How to link inputs ,outputs for Mesa 5i25 7i76
I continue my tests with the mesa and 5i25 7i76 cards.
In the doc :
www.linuxcnc.org/docs/html/drivers/hostmot2.htm
I do the command:
dmesg > hm2.txt
[ 7522.091767] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
[ 7522.091774] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
[ 7522.091777] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
[ 7522.091781] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
[ 7522.091784] hm2/hm2_5i25.0: IO Pin 004 (P3-03): IOPort
[ 7522.091787] hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort
[ 7522.091789] hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
[ 7522.091795] hm2/hm2_5i25.0: IO Pin 007 (P3-17): IOPort
[ 7522.091797] hm2/hm2_5i25.0: IO Pin 008 (P3-05): IOPort
[ 7522.091800] hm2/hm2_5i25.0: IO Pin 009 (P3-06): IOPort
[ 7522.091804] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)
[ 7522.091808] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
[ 7522.091811] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
[ 7522.091817] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 7522.091820] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
[ 7522.091824] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input)
[ 7522.091827] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input)
[ 7522.091830] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
[ 7522.091833] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
[ 7522.091838] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
[ 7522.091841] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
[ 7522.091843] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
[ 7522.091846] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
[ 7522.091849] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 7522.091851] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 7522.091854] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
[ 7522.091859] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
[ 7522.091862] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
[ 7522.091865] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 7522.091867] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 7522.091870] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 7522.091873] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
[ 7522.091875] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
[ 7522.091880] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
If I understand is the inputs and outputs of the 5i25
In the manual 7i76, page 8, I list Field input / output connectors and TB5 TB6
Example :
TB6 CONNECTOR PINOUT
TB6 PIN I/O
1 INPUT16
An example with pncconfig:
# --- COOLANT-MIST ---
setp hm2_5i25.0.gpio.017.is_output true
net coolant-mist hm2_5i25.0.gpio.017.out
Installation du driver
My question is how to link an input or output TB5-TB6 ???
Thank you in advance.
Pierre
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5008
- Thank you received: 1441
hm2_5i25.0.7i77.0.0.input-03 (for an input )
or
hm2_5i25.0.7i77.0.0.output-01 (for an output)
But you can easily check the pin names from Hal Show.
In Pnconf the io pins are not listed under GPIO, they are dedicated inputs and outputs under smart serial (I think).
PS: You have to have the field power connected to the 7i76 board for the field io to show up.
Please Log in or Create an account to join the conversation.
Thank you for your help.
This is what I do not understand!In Pnconf the io pins are not listed under GPIO, they are dedicated inputs and outputs under smart serial (I think).
W1est left and I use the 24v on TB1 to pin 1 and 8PS: You have to have the field power connected to the 7i76 board for the field io to show up.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5008
- Thank you received: 1441
Please Log in or Create an account to join the conversation.
on 7i76 or is this output:
hm2_5i25.0.gpio.017
Where is the gpio 017 ?????
With a multimeter on TB5 and TB6 I only 0V to terminals ???
Or with :
halcmd: setp hm2_5i25.0.7i76.0.0.output-07 true
24v --> output7 Tb6
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
- Posts: 5008
- Thank you received: 1441
hm2_5i25.0.7i76.0.0.output-07 would be pin #24 on TB6. Test it by probing from it to the ground (pin8 TB1) of the field IO with your multi meter.
Please Log in or Create an account to join the conversation.
hm2_5i25.0.gpio.017
That is a specific pin on the DB25 connector of the 5i25. You won't be using that.
Please Log in or Create an account to join the conversation.
hm2_5i25.0.gpio.0xx refers to a pin if unused for anything else on the 5i25. The pin hm2_5i25.0.gpio.017 would be the first pin on the 2nd port (the header pins on the top of the card) of the 5i25 card.
That is a specific pin on the DB25 connector of the 5i25. You won't be using that.
A bad choice in pncconf?
I make you some screenshots
Please Log in or Create an account to join the conversation.
Perhaps you need to press the "Accepter..." button to get the 7i76 to show up. (or, possibly, there is a bug in Pnnconf in French)
Please Log in or Create an account to join the conversation.
Not at the moment is only the 5i25 and 7i76
This is the choice that is in the connector tab 3
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- How to link inputs ,outputs for Mesa 5i25 7i76