MPG Pedant on 7i43
17 Jun 2019 11:42 #137116
by mane
Replied by mane on topic MPG Pedant on 7i43
At the end the MPG pedant works as expected. Only one thing i want to ask, if it´s possible.
I use axis gui.
When i switch x,y,z via encoder knob, axis does not show it.
When i switch the MPG increments, axis does not show it.
Is there a way to get this work?
Thanks, Manfred
I use axis gui.
When i switch x,y,z via encoder knob, axis does not show it.
When i switch the MPG increments, axis does not show it.
Is there a way to get this work?
Thanks, Manfred
Please Log in or Create an account to join the conversation.
17 Jun 2019 11:54 #137118
by andypugh
Replied by andypugh on topic MPG Pedant on 7i43
Not using built-in behaviour. Axis has output pins to select increment sizes and axes, rather than displaying the inputs from external sources.
It would be possible to achieve this by editing the Axis code, and might be possible using a .axisrc file.
It would be possible to achieve this by editing the Axis code, and might be possible using a .axisrc file.
Please Log in or Create an account to join the conversation.
17 Jun 2019 13:12 #137121
by mane
Replied by mane on topic MPG Pedant on 7i43
Thanks for this Information.
Thought it would be easy, because i found some pins (e.g. "axisui.jog.x" ) which becomes "true" when selecting X by mouse pointer.
Thought it would be easy, because i found some pins (e.g. "axisui.jog.x" ) which becomes "true" when selecting X by mouse pointer.
Please Log in or Create an account to join the conversation.
17 Jun 2019 13:14 #137122
by andypugh
Replied by andypugh on topic MPG Pedant on 7i43
Yes, but those pins are outputs, not inputs.
(And I don't think making them in to inputs would give the behaviour you want_
(And I don't think making them in to inputs would give the behaviour you want_
Please Log in or Create an account to join the conversation.
20 Jun 2019 06:39 #137347
by mane
Replied by mane on topic MPG Pedant on 7i43
Another question i have for the 7i43 pins. I configured via jumper setting the following:
W1, W2, W3 up to have 5V signals. When W3 is down i have floating signals i dont want have that.
When i measure, all GPIO pins on P3 and P4 connector have 3V as expected.
Therefore, all pins in LinuxCNC are "on", 3V seems to be enough to be "on".
The manual says"each FPGA input pin can have programmable pull-up or pull-down resistors".
How can i configure this?
Thanks, Manfred
W1, W2, W3 up to have 5V signals. When W3 is down i have floating signals i dont want have that.
When i measure, all GPIO pins on P3 and P4 connector have 3V as expected.
Therefore, all pins in LinuxCNC are "on", 3V seems to be enough to be "on".
The manual says"each FPGA input pin can have programmable pull-up or pull-down resistors".
How can i configure this?
Thanks, Manfred
Please Log in or Create an account to join the conversation.
20 Jun 2019 08:51 #137353
by andypugh
Replied by andypugh on topic MPG Pedant on 7i43
W3 pulls all inputs high, according to the manual. Is this not what you need?
linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#UART
Says (not very clearly) that to pull-down a GPIO pin you can set it "is_output" and "is_opendrain" and then set the value to true or false to pull up or down. You can then read the _actual_ value with the ...in and ...in-not HAL pins.
linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#UART
Says (not very clearly) that to pull-down a GPIO pin you can set it "is_output" and "is_opendrain" and then set the value to true or false to pull up or down. You can then read the _actual_ value with the ...in and ...in-not HAL pins.
Please Log in or Create an account to join the conversation.
20 Jun 2019 09:32 #137354
by mane
Replied by mane on topic MPG Pedant on 7i43
Yes, W3 make all pins high. For my understanding it is better to have low on all pins. On my MPG pedant i have a curious situation by selecting the increments. I defined 0.01mm / 0.1mm / 1 mm in my configuration and the the rotary switch is connected with three wires to these increments. The rotary switch has a 4th position, this is not connected to the 7i43. But when i switch to this not connected position, the increment becomes 0.001mm - which is not defined.
I think, this behavior comes because all GPIO´s are high.
I think, this behavior comes because all GPIO´s are high.
Please Log in or Create an account to join the conversation.
20 Jun 2019 09:38 #137355
by andypugh
Replied by andypugh on topic MPG Pedant on 7i43
It is generally quite convenient for inputs to be pulled high, and then you signal by connecting them to 0V / Gnd.
Are you sure that 0.001mm isn't defined? I assume you are using a mux HAL component to set the increment?
Are you sure that 0.001mm isn't defined? I assume you are using a mux HAL component to set the increment?
Please Log in or Create an account to join the conversation.
20 Jun 2019 12:14 #137366
by mane
Replied by mane on topic MPG Pedant on 7i43
You are right, in my mpg.hal is 0.001 defined. The hal was not written my myself.
I have to try again, but i removed all my calbeling at the moment. MPG pedant is also opened and disassembled, i want to change a few things.
Thanks, Manfred
I have to try again, but i removed all my calbeling at the moment. MPG pedant is also opened and disassembled, i want to change a few things.
Thanks, Manfred
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.110 seconds