7i73 Pendent Control

More
21 Jul 2012 15:38 #22272 by johnjsb
7i73 Pendent Control was created by johnjsb
5i25>7i76>7i73
i have plugged in the 7i73 and can't find anything to configure. when i start linuxcnc the pendent blinks green 1hz so thats all correct.
i tried checking the on box for mpg on the first page and setting up increment to .1 but that throughs up errors when opening.
not sure if i'm doing it right. shouldn't a tab appear under smart serial it only shows 2 7i76 boards which i only have one.

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 16:40 - 21 Jul 2012 17:29 #22276 by PCW
Replied by PCW on topic Re:7i73 Pendent Control
The 7I73 alas is not automatically configured
like most hardware, it needs the hal file setup to use it

If (in Axis) you do a show hal configuration you should see the
avalable 7I73 pins for the currently selected hardware and software modes

And it just dawned on me that maybe this thread is better suited to the pncconf
category if by "checking the box for mpg" you mean checking the _pncconf_ box for MPG
Last edit: 21 Jul 2012 17:29 by PCW. Reason: addition

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 18:30 #22289 by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
To use the 7i73 with PNCconf you need the very latest bug fixed version of linuxcnc.
Which has not been released yet.
Normally you can get it from buildbot, but the buildbot is down.

And even at that as of last night there is still one thing to fix in that HAl code so....

Your gonna have to do it by hand.
Get your config all good besides the MPG, because after hand editing if you change things in pncconf it will overwrite the editing.

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 19:23 #22293 by johnjsb
Replied by johnjsb on topic Re:7i73 Pendent Control
thats cool i'll just poke around inside axis see whats there.
i'm glad you told me my hal would be over written.

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 19:43 #22295 by johnjsb
Replied by johnjsb on topic Re:7i73 Pendent Control
ok figured out how to watch pins in hal.
oddly enough when rotated mpg pins 6-7 changed even though i was on 8-9.
i moved them all around and they still show up as 6-7.
at any rate how do i tie that to jog
do i manully edit hal, and if so were is it?

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 20:05 - 21 Jul 2012 20:48 #22296 by PCW
Replied by PCW on topic Re:7i73 Pendent Control
Just a hint here, for the MPG you do not use I/O pins but rather the 7I73s encoders....
Also pin numbers in HAL are logical pin numbers not physical pins
Last edit: 21 Jul 2012 20:48 by PCW. Reason: ommision

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 21:17 #22298 by johnjsb
Replied by johnjsb on topic Re:7i73 Pendent Control
oh ok is there a web page somewhere for physical pins to hal logic pins?
on the pendant it says enc0 is pin8 pin9.
did a watch in hal on everything that had enc on it got nothing.
the only logic pins that show anything in the hal is 6-7

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 21:35 #22299 by PCW
Replied by PCW on topic Re:7i73 Pendent Control
The 7I73 manual has the encoder/pin connections
For example, if you have a quadrature output MPG connected to 7I73 in8 and in9
(pins 14 and 15 on the 7I73s Input/output connector)
hm2_5i25.0.7i73.0.2.enc0 should count when the MPG is turned

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 21:43 #22301 by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
here is the pncconf way of doing it:
note that the pinname (hm2_5i25.0.7i73.0.2.enc0) might be different depending on where it is plugged into and what encoder you are using.
I'm also thiunking if you put this code in your custom_hal file then you could still use pncconf after to edit your config, because pncconf will not overwrite the custom_hal file.
At least this gives you the idea of how it can be done.

# ---spindle override signals to mesa encoder - mpg---

net so-count <= hm2_5i25.0.7i73.0.2.enc0

# connect spindle overide increments - MPG

setp halui.spindle-override.count-enable true
setp halui.spindle-override.direct-value false
setp halui.spindle-override.scale .01
net so-count => halui.spindle-override.counts

Please Log in or Create an account to join the conversation.

More
21 Jul 2012 21:44 #22302 by cmorley
Replied by cmorley on topic Re:7i73 Pendent Control
Oh wait thats for spindle override... you wanted MPG jogging - hang on....

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.135 seconds
Powered by Kunena Forum