Daughterboard inputs not recognized in HALMETER
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23538
- Thank you received: 4854
31 Oct 2017 12:55 #101053
by andypugh
Replied by andypugh on topic Daughterboard inputs not recognized in HALMETER
The Tormach configs pass the inputs through debounce and look-up tables.
Where are you checking with Halmeter?
net home-limit-x-raw <= hm2_5i25.0.7i76.0.0.input-01-not => debounce.0.1.in
net home-limit-y-raw <= hm2_5i25.0.7i76.0.0.input-02-not => debounce.0.2.in
net home-limit-z-raw <= hm2_5i25.0.7i76.0.0.input-03-not => debounce.0.3.in
You could try looking at the 5i25 pins, the signals and the debounce in and out to see where the link is broken.
Where are you checking with Halmeter?
net home-limit-x-raw <= hm2_5i25.0.7i76.0.0.input-01-not => debounce.0.1.in
net home-limit-y-raw <= hm2_5i25.0.7i76.0.0.input-02-not => debounce.0.2.in
net home-limit-z-raw <= hm2_5i25.0.7i76.0.0.input-03-not => debounce.0.3.in
You could try looking at the 5i25 pins, the signals and the debounce in and out to see where the link is broken.
Please Log in or Create an account to join the conversation.
- Dubmfg
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 1
31 Oct 2017 14:22 #101063
by Dubmfg
Replied by Dubmfg on topic Daughterboard inputs not recognized in HALMETER
Im checking at the Input-# pins, not the debounce signals or the home-limit-n signals
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Platinum Member
Less
More
- Posts: 1154
- Thank you received: 614
31 Oct 2017 14:55 - 31 Oct 2017 14:57 #101066
by Lcvette
Replied by Lcvette on topic Daughterboard inputs not recognized in HALMETER
Man I sure hope you resolve this! I know you have worked on it forever now it seems. Is there anything different from others running the 6i25/7i76 setup with pathpilot? You would think that by now someone would have made a basic schematic to follow for connecting everything to the 7i76 and just make it a standard configuration and have a solid setup file to be one and done. I'm sure it must be more complex than that I suppose or it surely would have been done by now. Either that or people are reluctant to share once they are up and running.
I would be more than happy to do a schematic for that that anyone could read to wire everything properly and standardize the requirements to make the software side simple and automatic.
Dub, when you get it all working if you tell me your 7i76 connections is be happy to make that! And maybe you could part the completed deep file?
Chris
I would be more than happy to do a schematic for that that anyone could read to wire everything properly and standardize the requirements to make the software side simple and automatic.
Dub, when you get it all working if you tell me your 7i76 connections is be happy to make that! And maybe you could part the completed deep file?
Chris
Last edit: 31 Oct 2017 14:57 by Lcvette.
Please Log in or Create an account to join the conversation.
- Dubmfg
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 1
31 Oct 2017 14:56 #101067
by Dubmfg
Replied by Dubmfg on topic Daughterboard inputs not recognized in HALMETER
Would be happy to help out. I had it working in the past but unfortunately lost that data when I grenaded my Motherboard
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23538
- Thank you received: 4854
31 Oct 2017 16:59 #101070
by andypugh
Replied by andypugh on topic Daughterboard inputs not recognized in HALMETER
Are you saying that the exact same firmware on the 5i25 and the same wiring to the 7i76 works with LinuxCNC and does not work with PathPilot?
That is, indeed, very strange.
Can you check that hm2_5i25.0.sserial-port.0.run = 1?
(I guessed the pin name, it's something like that)
That is, indeed, very strange.
Can you check that hm2_5i25.0.sserial-port.0.run = 1?
(I guessed the pin name, it's something like that)
Please Log in or Create an account to join the conversation.
- smgvbest
- Offline
- Elite Member
Less
More
- Posts: 311
- Thank you received: 51
01 Nov 2017 00:20 - 01 Nov 2017 00:27 #101093
by smgvbest
Replied by smgvbest on topic Daughterboard inputs not recognized in HALMETER
Hi
Sorry you haven't heard from me I've been looking at your configs and found the issue
in your hal config you have this line
setp hm2_5i25.0.gpio.010.invert_output 1
GPIO 10 is used by the smart serial interface as seen in the dmesg output.
and in your hal file its noted has
# P3 pin 7 gpio 010
# Z step
setp hm2_5i25.0.gpio.010.invert_output 1
so the stepgen is trying to control this pin as is the SS interface
i loaded your config up on my PP machine and had the same issue you do.
I commented out the setp hm2_5i25.0.gpio.010.invert_output 1 and everything started working (though my wiring is different than yours it did respond to all my inputs)
screen shot shows 7i76 input 02 going active
comment out that line in yours and I expect you'll get working.
I had thought it would be either the watchdog or something like this after we ruled out the hardware.
also while it is work, it's best to configure PP hal file completely to help eliminate issues like this.
quick edit to clean up a few thing
btw: if you want halshow working i and another user posted on how to get it working. but as I recall source was needed but i can provide missing files.
Sorry you haven't heard from me I've been looking at your configs and found the issue
in your hal config you have this line
setp hm2_5i25.0.gpio.010.invert_output 1
GPIO 10 is used by the smart serial interface as seen in the dmesg output.
[581661.810026] hm2/hm2_5i25.0: 34 I/O Pins used:
[581661.810028] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
[581661.810030] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
[581661.810031] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
[581661.810033] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
[581661.810034] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
[581661.810036] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
[581661.810037] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
[581661.810039] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
[581661.810040] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
[581661.810042] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
>>[581661.810043] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)<<
[581661.810045] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
[581661.810046] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
[581661.810048] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[581661.810049] hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
[581661.810050] hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
[581661.810051] hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
and in your hal file its noted has
# P3 pin 7 gpio 010
# Z step
setp hm2_5i25.0.gpio.010.invert_output 1
so the stepgen is trying to control this pin as is the SS interface
i loaded your config up on my PP machine and had the same issue you do.
I commented out the setp hm2_5i25.0.gpio.010.invert_output 1 and everything started working (though my wiring is different than yours it did respond to all my inputs)
screen shot shows 7i76 input 02 going active
comment out that line in yours and I expect you'll get working.
I had thought it would be either the watchdog or something like this after we ruled out the hardware.
also while it is work, it's best to configure PP hal file completely to help eliminate issues like this.
quick edit to clean up a few thing
btw: if you want halshow working i and another user posted on how to get it working. but as I recall source was needed but i can provide missing files.
Last edit: 01 Nov 2017 00:27 by smgvbest.
The following user(s) said Thank You: andypugh
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23538
- Thank you received: 4854
01 Nov 2017 00:41 #101094
by andypugh
Wow! Well spotted!
Replied by andypugh on topic Daughterboard inputs not recognized in HALMETER
Hi
Sorry you haven't heard from me I've been looking at your configs and found the issue
in your hal config you have this line
setp hm2_5i25.0.gpio.010.invert_output 1
.
Wow! Well spotted!
Please Log in or Create an account to join the conversation.
- Dubmfg
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 1
01 Nov 2017 17:37 - 01 Nov 2017 17:41 #101140
by Dubmfg
Replied by Dubmfg on topic Daughterboard inputs not recognized in HALMETER
Holy crap! Trying this right now. Will report back shortly.
EDIT: It worked! I have limit switches!!!!!
Now I just have two wiring shorts to deal with, my Z axis only moves upwards (pretty sure thats a ground fault issue) and one of my limits is dead. Awesome!!!! Thanks so much!!!
EDIT: It worked! I have limit switches!!!!!
Now I just have two wiring shorts to deal with, my Z axis only moves upwards (pretty sure thats a ground fault issue) and one of my limits is dead. Awesome!!!! Thanks so much!!!
Last edit: 01 Nov 2017 17:41 by Dubmfg.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Platinum Member
Less
More
- Posts: 1154
- Thank you received: 614
01 Nov 2017 18:22 #101141
by Lcvette
Replied by Lcvette on topic Daughterboard inputs not recognized in HALMETER
Awesome!!!! Great catch smgvbest!!!! Congrats on that hurdle dubmfg!!! Report back with your final verdict!!
Please Log in or Create an account to join the conversation.
- Dubmfg
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 1
01 Nov 2017 20:19 #101150
by Dubmfg
Replied by Dubmfg on topic Daughterboard inputs not recognized in HALMETER
Got the limit switch sorted, now trying to work on the Z axis. Because pin 10 is used for communication between the 6i25 and the 7i76 I assume this means I have to use a different pin on the 7i76 for the Z axis invert signal, as its now correctly being used for sserial comms?
Please Log in or Create an account to join the conversation.
Time to create page: 1.024 seconds