Issues when trying to configure 7i76E
07 Mar 2017 21:48 #89172
by Victor
Issues when trying to configure 7i76E was created by Victor
Hi!
Well i abandoned my parallel port BOB and got an Mesa 7i76E instead, after quite a few issues i reinstalled Linux (7.9.0) with Preempt-RT AMD64 and installed LinuxCNC 2.7.8.
Ran the PnCConf, choose the 7i76E, changed the IP to 10.10.10.10 in the .hal file. (changed the W3 jumper to top position)
and was able to start LinuxCNC. however i have some issues that i have not been able to solve:
Following LED's are lit when I'm running LinuxCNC.
CR1 is on / orange
CR2 is off
CR3-6 is on / green
CR8 is on / orange
CR13 is on / orange
I'm guessing something is wrong since CR1 is lit? and should CR3-6 be lit?
anyways i have tried to get some response from the 7i76E board so i hooked up a wire from TB1 Field power pin 3 and i have configured min-x (also tried Estop) on pin 4 using PnCConf, but when i hook up my wire from TB1 /pin 3 to TB6 pin4 (fifth pin from the bottom since the first one is 0) i get nothing in LinuxCNC, if i open HAL Configuration and "Watch" "hm2_7i76e.0.7i76.0.0.input-04-not" it is active and if i hook up my wire it goes inactive but i don't get any response from within LinuxCNC, I'm probably missing something basic but I'm stuck.
Also when i run PnCConf it changes the m2_eth board_ip="10.10.10.10" back to 192.168.1.1, are the any way to fix this?
I've attached my .hal and .ini file.
Thanks!
// Victor
Well i abandoned my parallel port BOB and got an Mesa 7i76E instead, after quite a few issues i reinstalled Linux (7.9.0) with Preempt-RT AMD64 and installed LinuxCNC 2.7.8.
Ran the PnCConf, choose the 7i76E, changed the IP to 10.10.10.10 in the .hal file. (changed the W3 jumper to top position)
and was able to start LinuxCNC. however i have some issues that i have not been able to solve:
Following LED's are lit when I'm running LinuxCNC.
CR1 is on / orange
CR2 is off
CR3-6 is on / green
CR8 is on / orange
CR13 is on / orange
I'm guessing something is wrong since CR1 is lit? and should CR3-6 be lit?
anyways i have tried to get some response from the 7i76E board so i hooked up a wire from TB1 Field power pin 3 and i have configured min-x (also tried Estop) on pin 4 using PnCConf, but when i hook up my wire from TB1 /pin 3 to TB6 pin4 (fifth pin from the bottom since the first one is 0) i get nothing in LinuxCNC, if i open HAL Configuration and "Watch" "hm2_7i76e.0.7i76.0.0.input-04-not" it is active and if i hook up my wire it goes inactive but i don't get any response from within LinuxCNC, I'm probably missing something basic but I'm stuck.
Also when i run PnCConf it changes the m2_eth board_ip="10.10.10.10" back to 192.168.1.1, are the any way to fix this?
I've attached my .hal and .ini file.
Thanks!
// Victor
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19220
- Thank you received: 6440
07 Mar 2017 22:31 - 07 Mar 2017 22:33 #89177
by tommylight
Replied by tommylight on topic Issues when trying to configure 7i76E
Please remove the "not" for x limit input.
I do not remember how the leds should be, and my 7i76E is in the workshop, but it is all good, it would tell you if something was wrong as soon as you try to enable power on Linuxcnc.
I do not remember how the leds should be, and my 7i76E is in the workshop, but it is all good, it would tell you if something was wrong as soon as you try to enable power on Linuxcnc.
Last edit: 07 Mar 2017 22:33 by tommylight.
Please Log in or Create an account to join the conversation.
08 Mar 2017 06:36 #89191
by Victor
Replied by Victor on topic Issues when trying to configure 7i76E
Ok.
I changed to "net min-x <= hm2_7i76e.0.gpio.004.in"
And when i start LinuxCNC and click toggle machine power (f2) i get "joint 0 on limit switch error"
in show hal configuration / watch "hm2_7i76E.0.7i76.0.0.input-04" is inactive if i don't have my +24v wire connected. if i connect it goes active
if i look under signals and select "min-x" it is constant active, no difference when i hook up my +24v wire.
Thanks
Victor
I changed to "net min-x <= hm2_7i76e.0.gpio.004.in"
And when i start LinuxCNC and click toggle machine power (f2) i get "joint 0 on limit switch error"
in show hal configuration / watch "hm2_7i76E.0.7i76.0.0.input-04" is inactive if i don't have my +24v wire connected. if i connect it goes active
if i look under signals and select "min-x" it is constant active, no difference when i hook up my +24v wire.
Thanks
Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 13:55 - 08 Mar 2017 13:56 #89201
by PCW
I think you are mixing up GPIO with field I/O (on a 7I76E GPIO4 would be DIR2)
You want to either use hm2_7i76E.0.7i76.0.0.input-04 or hm2_7i76E.0.7i76.0.0.input-04-not
depending on whether your switch is NO or NC.
If you have a choice, a NC switch + hm2_7i76E.0.7i76.0.0.input-XX-not is safer since
it will flag an error with a broken or shorted (to ground) wire.
Replied by PCW on topic Issues when trying to configure 7i76E
I changed to "net min-x <= hm2_7i76e.0.gpio.004.in"
I think you are mixing up GPIO with field I/O (on a 7I76E GPIO4 would be DIR2)
You want to either use hm2_7i76E.0.7i76.0.0.input-04 or hm2_7i76E.0.7i76.0.0.input-04-not
depending on whether your switch is NO or NC.
If you have a choice, a NC switch + hm2_7i76E.0.7i76.0.0.input-XX-not is safer since
it will flag an error with a broken or shorted (to ground) wire.
Last edit: 08 Mar 2017 13:56 by PCW.
The following user(s) said Thank You: Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 15:23 #89204
by Victor
Replied by Victor on topic Issues when trying to configure 7i76E
Ok, that makes sense.
the "code" "net min-x <= hm2_7i76e.0.gpio.004.in" was generated by PnCConf, and if i remember correctly i can choose between GPIO Input, GPIO Output and GPIO O Drain in PnCConf, how would i do this differently to use field I/O? is it possible by PnCConf or do i need to change it manually in .hal file?
Thanks
Victor
the "code" "net min-x <= hm2_7i76e.0.gpio.004.in" was generated by PnCConf, and if i remember correctly i can choose between GPIO Input, GPIO Output and GPIO O Drain in PnCConf, how would i do this differently to use field I/O? is it possible by PnCConf or do i need to change it manually in .hal file?
Thanks
Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 16:16 - 08 Mar 2017 16:21 #89206
by PCW
Replied by PCW on topic Issues when trying to configure 7i76E
Sure pncconf can setup GPIO but you cant just randomly use GPIO without knowing each GPIO bits
function and connection
Limit switches on a 7I76E should normally go to field I/O (in general there is no reason to use GPIO at all on a 7I76E)
( And there is no relationship at all between GPIO hm2_7i76e.0.gpio.004.in and Field I/O hm2_7i76E.0.7i76.0.0.input-04 )
function and connection
Limit switches on a 7I76E should normally go to field I/O (in general there is no reason to use GPIO at all on a 7I76E)
( And there is no relationship at all between GPIO hm2_7i76e.0.gpio.004.in and Field I/O hm2_7i76E.0.7i76.0.0.input-04 )
Last edit: 08 Mar 2017 16:21 by PCW.
Please Log in or Create an account to join the conversation.
08 Mar 2017 16:21 #89208
by Victor
Replied by Victor on topic Issues when trying to configure 7i76E
Hi,
I think you misunderstood me. i'm not asking if pncconf can setup GPIO (this is what already has happened)
my question was how would i do to get pncconf to setup field I/0, in other words what do i have to do to make pncconf to setup this "7i76E.0.7i76.0.0.input-04-not" instead of my current "net min-x <= hm2_7i76e.0.gpio.004.in"
Thanks
Victor
I think you misunderstood me. i'm not asking if pncconf can setup GPIO (this is what already has happened)
my question was how would i do to get pncconf to setup field I/0, in other words what do i have to do to make pncconf to setup this "7i76E.0.7i76.0.0.input-04-not" instead of my current "net min-x <= hm2_7i76e.0.gpio.004.in"
Thanks
Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 16:39 #89210
by PCW
Replied by PCW on topic Issues when trying to configure 7i76E
By selecting the 7I76 I/O tab rather than the P3 or P2 tabs
The following user(s) said Thank You: Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 16:58 #89211
by Victor
Replied by Victor on topic Issues when trying to configure 7i76E
Excellent! that did the trick!
Any ideas about this?
"Also when i run PnCConf it changes the m2_eth board_ip="10.10.10.10" back to 192.168.1.1, are the any way to fix this?"
Thanks!
Victor
Any ideas about this?
"Also when i run PnCConf it changes the m2_eth board_ip="10.10.10.10" back to 192.168.1.1, are the any way to fix this?"
Thanks!
Victor
Please Log in or Create an account to join the conversation.
08 Mar 2017 17:03 #89212
by PCW
Replied by PCW on topic Issues when trying to configure 7i76E
To fix the IP issue you would have to modify pncconf so it had a IP tab (with a couple reasonable defaults)
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.093 seconds