Greenie problems configuring 6i25 with 7i77, using Granite Devices VSD-E drives

More
8 years 6 months ago #108527 by DeckelHead
OK, that worked. I think I'm a little discombobulated though. It seems as though your approach functioned as a logical OR, which I was not expecting. Both halui.jog.0.plus and vc-p4s.jog.0.plus are outputs as a function of a button being pressed on either the UI or the pendant. Both result in jog-x-pos changing state. My erroneous thought was to view this from a digital electronic circuit perspective. Two outputs (unless open collector) can't drive a single input. I guess I had it backwards, sorry!

I have a little bit of a difficult time deciding what is an input pin and what is an output pin. Out of curiosity, is there an easy way to ascertain this, or am I just being foolish.

Finally, I'm usually a little nervous about changing the name of signals because I don't know where else them may be used. So, in the example solution you provided, I was/am worried about the usage of the now removed jog.0.cont-plus. I don't see it elsewhere in my HAL files (which I will post once I clean them up a bit) so maybe it isn't an issue (?).

An area that causes me a little confusion is what signals or pins are reserved and/or need to be configured. I found this someplace a bit ago but now I seem to have lost it. If there is a link you can share, that would be great.

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

More
8 years 6 months ago #108530 by DeckelHead
I've added the two HAL files that I'm working with right now. I've made the changes you suggested and rectified the X/Y/Z neg/pos errors. I'm presently having these two issues:
  • ./vc-p4s.hal:90: Signal 'spindle-enable' can not add OUT pin 'vc-p4s.spindle-override.count.enable', it already has OUT pin 'motion.spindle-on'
    This seems to be the opposite case as before, where I think I'm trying to send the spindle-enable, sourced from motion.spindle-on (line 332) to a pin on the 7i77 (line 324), as well as vc-p4s.spindle-override.count.enable and halui.spindle-override.count-enable (line 90). I'm assuming I actually need it sent to two output pins, however, so how does one accomplish this?
  • I'm getting errors on line 112, etc. It seems that halui.mdi-command-[06 - 10] is not there. I get errors similar to: Pin 'halui.mdi-command-06' does not exist. The part that has me scratching my head a little bit is that the halui pins are all ephemeral, right? If correct, then I would have expected those to exist. I just commented out the reference to the missing mdi-command pins and moved forward, but I want to be sure that is OK

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

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