7i73 Pendent Control
21 Jul 2012 21:56 #22303
by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
same idea here except you need to connect enable pins to select the axis.
joint-select-a , -b, -c select which axis isbeing jogged.
They need to be connected to pins - either to physical switches (you could do this in pncconf) or connect to buttons on the GUI screen.
I think AXIS exports pins for this purpose.
# ---jogwheel signals to mesa encoder - shared MPG---
net joint-selected-count <= hm2_5i25.0.7i73.0.2.enc0
# ---mpg signals---
# for axis x MPG
setp axis.0.jog-vel-mode 0
net selected-jog-incr => axis.0.jog-scale
net joint-select-a => axis.0.jog-enable
net joint-selected-count => axis.0.jog-counts
# for axis y MPG
setp axis.1.jog-vel-mode 0
net selected-jog-incr => axis.1.jog-scale
net joint-select-b => axis.1.jog-enable
net joint-selected-count => axis.1.jog-counts
# for axis z MPG
setp axis.2.jog-vel-mode 0
net selected-jog-incr => axis.2.jog-scale
net joint-select-c => axis.2.jog-enable
net joint-selected-count => axis.2.jog-counts
joint-select-a , -b, -c select which axis isbeing jogged.
They need to be connected to pins - either to physical switches (you could do this in pncconf) or connect to buttons on the GUI screen.
I think AXIS exports pins for this purpose.
# ---jogwheel signals to mesa encoder - shared MPG---
net joint-selected-count <= hm2_5i25.0.7i73.0.2.enc0
# ---mpg signals---
# for axis x MPG
setp axis.0.jog-vel-mode 0
net selected-jog-incr => axis.0.jog-scale
net joint-select-a => axis.0.jog-enable
net joint-selected-count => axis.0.jog-counts
# for axis y MPG
setp axis.1.jog-vel-mode 0
net selected-jog-incr => axis.1.jog-scale
net joint-select-b => axis.1.jog-enable
net joint-selected-count => axis.1.jog-counts
# for axis z MPG
setp axis.2.jog-vel-mode 0
net selected-jog-incr => axis.2.jog-scale
net joint-select-c => axis.2.jog-enable
net joint-selected-count => axis.2.jog-counts
Please Log in or Create an account to join the conversation.
22 Jul 2012 00:05 #22308
by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
just to be complete I have now pushed the fixes for the 7i73 encoder into 2.5 so the next bug release or when the buidlbot is fixed,
the 7i73 will be available in pncconf for encoder overrides/MPG and basic input/output.
I tested using the 7i73 inputs to select the axis in pncconf's 'shared MPG jogging' and that worked fine.
it sure is nice using CAT cable to connect the daughter boards!
Chris M
the 7i73 will be available in pncconf for encoder overrides/MPG and basic input/output.
I tested using the 7i73 inputs to select the axis in pncconf's 'shared MPG jogging' and that worked fine.
it sure is nice using CAT cable to connect the daughter boards!
Chris M
Please Log in or Create an account to join the conversation.
22 Jul 2012 16:20 #22322
by johnjsb
Replied by johnjsb on topic Re:7i73 Pendent Control
thank you very much!
i won't be able to try this till tuesday.
at home i have ubuntu 12.04 so i'm looking around buildbot and can't seam to find it.
can you give me a link to it?
or do i just do a
sudo apt-get update
then update from package manager?
i won't be able to try this till tuesday.
at home i have ubuntu 12.04 so i'm looking around buildbot and can't seam to find it.
can you give me a link to it?
or do i just do a
sudo apt-get update
then update from package manager?
Please Log in or Create an account to join the conversation.
22 Jul 2012 18:23 #22324
by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
unfortunately buildbot is broken right now.
i have heard that linuxcnc 2.5.1 may come out shortly but I don't know when... It seems always to be a secret.....
i have heard that linuxcnc 2.5.1 may come out shortly but I don't know when... It seems always to be a secret.....
Please Log in or Create an account to join the conversation.
04 Sep 2012 10:39 #23878
by bigalex
Replied by bigalex on topic Re:7i73 Pendent Control
A couple of questions on 7i73 module.
Which kind of display 20x4 char can be connected to 7i73 and how to send the axis position to be displayed ?
Thanks in advance.
bigalex
Which kind of display 20x4 char can be connected to 7i73 and how to send the axis position to be displayed ?
Thanks in advance.
bigalex
Please Log in or Create an account to join the conversation.
04 Sep 2012 14:19 #23882
by PCW
Replied by PCW on topic Re:7i73 Pendent Control
from the 7I73 manual:
DISPLAY
The 7I73 can support several types of small character LCDs. The default supported
display is a 4 line by 20 character per line display like the Optrex NFQJ-LW-AAN. Other
display sizes require the default EEPROM display type be changed. Only 4 bit interface
LCDs with standard Enable, RS, R/W control lines are supported. Note that most 8 bit
interface LCDs will run in 4 bit mode, but require that the display data bus D0 through D3
be tied low.
The OPTREX display is nice because the contrast control works with the 7I73s contrast control output
To send the axis positions requires string creation and a string send component
DISPLAY
The 7I73 can support several types of small character LCDs. The default supported
display is a 4 line by 20 character per line display like the Optrex NFQJ-LW-AAN. Other
display sizes require the default EEPROM display type be changed. Only 4 bit interface
LCDs with standard Enable, RS, R/W control lines are supported. Note that most 8 bit
interface LCDs will run in 4 bit mode, but require that the display data bus D0 through D3
be tied low.
The OPTREX display is nice because the contrast control works with the 7I73s contrast control output
To send the axis positions requires string creation and a string send component
Please Log in or Create an account to join the conversation.
04 Sep 2012 14:53 #23883
by bigalex
Replied by bigalex on topic Re:7i73 Pendent Control
Thank you PCW for the reply !
Is there a component in HAL that can be used to to this ?
If it's not , do you know how to do it inside LinuxCNC ?
bigalex
To send the axis positions requires string creation and a string send component
Is there a component in HAL that can be used to to this ?
If it's not , do you know how to do it inside LinuxCNC ?
bigalex
Please Log in or Create an account to join the conversation.
04 Sep 2012 15:11 #23884
by PCW
Replied by PCW on topic Re:7i73 Pendent Control
Theres no existing component for this (that I know of)
on the other hand, there is no high magic either
basically the coordinates need to be converted to ASCII strings
with formatting commands (CR/LF/Home)
and sent to the 7I73 (copied a char or quad char a time to the XX7i73.N.N.display pin)
on the other hand, there is no high magic either
basically the coordinates need to be converted to ASCII strings
with formatting commands (CR/LF/Home)
and sent to the 7I73 (copied a char or quad char a time to the XX7i73.N.N.display pin)
Please Log in or Create an account to join the conversation.
04 Sep 2012 15:13 #23885
by ArcEye
Replied by ArcEye on topic Re:7i73 Pendent Control
Hi
If you look at my Arduino Pendant, that might give you some ideas.
www.linuxcnc.org/index.php/english/compo...ew&catid=18&id=22562
It uses a component connected to hal pins (halui.axis.N.pos-relative) to get the axes co-ordinates and send them over serial link as a string, to the Arduino
regards
If you look at my Arduino Pendant, that might give you some ideas.
www.linuxcnc.org/index.php/english/compo...ew&catid=18&id=22562
It uses a component connected to hal pins (halui.axis.N.pos-relative) to get the axes co-ordinates and send them over serial link as a string, to the Arduino
regards
Please Log in or Create an account to join the conversation.
04 Sep 2012 15:58 - 04 Sep 2012 16:02 #23886
by bigalex
Replied by bigalex on topic Re:7i73 Pendent Control
Thank you PCW
Very clear answer .
Thank you ArcEye....
I saw your application time ago, really cool but for sure it is out of my competence & knowledge
I'm trying to understand how can be "accessible" to use 7i73 to connect pushbuttons and in case an handweel as a pendant control.
For sure to have a simple LCD display as your should be nice and useful .
Regards
bigalex
Very clear answer .
Thank you ArcEye....
I saw your application time ago, really cool but for sure it is out of my competence & knowledge
I'm trying to understand how can be "accessible" to use 7i73 to connect pushbuttons and in case an handweel as a pendant control.
For sure to have a simple LCD display as your should be nice and useful .
Regards
bigalex
Last edit: 04 Sep 2012 16:02 by bigalex.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.083 seconds