On Thursday 24 July 2014 14:58:57 a k did opine And Gene did reply: > this is pin --- hm2_5i20.0.encoder.03.velocity
I believe so > this is also pin ----- scale.0.in should be correct > is it possible to connect pin to pin? yes > manual say -- connecting signal to pin then its obvious you do not yet have the syntax for a "net" statement grokked yet. It is connection type, in this case net then make a unique signal name, so net vel_fback3 then signal source, so net vel_fback3 hm2_5i20.0.encoder.03.velocity then add the signals target, so net vel_fback3 hm2_5i20.0.encoder.03.velocity scale.0.in You can add, either above, more targets for the signal by appending additional pin names after the scale.0.in Or you can, later in the .hal file, have a net vel_fback3 2nd_pin_name another_pin_name yet_another_pin_name so the syntax for a net statement is: net sig_name src_pin_name target_pin_name [target_pin_name] [...] [...] ================= Now, a posting tutorial: You confuse this old fart by persisting in using the [HOSTMOT2](BOARD) strings in your posted examples. To the hal interpretor those are completely bogus strings that you will never be able to make work, and LinuxCNC will not even load, exiting with that error left on the screen where you typed "linuxcnc -l" to start it. Its even nice enough to quote the errant line number in case you have not noticed. What it has been trying to tell you is to use hm2_5i20.0=board number in case your system has more that one 5i20 installed, then append the encoder.2 digits instance of encoders available, in this case the "03" then the velocity named pin. Then its a heck of a lot easier for me to trace out what the heck you are trying to accomplish. I might even be able to decipher what it is you are trying to do. But if you feed that crap to the hal interpreter, you will give it a terminal tummy ache. None of us can fix that for you, you MUST do it yourself. > On Thu, Jul 24, 2014 at 11:41 AM, a k <pccncmach...@gmail.com> wrote: > > i did try > > net hm2_5i20.0.encoder.03.velocity => scale.0.in > > and > > net hm2_[HOSTMOT2](BOARD).0.encoder.03.velocity => scale.0.in > > none work of course not!!!, you need a unique signal name between the word "net" and the definition string of the source of the signal > > signal and pin can not be same > > i remove ---velocity --- and emc2 open but adaptive-feed still as a > > number - no connection to potentiometer And as has been noted before, the correct conversational usage of the English language will go a heck of a long way toward making your posts understandable. You do not see it as a problem, but it sure is on my screen. The above examples I gave you will NOT enable the potentiometer, and we cannot help you when you have been asked to show which pin of which card you have this potentiometer physically connected to, repeatedly, without ever supplying US that bit of vital information, that I have noted. That, quite simply is not going to happen until you start actually answering the questions asked, by placing those answers inline in the text of your reply message immediately after the question has been asked by the person trying to help you. Top posting often irrelevant information in reply to a question is very bad form on this list, particularly when there is also a language barrier. What I am trying to say is the the hm2_5i20.0.encoder.03.anyname pin obviously is not where you have connected that potentiometer. While we prefer English here, it is possible a post in your native language might find someone here who does understand it, and can help you faster by eliminating the language barrier. 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