Mesa 7I94+7I89
20 Jun 2021 13:05 #212482
by PCW
Replied by PCW on topic Mesa 7I94+7I89
I thought the issue was no power. What is the issue now?
Please Log in or Create an account to join the conversation.
20 Jun 2021 22:39 #212524
by MrMick
Replied by MrMick on topic Mesa 7I94+7I89
Sorry forgot to mention my cable hadn't been terminated properly that sorted the led near the power input.
I have the 1 yellow led coming up. In the not switched encoder power mode, should the other led light up at the bottom of the board near the second row of connectors?
To bench test I've wired a new encoder up but get nothing on Linuxcnc. Either on dro's or in hal on the monitor modes.
I have the 1 yellow led coming up. In the not switched encoder power mode, should the other led light up at the bottom of the board near the second row of connectors?
To bench test I've wired a new encoder up but get nothing on Linuxcnc. Either on dro's or in hal on the monitor modes.
Please Log in or Create an account to join the conversation.
21 Jun 2021 00:37 - 21 Jun 2021 00:41 #212527
by PCW
Replied by PCW on topic Mesa 7I94+7I89
Yes, the second LED should illuminate when the encoder power is on
Is encoder power present?
I take that back ,the second LED only illuminates if the switched power is on
If you select un-switched power, The lower (encoder power) LED
need not be illuminated for correct operation
Is encoder power present?
I take that back ,the second LED only illuminates if the switched power is on
If you select un-switched power, The lower (encoder power) LED
need not be illuminated for correct operation
Last edit: 21 Jun 2021 00:41 by PCW.
Please Log in or Create an account to join the conversation.
24 Jun 2021 22:25 #212853
by MrMick
Replied by MrMick on topic Mesa 7I94+7I89
Ok trying to narrow down where the issue is.
I have the top led llit when 5v to the power connector and the db 25 lead is connected.
If I remove db25 lead I have no lit led.
I also have 5v at encoder power connectors. But I still have no encoder feed back in LC
When I move the jumpers to switched encoder power and try switching on encoder via pin 13 (pwop) I have no joy.
What is the correct naming for IO PIN 013 (P2-P19) as shown by show pin? Linux doesn't like the spaces or as one word or even using _ instead of spaces. And taking gpio 013 low doesn't do it either (I realize it's a different pin but clutching at straws)
I have the top led llit when 5v to the power connector and the db 25 lead is connected.
If I remove db25 lead I have no lit led.
I also have 5v at encoder power connectors. But I still have no encoder feed back in LC
When I move the jumpers to switched encoder power and try switching on encoder via pin 13 (pwop) I have no joy.
What is the correct naming for IO PIN 013 (P2-P19) as shown by show pin? Linux doesn't like the spaces or as one word or even using _ instead of spaces. And taking gpio 013 low doesn't do it either (I realize it's a different pin but clutching at straws)
Please Log in or Create an account to join the conversation.
24 Jun 2021 23:07 #212854
by PCW
Replied by PCW on topic Mesa 7I94+7I89
Use:
halcmd show pin
To get a list of all pins
halcmd show pin
To get a list of all pins
The following user(s) said Thank You: MrMick
Please Log in or Create an account to join the conversation.
24 Jun 2021 23:25 - 25 Jun 2021 00:48 #212855
by MrMick
Replied by MrMick on topic Mesa 7I94+7I89
I have,
So IO PIN 13 (P2-19) would switch pwop right?
Whats the correct name in linuxcnc for this one?
As per pic of show pin description for Io line 13 pwop
So IO PIN 13 (P2-19) would switch pwop right?
Whats the correct name in linuxcnc for this one?
As per pic of show pin description for Io line 13 pwop
Last edit: 25 Jun 2021 00:48 by MrMick.
Please Log in or Create an account to join the conversation.
25 Jun 2021 01:10 #212861
by PCW
Replied by PCW on topic Mesa 7I94+7I89
halcmd show pin
or halcmd show pin hm2
should give you the actual pin names
or halcmd show pin hm2
should give you the actual pin names
Please Log in or Create an account to join the conversation.
25 Jun 2021 01:48 #212865
by MrMick
Replied by MrMick on topic Mesa 7I94+7I89
That is halrun show pin.
The pin name is shown with spaces. The picture is a photo of the screen of show pin
The pin name is shown with spaces. The picture is a photo of the screen of show pin
Please Log in or Create an account to join the conversation.
25 Jun 2021 02:44 - 25 Jun 2021 02:45 #212867
by PCW
Replied by PCW on topic Mesa 7I94+7I89
Here is what I get for gpio pin names:
And if I:
setp hm2_7i94.0.gpio.041.is_output true
setp hm2_7i94.0.gpio.013.is_output true
setp hm2_7i94.0.gpio.041.out false
setp hm2_7i94.0.gpio.013.out false
On the 7I94ss_7i89 config, the switched power LED turns on and I can turn if off with:
setp hm2_7i94.0.gpio.013.out true
in addition, I can read all 8 encoder counters
halcmd: show pin hm2_7i94.0.gpio
Component Pins:
Owner Type Dir Value Name
7 bit OUT FALSE hm2_7i94.0.gpio.000.in
7 bit OUT TRUE hm2_7i94.0.gpio.000.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.001.in
7 bit OUT TRUE hm2_7i94.0.gpio.001.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.002.in
7 bit OUT TRUE hm2_7i94.0.gpio.002.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.003.in
7 bit OUT TRUE hm2_7i94.0.gpio.003.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.004.in
7 bit OUT TRUE hm2_7i94.0.gpio.004.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.005.in
7 bit OUT TRUE hm2_7i94.0.gpio.005.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.006.in
7 bit OUT TRUE hm2_7i94.0.gpio.006.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.007.in
7 bit OUT TRUE hm2_7i94.0.gpio.007.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.008.in
7 bit OUT TRUE hm2_7i94.0.gpio.008.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.009.in
7 bit OUT TRUE hm2_7i94.0.gpio.009.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.010.in
7 bit OUT TRUE hm2_7i94.0.gpio.010.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.011.in
7 bit OUT TRUE hm2_7i94.0.gpio.011.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.012.in
7 bit OUT TRUE hm2_7i94.0.gpio.012.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.013.in
7 bit OUT TRUE hm2_7i94.0.gpio.013.in_not
7 bit IN FALSE hm2_7i94.0.gpio.013.out
7 bit OUT FALSE hm2_7i94.0.gpio.014.in
7 bit OUT TRUE hm2_7i94.0.gpio.014.in_not
7 bit IN FALSE hm2_7i94.0.gpio.014.out
7 bit OUT FALSE hm2_7i94.0.gpio.015.in
7 bit OUT TRUE hm2_7i94.0.gpio.015.in_not
7 bit IN FALSE hm2_7i94.0.gpio.015.out
7 bit OUT FALSE hm2_7i94.0.gpio.016.in
7 bit OUT TRUE hm2_7i94.0.gpio.016.in_not
7 bit IN FALSE hm2_7i94.0.gpio.016.out
7 bit OUT TRUE hm2_7i94.0.gpio.017.in
7 bit OUT FALSE hm2_7i94.0.gpio.017.in_not
7 bit OUT TRUE hm2_7i94.0.gpio.018.in
7 bit OUT FALSE hm2_7i94.0.gpio.018.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.019.in
7 bit OUT TRUE hm2_7i94.0.gpio.019.in_not
7 bit OUT TRUE hm2_7i94.0.gpio.020.in
7 bit OUT FALSE hm2_7i94.0.gpio.020.in_not
7 bit IN FALSE hm2_7i94.0.gpio.020.out
7 bit OUT TRUE hm2_7i94.0.gpio.021.in
7 bit OUT FALSE hm2_7i94.0.gpio.021.in_not
7 bit IN FALSE hm2_7i94.0.gpio.021.out
7 bit OUT FALSE hm2_7i94.0.gpio.022.in
7 bit OUT TRUE hm2_7i94.0.gpio.022.in_not
7 bit IN FALSE hm2_7i94.0.gpio.022.out
7 bit OUT TRUE hm2_7i94.0.gpio.023.in
7 bit OUT FALSE hm2_7i94.0.gpio.023.in_not
7 bit IN FALSE hm2_7i94.0.gpio.023.out
7 bit OUT TRUE hm2_7i94.0.gpio.024.in
7 bit OUT FALSE hm2_7i94.0.gpio.024.in_not
7 bit IN FALSE hm2_7i94.0.gpio.024.out
7 bit OUT FALSE hm2_7i94.0.gpio.025.in
7 bit OUT TRUE hm2_7i94.0.gpio.025.in_not
7 bit IN FALSE hm2_7i94.0.gpio.025.out
7 bit OUT TRUE hm2_7i94.0.gpio.026.in
7 bit OUT FALSE hm2_7i94.0.gpio.026.in_not
7 bit IN FALSE hm2_7i94.0.gpio.026.out
7 bit OUT TRUE hm2_7i94.0.gpio.027.in
7 bit OUT FALSE hm2_7i94.0.gpio.027.in_not
7 bit IN FALSE hm2_7i94.0.gpio.027.out
7 bit OUT FALSE hm2_7i94.0.gpio.028.in
7 bit OUT TRUE hm2_7i94.0.gpio.028.in_not
7 bit IN FALSE hm2_7i94.0.gpio.028.out
7 bit OUT TRUE hm2_7i94.0.gpio.029.in
7 bit OUT FALSE hm2_7i94.0.gpio.029.in_not
7 bit OUT TRUE hm2_7i94.0.gpio.030.in
7 bit OUT FALSE hm2_7i94.0.gpio.030.in_not
7 bit OUT FALSE hm2_7i94.0.gpio.031.in
7 bit OUT TRUE hm2_7i94.0.gpio.031.in_not
7 bit OUT TRUE hm2_7i94.0.gpio.032.in
7 bit OUT FALSE hm2_7i94.0.gpio.032.in_not
7 bit IN FALSE hm2_7i94.0.gpio.032.out
7 bit OUT TRUE hm2_7i94.0.gpio.033.in
7 bit OUT FALSE hm2_7i94.0.gpio.033.in_not
7 bit IN FALSE hm2_7i94.0.gpio.033.out
7 bit OUT FALSE hm2_7i94.0.gpio.034.in
7 bit OUT TRUE hm2_7i94.0.gpio.034.in_not
7 bit IN FALSE hm2_7i94.0.gpio.034.out
7 bit OUT TRUE hm2_7i94.0.gpio.035.in
7 bit OUT FALSE hm2_7i94.0.gpio.035.in_not
7 bit IN FALSE hm2_7i94.0.gpio.035.out
7 bit OUT TRUE hm2_7i94.0.gpio.036.in
7 bit OUT FALSE hm2_7i94.0.gpio.036.in_not
7 bit IN FALSE hm2_7i94.0.gpio.036.out
7 bit OUT FALSE hm2_7i94.0.gpio.037.in
7 bit OUT TRUE hm2_7i94.0.gpio.037.in_not
7 bit IN FALSE hm2_7i94.0.gpio.037.out
7 bit OUT TRUE hm2_7i94.0.gpio.038.in
7 bit OUT FALSE hm2_7i94.0.gpio.038.in_not
7 bit IN FALSE hm2_7i94.0.gpio.038.out
7 bit OUT TRUE hm2_7i94.0.gpio.039.in
7 bit OUT FALSE hm2_7i94.0.gpio.039.in_not
7 bit IN FALSE hm2_7i94.0.gpio.039.out
7 bit OUT FALSE hm2_7i94.0.gpio.040.in
7 bit OUT TRUE hm2_7i94.0.gpio.040.in_not
7 bit IN FALSE hm2_7i94.0.gpio.040.out
7 bit OUT TRUE hm2_7i94.0.gpio.041.in
7 bit OUT FALSE hm2_7i94.0.gpio.041.in_not
7 bit IN FALSE hm2_7i94.0.gpio.041.out
And if I:
setp hm2_7i94.0.gpio.041.is_output true
setp hm2_7i94.0.gpio.013.is_output true
setp hm2_7i94.0.gpio.041.out false
setp hm2_7i94.0.gpio.013.out false
On the 7I94ss_7i89 config, the switched power LED turns on and I can turn if off with:
setp hm2_7i94.0.gpio.013.out true
in addition, I can read all 8 encoder counters
Last edit: 25 Jun 2021 02:45 by PCW.
The following user(s) said Thank You: MrMick
Please Log in or Create an account to join the conversation.
25 Jun 2021 02:51 #212869
by MrMick
Replied by MrMick on topic Mesa 7I94+7I89
Ok so it's a gpio pin I did try that but it didn't switch the light on.
I thought it was the first pin 13 listed after the encoder lines. I'll recheck and maybe re install Linuxcnc incase I've made a mistake elsewhere.
Thanks for your patience
I thought it was the first pin 13 listed after the encoder lines. I'll recheck and maybe re install Linuxcnc incase I've made a mistake elsewhere.
Thanks for your patience
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds