On Thursday 24 July 2014 15:08:54 Philipp Burch did opine And Gene did reply: > Hey Aram! > > On 24.07.2014 20:58, a k wrote: > > this is pin --- hm2_5i20.0.encoder.03.velocity > > > > this is also pin ----- scale.0.in > > is it possible to connect pin to pin? > > manual say -- connecting signal to pin > > In fact, you can only connect pins to pins, signals/nets are just > aliases to make the whole stuff more readable. You have to use the > 'net' command to make these connections, though. The name of the net > doesn't matter as long as it follows the rules and it is not already > connected to an output. So if > > hm2_5i20.0.encoder.03.velocity > > actually exists and is an output and > > scale.0.in > > actually exists and is an input, then this line > > net vel-encoder hm2_5i20.0.encoder.03.velocity => scale.0.in
I'll assume that this 5i20 card, and its daughter card actually has an encoder.03 module available, AND that it has ABZ inputs connected from some place on his machine equipt with a hardware encoder. Then the above statement IS correct, but it is NOT connecting his pot to anything. To physically connect a pot, he needs to find a suitable A/D converter someplace in the firmware loaded into his cards, connect the pot to the correct pins to drive it, and then read the output of this A/D converter module in order to retrieve the values this pot can supply. The encoder.03 module cannot AFAIK do that, and is a configuration mistake, a complete show stopper in terms of getting the pots positional data. Turning it will have zero effect. Exactly as Aram has been saying for about a week I believe. > must work and will create a net name 'vel-encoder' which connects the > two noted pins. Do you remember me telling you to dump a list of all > known pins into a file and posting it on pastebin? You can do the same > now (without actually posting it, of course) to lookup how the pins are > actually named. Or you can just open the halmeter (type 'halmeter' in a > terminal while LinuxCNC is running) and browse through the list of pins > and/or signals. This way, you can also check if the pin value changes > when you move the slider on your pot. > > Cheers, > Philipp [snip the rest of his post] Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users