Re: [Emc-users] integrator manual

2014-07-17 Thread a k
i found this

18.6 HostMot2 Functions

• hm2_BoardType.BoardNum.read_gpio - Read the GPIO input pins only.
(This function is not available on the 7i43 due
to limitations of the EPP bus.)
• hm2_BoardType.BoardNum.write_gpio - Write the GPIO control registers
and output pins only. (This function is not
available on the 7i43 due to limitations of the EPP bus.)

• hm2_BoardType.BoardNum.read_gpio - Read the GPIO input pins only


it looks some different - has ---read_gpio





On Wed, Jul 16, 2014 at 1:35 PM, a k pccncmach...@gmail.com wrote:

 I did input

  # Read home switch inputs from I/O card.
 net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
 net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
 net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 and this

 # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in


 #

 error was hm2 servo  'net' requires at least one pin, none given  1993

 what part 1993 means?
 and after i put # at front of 2nd part number change to 2257



 On Wed, Jul 16, 2014 at 12:44 PM, Philipp Burch p...@hb9etc.ch wrote:

 Hi Aram!

 On 16.07.2014 21:30, a k wrote:
  Hi Philipp
  About
 
  -- -- --
  # Read home switch inputs from I/O card.
  net x-home-sw = m5i20.0.in-02
  net y-home-sw = m5i20.0.in-06
  net z-home-sw = m5i20.0.in-10
 
  # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
  net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in
  -
  ###
  what about HOMING code that came as a default - from installation--
 
  net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
  net home-switch = axis.0.home-sw-in
  net home-switch = axis.1.home-sw-in
  net home-switch = axis.2.home-sw-in
  #
  delete it/alter--something should be
  1st line need remove because of 025 and i use 2-6-10-and remaining part?
 

 You can just replace the posted example code by the above. Have you even
 tried to figure out what the example code does differently than what I
 wrote? If you see that, then you have at least a basic understanding of
 HAL and should be able to modify most of the example configuration to
 suit your machine. But again, I never worked with Mesa cards, so I don't
 know how they are exactly named in HAL (check the first line of your
 posted excerpt, that might give you a hint). And I especially do not
 know if the pin numbers are correct.
 Check Peters answer(s), he's the Mesa Guru.

 Best regards,
 Philipp



 --
 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



--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread Dave Cole
I thought it always told you the line number in the file where the 
problem occurred.
Do you have over 2000 lines in your hal file?

Dave

On 7/16/2014 4:35 PM, a k wrote:
 I did input

 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
 net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
 net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 and this

 # Connect home switch nets to motion.
   net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
   net z-home-sw = axis.2.home-sw-in


 #

 error was hm2 servo  'net' requires at least one pin, none given  1993

 what part 1993 means?
 and after i put # at front of 2nd part number change to 2257



 On Wed, Jul 16, 2014 at 12:44 PM, Philipp Burch p...@hb9etc.ch wrote:

 Hi Aram!

 On 16.07.2014 21:30, a k wrote:
 Hi Philipp
 About

 -- -- --
 # Read home switch inputs from I/O card.
 net x-home-sw = m5i20.0.in-02
 net y-home-sw = m5i20.0.in-06
 net z-home-sw = m5i20.0.in-10

 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -
 ###
 what about HOMING code that came as a default - from installation--

 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 #
 delete it/alter--something should be
 1st line need remove because of 025 and i use 2-6-10-and remaining part?

 You can just replace the posted example code by the above. Have you even
 tried to figure out what the example code does differently than what I
 wrote? If you see that, then you have at least a basic understanding of
 HAL and should be able to modify most of the example configuration to
 suit your machine. But again, I never worked with Mesa cards, so I don't
 know how they are exactly named in HAL (check the first line of your
 posted excerpt, that might give you a hint). And I especially do not
 know if the pin numbers are correct.
 Check Peters answer(s), he's the Mesa Guru.

 Best regards,
 Philipp



 --
 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


 --
 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

--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread Peter C. Wallace

On Thu, 17 Jul 2014, a k wrote:


Date: Thu, 17 Jul 2014 02:12:50 -0700
From: a k pccncmach...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] integrator manual

i found this


18.6 HostMot2 Functions

?? hm2_BoardType.BoardNum.read_gpio - Read the GPIO input pins only.
(This function is not available on the 7i43 due
to limitations of the EPP bus.)
?? hm2_BoardType.BoardNum.write_gpio - Write the GPIO control registers
and output pins only. (This function is not
available on the 7i43 due to limitations of the EPP bus.)

?? hm2_BoardType.BoardNum.read_gpio - Read the GPIO input pins only


it looks some different - has ---read_gpio


You do not want to use the read or write GPIO functions for servo systems

Where is the error in your hal file? (the error message prints out the line 
number of the roor in the hal file) If you turn on line number in gedit you 
can find the line easily



also it better to copy/paste the errors/messages into emails so nothing is 
lost by re-typing




On Wed, Jul 16, 2014 at 1:35 PM, a k pccncmach...@gmail.com wrote:


I did input

 # Read home switch inputs from I/O card.
net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

and this

# Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in


#

error was hm2 servo  'net' requires at least one pin, none given  1993

what part 1993 means?
and after i put # at front of 2nd part number change to 2257



On Wed, Jul 16, 2014 at 12:44 PM, Philipp Burch p...@hb9etc.ch wrote:


Hi Aram!

On 16.07.2014 21:30, a k wrote:
 Hi Philipp
 About

 -- -- --
 # Read home switch inputs from I/O card.
 net x-home-sw = m5i20.0.in-02
 net y-home-sw = m5i20.0.in-06
 net z-home-sw = m5i20.0.in-10

 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -
 ###
 what about HOMING code that came as a default - from installation--

 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 #
 delete it/alter--something should be
 1st line need remove because of 025 and i use 2-6-10-and remaining part?


You can just replace the posted example code by the above. Have you even
tried to figure out what the example code does differently than what I
wrote? If you see that, then you have at least a basic understanding of
HAL and should be able to modify most of the example configuration to
suit your machine. But again, I never worked with Mesa cards, so I don't
know how they are exactly named in HAL (check the first line of your
posted excerpt, that might give you a hint). And I especially do not
know if the pin numbers are correct.
Check Peters answer(s), he's the Mesa Guru.

Best regards,
Philipp



--
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





--
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

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
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

Re: [Emc-users] integrator manual

2014-07-17 Thread Ed Nisley
On 07/16/2014 04:35 PM, a k wrote:
 I did input
 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
 net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
 net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

Did you change the *example* HOSTMOT2 and BOARD strings to match the 
actual hardware in your system?

This *sample* for my hardware shows the commands that dump the names:

http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/

I believe there's a period (.) missing before the BOARD part of the 
identifier in what you have written. This seems more likely:

hm2_5i25.0.gpio.032.in

However, that's for my system, not yours, and you must modify the 
*examples* to match your actual hardware.

-- 
Ed
softsolder.com

--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread a k
i use



 # Read home switch inputs from I/O card.
net x-home-sw = hm2_5i20.0.gpio.026.in
net y-home-sw = hm2_5i20.0.gpio.030.in
net z-home-sw = hm2_5i20.0.gpio.034.in

and this

# Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in

error--'net' requires at least one pin. none given
/
i do try everything- what i see in e-mail




On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley ed.08.nis...@pobox.com wrote:

 On 07/16/2014 04:35 PM, a k wrote:
  I did input
  # Read home switch inputs from I/O card.
  net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
  net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
  net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 Did you change the *example* HOSTMOT2 and BOARD strings to match the
 actual hardware in your system?

 This *sample* for my hardware shows the commands that dump the names:

 http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/

 I believe there's a period (.) missing before the BOARD part of the
 identifier in what you have written. This seems more likely:

 hm2_5i25.0.gpio.032.in

 However, that's for my system, not yours, and you must modify the
 *examples* to match your actual hardware.

 --
 Ed
 softsolder.com


 --
 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

--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread a k
It working
problem was space before and after sign=
home switch are working on all axis

thank you to all help
aram


On Thu, Jul 17, 2014 at 11:43 AM, a k pccncmach...@gmail.com wrote:

 i use



  # Read home switch inputs from I/O card.
 net x-home-sw = hm2_5i20.0.gpio.026.in
 net y-home-sw = hm2_5i20.0.gpio.030.in
 net z-home-sw = hm2_5i20.0.gpio.034.in

 and this

 # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in

 error--'net' requires at least one pin. none given
 /
 i do try everything- what i see in e-mail




 On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley ed.08.nis...@pobox.com wrote:

 On 07/16/2014 04:35 PM, a k wrote:
  I did input
  # Read home switch inputs from I/O card.
  net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
  net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
  net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 Did you change the *example* HOSTMOT2 and BOARD strings to match the
 actual hardware in your system?

 This *sample* for my hardware shows the commands that dump the names:

 http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/

 I believe there's a period (.) missing before the BOARD part of the
 identifier in what you have written. This seems more likely:

 hm2_5i25.0.gpio.032.in

 However, that's for my system, not yours, and you must modify the
 *examples* to match your actual hardware.

 --
 Ed
 softsolder.com


 --
 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



--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread Philipp Burch
Strange. Please try the following:

1. Uncomment the code in HAL, so that you can start LinuxCNC.
2. While it is running (you don't need to load a file or move the axes
or anything) fire up a terminal (usually Ctrl+Shift+T) and paste the
following command (without the $ at the beginning):

$ halcmd list pin | sed 's/ /\n/g'  halpins.txt

3. Hit return to execute the command. It is normal if you do not see
anything happening.
4. The current directory (most likely /home/username/) now contains a
file called 'halpins.txt'. Throw this on pastebin and post the link here.

Explanation: The command reads all available pins from the HAL
environment and stores the list in the file halpins.txt in the current
directory. The sed magic is just there to replace the spaces by
newlines, so we get a more readable list. The created file should look
something like this:

axis.0.active
axis.0.amp-enable-out
axis.0.amp-fault-in
axis.0.backlash-corr
axis.0.backlash-filt
axis.0.backlash-vel
axis.0.coarse-pos-cmd
axis.0.error
...

The list should be quite lengthy, it generates over 500 lines when
running the axis simulation example.

Regards,
Philipp

On 17.07.2014 20:43, a k wrote:
 i use
 
 
 
 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_5i20.0.gpio.026.in
 net y-home-sw = hm2_5i20.0.gpio.030.in
 net z-home-sw = hm2_5i20.0.gpio.034.in
 
 and this
 
 # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in
 
 error--'net' requires at least one pin. none given
 /
 i do try everything- what i see in e-mail
 
 
 
 
 On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley ed.08.nis...@pobox.com wrote:
 
 On 07/16/2014 04:35 PM, a k wrote:
 I did input
 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
 net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
 net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 Did you change the *example* HOSTMOT2 and BOARD strings to match the
 actual hardware in your system?

 This *sample* for my hardware shows the commands that dump the names:

 http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/

 I believe there's a period (.) missing before the BOARD part of the
 identifier in what you have written. This seems more likely:

 hm2_5i25.0.gpio.032.in

 However, that's for my system, not yours, and you must modify the
 *examples* to match your actual hardware.

 --
 Ed
 softsolder.com


 --
 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

 --
 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
 



signature.asc
Description: OpenPGP digital signature
--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread a k
http://pastebin.com/V29PaJrC


On Thu, Jul 17, 2014 at 12:09 PM, Philipp Burch p...@hb9etc.ch wrote:

 Strange. Please try the following:

 1. Uncomment the code in HAL, so that you can start LinuxCNC.
 2. While it is running (you don't need to load a file or move the axes
 or anything) fire up a terminal (usually Ctrl+Shift+T) and paste the
 following command (without the $ at the beginning):

 $ halcmd list pin | sed 's/ /\n/g'  halpins.txt

 3. Hit return to execute the command. It is normal if you do not see
 anything happening.
 4. The current directory (most likely /home/username/) now contains a
 file called 'halpins.txt'. Throw this on pastebin and post the link here.

 Explanation: The command reads all available pins from the HAL
 environment and stores the list in the file halpins.txt in the current
 directory. The sed magic is just there to replace the spaces by
 newlines, so we get a more readable list. The created file should look
 something like this:

 axis.0.active
 axis.0.amp-enable-out
 axis.0.amp-fault-in
 axis.0.backlash-corr
 axis.0.backlash-filt
 axis.0.backlash-vel
 axis.0.coarse-pos-cmd
 axis.0.error
 ...

 The list should be quite lengthy, it generates over 500 lines when
 running the axis simulation example.

 Regards,
 Philipp

 On 17.07.2014 20:43, a k wrote:
  i use
 
 
 
  # Read home switch inputs from I/O card.
  net x-home-sw = hm2_5i20.0.gpio.026.in
  net y-home-sw = hm2_5i20.0.gpio.030.in
  net z-home-sw = hm2_5i20.0.gpio.034.in
 
  and this
 
  # Connect home switch nets to motion.
   net x-home-sw = axis.0.home-sw-in
  net y-home-sw = axis.1.home-sw-in
   net z-home-sw = axis.2.home-sw-in
 
  error--'net' requires at least one pin. none given
  /
  i do try everything- what i see in e-mail
 
 
 
 
  On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley ed.08.nis...@pobox.com
 wrote:
 
  On 07/16/2014 04:35 PM, a k wrote:
  I did input
  # Read home switch inputs from I/O card.
  net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
  net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
  net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in
 
  Did you change the *example* HOSTMOT2 and BOARD strings to match the
  actual hardware in your system?
 
  This *sample* for my hardware shows the commands that dump the names:
 
  http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/
 
  I believe there's a period (.) missing before the BOARD part of the
  identifier in what you have written. This seems more likely:
 
  hm2_5i25.0.gpio.032.in
 
  However, that's for my system, not yours, and you must modify the
  *examples* to match your actual hardware.
 
  --
  Ed
  softsolder.com
 
 
 
 --
  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
 
 
 --
  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
 



 --
 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


--
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


Re: [Emc-users] integrator manual

2014-07-17 Thread Philipp Burch
Thanks. But I guess I don't need to look at it any further, as your
problems should be sorted out by now. Congratulations ;)

Cheers,
Philipp

On 17.07.2014 22:28, a k wrote:
 http://pastebin.com/V29PaJrC
 
 
 On Thu, Jul 17, 2014 at 12:09 PM, Philipp Burch p...@hb9etc.ch wrote:
 
 Strange. Please try the following:

 1. Uncomment the code in HAL, so that you can start LinuxCNC.
 2. While it is running (you don't need to load a file or move the axes
 or anything) fire up a terminal (usually Ctrl+Shift+T) and paste the
 following command (without the $ at the beginning):

 $ halcmd list pin | sed 's/ /\n/g'  halpins.txt

 3. Hit return to execute the command. It is normal if you do not see
 anything happening.
 4. The current directory (most likely /home/username/) now contains a
 file called 'halpins.txt'. Throw this on pastebin and post the link here.

 Explanation: The command reads all available pins from the HAL
 environment and stores the list in the file halpins.txt in the current
 directory. The sed magic is just there to replace the spaces by
 newlines, so we get a more readable list. The created file should look
 something like this:

 axis.0.active
 axis.0.amp-enable-out
 axis.0.amp-fault-in
 axis.0.backlash-corr
 axis.0.backlash-filt
 axis.0.backlash-vel
 axis.0.coarse-pos-cmd
 axis.0.error
 ...

 The list should be quite lengthy, it generates over 500 lines when
 running the axis simulation example.

 Regards,
 Philipp

 On 17.07.2014 20:43, a k wrote:
 i use



 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_5i20.0.gpio.026.in
 net y-home-sw = hm2_5i20.0.gpio.030.in
 net z-home-sw = hm2_5i20.0.gpio.034.in

 and this

 # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in

 error--'net' requires at least one pin. none given
 /
 i do try everything- what i see in e-mail




 On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley ed.08.nis...@pobox.com
 wrote:

 On 07/16/2014 04:35 PM, a k wrote:
 I did input
 # Read home switch inputs from I/O card.
 net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
 net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
 net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

 Did you change the *example* HOSTMOT2 and BOARD strings to match the
 actual hardware in your system?

 This *sample* for my hardware shows the commands that dump the names:

 http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/

 I believe there's a period (.) missing before the BOARD part of the
 identifier in what you have written. This seems more likely:

 hm2_5i25.0.gpio.032.in

 However, that's for my system, not yours, and you must modify the
 *examples* to match your actual hardware.

 --
 Ed
 softsolder.com



 --
 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


 --
 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




 --
 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


 --
 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
 



signature.asc
Description: 

Re: [Emc-users] integrator manual

2014-07-16 Thread a k
my machine wired --x home (m5i20.0.in-02) pin 02
y home pin 06
z home pin 10

should i physically rewire all to pin 25
or i can redirect pins 02 06 and 10 to pin 25?



On Tue, Jul 15, 2014 at 3:29 PM, Dave Cole linuxcncro...@gmail.com wrote:

 Yes...

 Doing that is very common on small machines.

 Dave

 On 7/15/2014 5:26 PM, a k wrote:
  to be sure --HOME_SEQUENCE 0|1|2|3
  0|1|2|3- this set sequence for axis?
  like 0-x first, 1-y second   etc?
 
 
  On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett ghesk...@wdtv.com wrote:
 
  On Tuesday 15 July 2014 15:38:42 a k did opine
  And Gene did reply:
  about code
  from hal
 
 
  net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
  net home-switch = axis.0.home-sw-in
  net home-switch = axis.1.home-sw-in
  net home-switch = axis.2.home-sw-in
  /
  interesting explanation about pin connection
  
 
  each of the three axes have their own home switch.  All
  # home switches are connected to GPIO 25, though hostmot2 boards
  generally # have enough GPIO pins to put each axis' home switch on its
  own pin. 
  how it can work  All home switches are connected to GPIO 25???
  Either all switches are wired n.c. and in series, or all wired n.o. and
 in
  parallel.  lcnc contains logic that will not move anything if any of the
  switches is already tripped when you hit ctrl+home.  You must have the
  statement in the .ini file for each axis HOME_IS_SHARED = true, and
  HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting
 with
  0) which brings that logic into play.
 
  On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com
 wrote:
  On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
 
  And Gene did reply:
  I M does not shows any working sample
  Here's how I did it for my little Sherline mill...
 
  Modify the Sherline control box to accept the wiring. This is an
  example for the tool length probe line, but the same thing happened
  for the home switch input:
 
  http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
  a-ja ck/
 
  Connect the physical home switches to the parallel port pin and
  define the HAL wiring that connects the input pin to the homing
  signals:
 
  http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
  ches /
 
  Define the homing parameters that control the motion on all three
  axes:
 
  http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
  itch es/
 
  That configuration worked back in the 2.4 days and has continued to
  work fine ever since, so it should get you reasonably close to your
  goal.
 
  Hope that helps ...
  It gets more complex than that Ed, he is using Mesa cards where the
  GPIO port pin number isn't generally the number you use in the hal
  file for a parport number.  I needed a spindle run/brake signal on
  the db25's pin 17, but had to consult the dmesg output to determine
  the actual address of that pin for a 5i25 interface card.  He is
  using a 5i20 + 2 daughter cards I know nothing about. I am still
  configuring things as I'm just now bringing it (the 5i25) to life.
 
  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
  ---
  --- 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
 
  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? 

Re: [Emc-users] integrator manual

2014-07-16 Thread Peter C. Wallace
On Wed, 16 Jul 2014, a k wrote:

 Date: Wed, 16 Jul 2014 11:32:33 -0700
 From: a k pccncmach...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] integrator manual
 
 my machine wired --x home (m5i20.0.in-02) pin 02
 y home pin 06
 z home pin 10

 should i physically rewire all to pin 25
 or i can redirect pins 02 06 and 10 to pin 25?

Can you check

1. Which 5I20 connector the 7I33 is connected to
2. Which 5I20 connector the 7I37 is connected to
3. which 7I37 pins your limit switches are connected to





 On Tue, Jul 15, 2014 at 3:29 PM, Dave Cole linuxcncro...@gmail.com wrote:

 Yes...

 Doing that is very common on small machines.

 Dave

 On 7/15/2014 5:26 PM, a k wrote:
 to be sure --HOME_SEQUENCE 0|1|2|3
 0|1|2|3- this set sequence for axis?
 like 0-x first, 1-y second   etc?


 On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 15:38:42 a k did opine
 And Gene did reply:
 about code
 from hal


 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 

 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards
 generally # have enough GPIO pins to put each axis' home switch on its
 own pin. 
 how it can work  All home switches are connected to GPIO 25???
 Either all switches are wired n.c. and in series, or all wired n.o. and
 in
 parallel.  lcnc contains logic that will not move anything if any of the
 switches is already tripped when you hit ctrl+home.  You must have the
 statement in the .ini file for each axis HOME_IS_SHARED = true, and
 HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting
 with
 0) which brings that logic into play.

 On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com
 wrote:
 On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine

 And Gene did reply:
 I M does not shows any working sample
 Here's how I did it for my little Sherline mill...

 Modify the Sherline control box to accept the wiring. This is an
 example for the tool length probe line, but the same thing happened
 for the home switch input:

 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
 a-ja ck/

 Connect the physical home switches to the parallel port pin and
 define the HAL wiring that connects the input pin to the homing
 signals:

 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
 ches /

 Define the homing parameters that control the motion on all three
 axes:

 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
 itch es/

 That configuration worked back in the 2.4 days and has continued to
 work fine ever since, so it should get you reasonably close to your
 goal.

 Hope that helps ...
 It gets more complex than that Ed, he is using Mesa cards where the
 GPIO port pin number isn't generally the number you use in the hal
 file for a parport number.  I needed a spindle run/brake signal on
 the db25's pin 17, but had to consult the dmesg output to determine
 the actual address of that pin for a 5i25 interface card.  He is
 using a 5i20 + 2 daughter cards I know nothing about. I am still
 configuring things as I'm just now bringing it (the 5i25) to life.

 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
 ---
 --- 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

 Cheers, Gene Heskett
 --
 There are four boxes to be used

Re: [Emc-users] integrator manual

2014-07-16 Thread Philipp Burch
Hi Aram!

On 16.07.2014 20:32, a k wrote:
 my machine wired --x home (m5i20.0.in-02) pin 02
 y home pin 06
 z home pin 10
 
 should i physically rewire all to pin 25
 or i can redirect pins 02 06 and 10 to pin 25?
 

If those pins are all inputs, then you don't need to rewire anything.
Pin 25 is an *example*! If your setup is different, you will just need
to update your configuration accordingly. If you have enough inputs to
connect all your switches individually, then do so. That will help you
figure out the cause of problems should there be something wrong with
your hardware now or in the future.

I don't know how your mesa card appears in the HAL (never used one of
those), but taking your above example, it should be something like this:

-- 8 -- 8 ---
# Read home switch inputs from I/O card.
net x-home-sw = m5820.0.in-02
net y-home-sw = m5820.0.in-06
net z-home-sw = m5820.0.in-10

# Connect home switch nets to motion.
net x-home-sw = axis.0.home-sw-in
net y-home-sw = axis.1.home-sw-in
net z-home-sw = axis.2.home-sw-in
-- 8 -- 8 ---


Regards,
Philipp



signature.asc
Description: OpenPGP digital signature
--
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


Re: [Emc-users] integrator manual

2014-07-16 Thread Peter C. Wallace
On Wed, 16 Jul 2014, Peter C. Wallace wrote:

 Date: Wed, 16 Jul 2014 11:42:23 -0700 (PDT)
 From: Peter C. Wallace p...@mesanet.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] integrator manual
 
 On Wed, 16 Jul 2014, a k wrote:

 Date: Wed, 16 Jul 2014 11:32:33 -0700
 From: a k pccncmach...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] integrator manual

 my machine wired --x home (m5i20.0.in-02) pin 02
 y home pin 06
 z home pin 10

 should i physically rewire all to pin 25
 or i can redirect pins 02 06 and 10 to pin 25?

 Can you check

 1. Which 5I20 connector the 7I33 is connected to
 2. Which 5I20 connector the 7I37 is connected to
 3. which 7I37 pins your limit switches are connected to


I meant home switches





 On Tue, Jul 15, 2014 at 3:29 PM, Dave Cole linuxcncro...@gmail.com wrote:

 Yes...

 Doing that is very common on small machines.

 Dave

 On 7/15/2014 5:26 PM, a k wrote:
 to be sure --HOME_SEQUENCE 0|1|2|3
 0|1|2|3- this set sequence for axis?
 like 0-x first, 1-y second   etc?


 On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 15:38:42 a k did opine
 And Gene did reply:
 about code
 from hal


 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 

 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards
 generally # have enough GPIO pins to put each axis' home switch on its
 own pin. 
 how it can work  All home switches are connected to GPIO 25???
 Either all switches are wired n.c. and in series, or all wired n.o. and
 in
 parallel.  lcnc contains logic that will not move anything if any of the
 switches is already tripped when you hit ctrl+home.  You must have the
 statement in the .ini file for each axis HOME_IS_SHARED = true, and
 HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting
 with
 0) which brings that logic into play.

 On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com
 wrote:
 On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine

 And Gene did reply:
 I M does not shows any working sample
 Here's how I did it for my little Sherline mill...

 Modify the Sherline control box to accept the wiring. This is an
 example for the tool length probe line, but the same thing happened
 for the home switch input:

 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
 a-ja ck/

 Connect the physical home switches to the parallel port pin and
 define the HAL wiring that connects the input pin to the homing
 signals:

 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
 ches /

 Define the homing parameters that control the motion on all three
 axes:

 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
 itch es/

 That configuration worked back in the 2.4 days and has continued to
 work fine ever since, so it should get you reasonably close to your
 goal.

 Hope that helps ...
 It gets more complex than that Ed, he is using Mesa cards where the
 GPIO port pin number isn't generally the number you use in the hal
 file for a parport number.  I needed a spindle run/brake signal on
 the db25's pin 17, but had to consult the dmesg output to determine
 the actual address of that pin for a 5i25 interface card.  He is
 using a 5i20 + 2 daughter cards I know nothing about. I am still
 configuring things as I'm just now bringing it (the 5i25) to life.

 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
 ---
 --- 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

Re: [Emc-users] integrator manual

2014-07-16 Thread a k
Hi Philipp
About

-- -- --
# Read home switch inputs from I/O card.
net x-home-sw = m5i20.0.in-02
net y-home-sw = m5i20.0.in-06
net z-home-sw = m5i20.0.in-10

# Connect home switch nets to motion.
net x-home-sw = axis.0.home-sw-in
net y-home-sw = axis.1.home-sw-in
net z-home-sw = axis.2.home-sw-in
-
###
what about HOMING code that came as a default - from installation--

net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
net home-switch = axis.0.home-sw-in
net home-switch = axis.1.home-sw-in
net home-switch = axis.2.home-sw-in
#
delete it/alter--something should be
1st line need remove because of 025 and i use 2-6-10-and remaining part?





On Wed, Jul 16, 2014 at 11:46 AM, Philipp Burch p...@hb9etc.ch wrote:

 Hi Aram!

 On 16.07.2014 20:32, a k wrote:
  my machine wired --x home (m5i20.0.in-02) pin 02
  y home pin 06
  z home pin 10
 
  should i physically rewire all to pin 25
  or i can redirect pins 02 06 and 10 to pin 25?
 

 If those pins are all inputs, then you don't need to rewire anything.
 Pin 25 is an *example*! If your setup is different, you will just need
 to update your configuration accordingly. If you have enough inputs to
 connect all your switches individually, then do so. That will help you
 figure out the cause of problems should there be something wrong with
 your hardware now or in the future.

 I don't know how your mesa card appears in the HAL (never used one of
 those), but taking your above example, it should be something like this:

 -- 8 -- 8 ---
 # Read home switch inputs from I/O card.
 net x-home-sw = m5820.0.in-02
 net y-home-sw = m5820.0.in-06
 net z-home-sw = m5820.0.in-10

 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -- 8 -- 8 ---


 Regards,
 Philipp



 --
 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


--
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


Re: [Emc-users] integrator manual

2014-07-16 Thread Peter C. Wallace
On Wed, 16 Jul 2014, a k wrote:

 Date: Wed, 16 Jul 2014 12:30:48 -0700
 From: a k pccncmach...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] integrator manual
 
 Hi Philipp
 About

 -- -- --
 # Read home switch inputs from I/O card.
 net x-home-sw = m5i20.0.in-02
 net y-home-sw = m5i20.0.in-06
 net z-home-sw = m5i20.0.in-10

 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -
 ###
 what about HOMING code that came as a default - from installation--

 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 #
 delete it/alter--something should be
 1st line need remove because of 025 and i use 2-6-10-and remaining part?


 # Read home switch inputs from I/O card.

net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

Should be correct for the hm2-servo.hal setup
(that is, these inputs will match your old m5i20 pins 2,6,10







 On Wed, Jul 16, 2014 at 11:46 AM, Philipp Burch p...@hb9etc.ch wrote:

 Hi Aram!

 On 16.07.2014 20:32, a k wrote:
 my machine wired --x home (m5i20.0.in-02) pin 02
 y home pin 06
 z home pin 10

 should i physically rewire all to pin 25
 or i can redirect pins 02 06 and 10 to pin 25?


 If those pins are all inputs, then you don't need to rewire anything.
 Pin 25 is an *example*! If your setup is different, you will just need
 to update your configuration accordingly. If you have enough inputs to
 connect all your switches individually, then do so. That will help you
 figure out the cause of problems should there be something wrong with
 your hardware now or in the future.

 I don't know how your mesa card appears in the HAL (never used one of
 those), but taking your above example, it should be something like this:

 -- 8 -- 8 ---
 # Read home switch inputs from I/O card.
 net x-home-sw = m5820.0.in-02
 net y-home-sw = m5820.0.in-06
 net z-home-sw = m5820.0.in-10

 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -- 8 -- 8 ---


 Regards,
 Philipp



 --
 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


 --
 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


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
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


Re: [Emc-users] integrator manual

2014-07-16 Thread Philipp Burch
Hi Aram!

On 16.07.2014 21:30, a k wrote:
 Hi Philipp
 About
 
 -- -- --
 # Read home switch inputs from I/O card.
 net x-home-sw = m5i20.0.in-02
 net y-home-sw = m5i20.0.in-06
 net z-home-sw = m5i20.0.in-10
 
 # Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
 net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in
 -
 ###
 what about HOMING code that came as a default - from installation--
 
 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 #
 delete it/alter--something should be
 1st line need remove because of 025 and i use 2-6-10-and remaining part?
 

You can just replace the posted example code by the above. Have you even
tried to figure out what the example code does differently than what I
wrote? If you see that, then you have at least a basic understanding of
HAL and should be able to modify most of the example configuration to
suit your machine. But again, I never worked with Mesa cards, so I don't
know how they are exactly named in HAL (check the first line of your
posted excerpt, that might give you a hint). And I especially do not
know if the pin numbers are correct.
Check Peters answer(s), he's the Mesa Guru.

Best regards,
Philipp



signature.asc
Description: OpenPGP digital signature
--
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


Re: [Emc-users] integrator manual

2014-07-16 Thread a k
I did input

 # Read home switch inputs from I/O card.
net x-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.026.in
net y-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.030.in
net z-home-sw = hm2_[HOSTMOT2](BOARD).0.gpio.034.in

and this

# Connect home switch nets to motion.
 net x-home-sw = axis.0.home-sw-in
net y-home-sw = axis.1.home-sw-in
 net z-home-sw = axis.2.home-sw-in


#

error was hm2 servo  'net' requires at least one pin, none given  1993

what part 1993 means?
and after i put # at front of 2nd part number change to 2257



On Wed, Jul 16, 2014 at 12:44 PM, Philipp Burch p...@hb9etc.ch wrote:

 Hi Aram!

 On 16.07.2014 21:30, a k wrote:
  Hi Philipp
  About
 
  -- -- --
  # Read home switch inputs from I/O card.
  net x-home-sw = m5i20.0.in-02
  net y-home-sw = m5i20.0.in-06
  net z-home-sw = m5i20.0.in-10
 
  # Connect home switch nets to motion.
  net x-home-sw = axis.0.home-sw-in
  net y-home-sw = axis.1.home-sw-in
  net z-home-sw = axis.2.home-sw-in
  -
  ###
  what about HOMING code that came as a default - from installation--
 
  net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
  net home-switch = axis.0.home-sw-in
  net home-switch = axis.1.home-sw-in
  net home-switch = axis.2.home-sw-in
  #
  delete it/alter--something should be
  1st line need remove because of 025 and i use 2-6-10-and remaining part?
 

 You can just replace the posted example code by the above. Have you even
 tried to figure out what the example code does differently than what I
 wrote? If you see that, then you have at least a basic understanding of
 HAL and should be able to modify most of the example configuration to
 suit your machine. But again, I never worked with Mesa cards, so I don't
 know how they are exactly named in HAL (check the first line of your
 posted excerpt, that might give you a hint). And I especially do not
 know if the pin numbers are correct.
 Check Peters answer(s), he's the Mesa Guru.

 Best regards,
 Philipp



 --
 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


--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread John Thornton
Aram,

Big Picture:
home switch connect home pin

IM
detail much problem cause

try Mach
agenda none


On 7/14/2014 4:36 PM, a k wrote:
want to address to those who put together --integrator manual--I M



 i search in it for home homing -  and I M provides only separate blocks and
 never show main plan - skeleton to where need to add those building blocks.


 I M does not shows any working sample - like for homing -- as an example
 from previous model --emc2-- 2.2.5

 maybe one will say that will be OK and copy/past and problem solved.

  problem solved  was not on agenda



 it is web based manual no paper will be wasted – many publisher afraid
 that.
 --
 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


--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread Ed Nisley
 I M does not shows any working sample

Here's how I did it for my little Sherline mill...

Modify the Sherline control box to accept the wiring. This is an example 
for the tool length probe line, but the same thing happened for the home 
switch input:

http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-a-jack/

Connect the physical home switches to the parallel port pin and define 
the HAL wiring that connects the input pin to the homing signals:

http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-switches/

Define the homing parameters that control the motion on all three axes:

http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-switches/

That configuration worked back in the 2.4 days and has continued to work 
fine ever since, so it should get you reasonably close to your goal.

Hope that helps ...

-- 
Ed
softsolder.com

--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread Gene Heskett
On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
And Gene did reply:
  I M does not shows any working sample
 
 Here's how I did it for my little Sherline mill...
 
 Modify the Sherline control box to accept the wiring. This is an
 example for the tool length probe line, but the same thing happened
 for the home switch input:
 
 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-a-ja
 ck/
 
 Connect the physical home switches to the parallel port pin and define
 the HAL wiring that connects the input pin to the homing signals:
 
 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-switches
 /
 
 Define the homing parameters that control the motion on all three axes:
 
 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-switch
 es/
 
 That configuration worked back in the 2.4 days and has continued to
 work fine ever since, so it should get you reasonably close to your
 goal.
 
 Hope that helps ...

It gets more complex than that Ed, he is using Mesa cards where the GPIO 
port pin number isn't generally the number you use in the hal file for a 
parport number.  I needed a spindle run/brake signal on the db25's pin 17, 
but had to consult the dmesg output to determine the actual address of 
that pin for a 5i25 interface card.  He is using a 5i20 + 2 daughter cards 
I know nothing about. I am still configuring things as I'm just now 
bringing it (the 5i25) to life.

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


Re: [Emc-users] integrator manual

2014-07-15 Thread a k
about code
from hal


net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
net home-switch = axis.0.home-sw-in
net home-switch = axis.1.home-sw-in
net home-switch = axis.2.home-sw-in
/
interesting explanation about pin connection


each of the three axes have their own home switch.  All
# home switches are connected to GPIO 25, though hostmot2 boards generally
# have enough GPIO pins to put each axis' home switch on its own pin.

how it can work  All home switches are connected to GPIO 25???



On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
 And Gene did reply:
   I M does not shows any working sample
 
  Here's how I did it for my little Sherline mill...
 
  Modify the Sherline control box to accept the wiring. This is an
  example for the tool length probe line, but the same thing happened
  for the home switch input:
 
  http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-a-ja
  ck/
 
  Connect the physical home switches to the parallel port pin and define
  the HAL wiring that connects the input pin to the homing signals:
 
  http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-switches
  /
 
  Define the homing parameters that control the motion on all three axes:
 
  http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-switch
  es/
 
  That configuration worked back in the 2.4 days and has continued to
  work fine ever since, so it should get you reasonably close to your
  goal.
 
  Hope that helps ...

 It gets more complex than that Ed, he is using Mesa cards where the GPIO
 port pin number isn't generally the number you use in the hal file for a
 parport number.  I needed a spindle run/brake signal on the db25's pin 17,
 but had to consult the dmesg output to determine the actual address of
 that pin for a 5i25 interface card.  He is using a 5i20 + 2 daughter cards
 I know nothing about. I am still configuring things as I'm just now
 bringing it (the 5i25) to life.

 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

--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread Philipp Burch
Hi Aram!

On 15.07.2014 21:38, a k wrote:
 about code
 from hal
 
 
 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 
 
 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards generally
 # have enough GPIO pins to put each axis' home switch on its own pin.
 
 how it can work  All home switches are connected to GPIO 25???
 

Yeah, why not? As long as the joints (aka axes) are homed one after the
other, this is no problem. You won't be able to home multiple joints at
once with this configuration, though. Check the ini parameter HOME_SEQUENCE.

Regards,
Philipp



signature.asc
Description: OpenPGP digital signature
--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread John Thornton
http://www.linuxcnc.org/docs/2.6/html/config/ini_homing.html#_home_is_shared

On 7/15/2014 2:38 PM, a k wrote:
 about code
 from hal


 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 

 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards generally
 # have enough GPIO pins to put each axis' home switch on its own pin.
 
 how it can work  All home switches are connected to GPIO 25???



 On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
 And Gene did reply:
 I M does not shows any working sample
 Here's how I did it for my little Sherline mill...

 Modify the Sherline control box to accept the wiring. This is an
 example for the tool length probe line, but the same thing happened
 for the home switch input:

 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-a-ja
 ck/

 Connect the physical home switches to the parallel port pin and define
 the HAL wiring that connects the input pin to the homing signals:

 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-switches
 /

 Define the homing parameters that control the motion on all three axes:

 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-switch
 es/

 That configuration worked back in the 2.4 days and has continued to
 work fine ever since, so it should get you reasonably close to your
 goal.

 Hope that helps ...
 It gets more complex than that Ed, he is using Mesa cards where the GPIO
 port pin number isn't generally the number you use in the hal file for a
 parport number.  I needed a spindle run/brake signal on the db25's pin 17,
 but had to consult the dmesg output to determine the actual address of
 that pin for a 5i25 interface card.  He is using a 5i20 + 2 daughter cards
 I know nothing about. I am still configuring things as I'm just now
 bringing it (the 5i25) to life.

 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

 --
 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


--
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


Re: [Emc-users] integrator manual

2014-07-15 Thread Gene Heskett
On Tuesday 15 July 2014 15:38:42 a k did opine
And Gene did reply:
 about code
 from hal
 
 
 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 
 
 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards
 generally # have enough GPIO pins to put each axis' home switch on its
 own pin. 
 how it can work  All home switches are connected to GPIO 25???

Either all switches are wired n.c. and in series, or all wired n.o. and in 
parallel.  lcnc contains logic that will not move anything if any of the 
switches is already tripped when you hit ctrl+home.  You must have the 
statement in the .ini file for each axis HOME_IS_SHARED = true, and 
HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting with 
0) which brings that logic into play.
 
 On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:
  On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
  
  And Gene did reply:
I M does not shows any working sample
   
   Here's how I did it for my little Sherline mill...
   
   Modify the Sherline control box to accept the wiring. This is an
   example for the tool length probe line, but the same thing happened
   for the home switch input:
   
   http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
   a-ja ck/
   
   Connect the physical home switches to the parallel port pin and
   define the HAL wiring that connects the input pin to the homing
   signals:
   
   http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
   ches /
   
   Define the homing parameters that control the motion on all three
   axes:
   
   http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
   itch es/
   
   That configuration worked back in the 2.4 days and has continued to
   work fine ever since, so it should get you reasonably close to your
   goal.
   
   Hope that helps ...
  
  It gets more complex than that Ed, he is using Mesa cards where the
  GPIO port pin number isn't generally the number you use in the hal
  file for a parport number.  I needed a spindle run/brake signal on
  the db25's pin 17, but had to consult the dmesg output to determine
  the actual address of that pin for a 5i25 interface card.  He is
  using a 5i20 + 2 daughter cards I know nothing about. I am still
  configuring things as I'm just now bringing it (the 5i25) to life.
  
  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
 
 ---
 --- 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


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


Re: [Emc-users] integrator manual

2014-07-15 Thread a k
about
3.9. HOME_SEQUENCE

the single way - wiring to one pin can be done if there will be enforced
sequence --- first home X, second home Y and third home Z.
To guaranty that one axis at the any given moment can be homed
if so than how do that? option only 0 and 1
how to mark each axis - there are 3 or more axis ?


On Tue, Jul 15, 2014 at 1:26 PM, John Thornton bjt...@gmail.com wrote:


 http://www.linuxcnc.org/docs/2.6/html/config/ini_homing.html#_home_is_shared

 On 7/15/2014 2:38 PM, a k wrote:
  about code
  from hal
 
 
  net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
  net home-switch = axis.0.home-sw-in
  net home-switch = axis.1.home-sw-in
  net home-switch = axis.2.home-sw-in
  /
  interesting explanation about pin connection
  
 
  each of the three axes have their own home switch.  All
  # home switches are connected to GPIO 25, though hostmot2 boards
 generally
  # have enough GPIO pins to put each axis' home switch on its own pin.
  
  how it can work  All home switches are connected to GPIO 25???
 
 
 
  On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:
 
  On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
  And Gene did reply:
  I M does not shows any working sample
  Here's how I did it for my little Sherline mill...
 
  Modify the Sherline control box to accept the wiring. This is an
  example for the tool length probe line, but the same thing happened
  for the home switch input:
 
 
 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-a-ja
  ck/
 
  Connect the physical home switches to the parallel port pin and define
  the HAL wiring that connects the input pin to the homing signals:
 
 
 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-switches
  /
 
  Define the homing parameters that control the motion on all three axes:
 
 
 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-switch
  es/
 
  That configuration worked back in the 2.4 days and has continued to
  work fine ever since, so it should get you reasonably close to your
  goal.
 
  Hope that helps ...
  It gets more complex than that Ed, he is using Mesa cards where the GPIO
  port pin number isn't generally the number you use in the hal file for a
  parport number.  I needed a spindle run/brake signal on the db25's pin
 17,
  but had to consult the dmesg output to determine the actual address of
  that pin for a 5i25 interface card.  He is using a 5i20 + 2 daughter
 cards
  I know nothing about. I am still configuring things as I'm just now
  bringing it (the 5i25) to life.
 
  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
 
 
 --
  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



 --
 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

--
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 

Re: [Emc-users] integrator manual

2014-07-15 Thread a k
to be sure --HOME_SEQUENCE 0|1|2|3
0|1|2|3- this set sequence for axis?
like 0-x first, 1-y second   etc?


On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 15:38:42 a k did opine
 And Gene did reply:
  about code
  from hal
 
 
  net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
  net home-switch = axis.0.home-sw-in
  net home-switch = axis.1.home-sw-in
  net home-switch = axis.2.home-sw-in
  /
  interesting explanation about pin connection
  
 
  each of the three axes have their own home switch.  All
  # home switches are connected to GPIO 25, though hostmot2 boards
  generally # have enough GPIO pins to put each axis' home switch on its
  own pin. 
  how it can work  All home switches are connected to GPIO 25???

 Either all switches are wired n.c. and in series, or all wired n.o. and in
 parallel.  lcnc contains logic that will not move anything if any of the
 switches is already tripped when you hit ctrl+home.  You must have the
 statement in the .ini file for each axis HOME_IS_SHARED = true, and
 HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting with
 0) which brings that logic into play.

  On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:
   On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine
  
   And Gene did reply:
 I M does not shows any working sample
   
Here's how I did it for my little Sherline mill...
   
Modify the Sherline control box to accept the wiring. This is an
example for the tool length probe line, but the same thing happened
for the home switch input:
   
http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
a-ja ck/
   
Connect the physical home switches to the parallel port pin and
define the HAL wiring that connects the input pin to the homing
signals:
   
http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
ches /
   
Define the homing parameters that control the motion on all three
axes:
   
http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
itch es/
   
That configuration worked back in the 2.4 days and has continued to
work fine ever since, so it should get you reasonably close to your
goal.
   
Hope that helps ...
  
   It gets more complex than that Ed, he is using Mesa cards where the
   GPIO port pin number isn't generally the number you use in the hal
   file for a parport number.  I needed a spindle run/brake signal on
   the db25's pin 17, but had to consult the dmesg output to determine
   the actual address of that pin for a 5i25 interface card.  He is
   using a 5i20 + 2 daughter cards I know nothing about. I am still
   configuring things as I'm just now bringing it (the 5i25) to life.
  
   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
 
  ---
  --- 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


 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
 ___
 

Re: [Emc-users] integrator manual

2014-07-15 Thread Dave Cole
Yes...

Doing that is very common on small machines.

Dave

On 7/15/2014 5:26 PM, a k wrote:
 to be sure --HOME_SEQUENCE 0|1|2|3
 0|1|2|3- this set sequence for axis?
 like 0-x first, 1-y second   etc?


 On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett ghesk...@wdtv.com wrote:

 On Tuesday 15 July 2014 15:38:42 a k did opine
 And Gene did reply:
 about code
 from hal


 net home-switch = hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
 net home-switch = axis.0.home-sw-in
 net home-switch = axis.1.home-sw-in
 net home-switch = axis.2.home-sw-in
 /
 interesting explanation about pin connection
 

 each of the three axes have their own home switch.  All
 # home switches are connected to GPIO 25, though hostmot2 boards
 generally # have enough GPIO pins to put each axis' home switch on its
 own pin. 
 how it can work  All home switches are connected to GPIO 25???
 Either all switches are wired n.c. and in series, or all wired n.o. and in
 parallel.  lcnc contains logic that will not move anything if any of the
 switches is already tripped when you hit ctrl+home.  You must have the
 statement in the .ini file for each axis HOME_IS_SHARED = true, and
 HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting with
 0) which brings that logic into play.

 On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett ghesk...@wdtv.com wrote:
 On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine

 And Gene did reply:
 I M does not shows any working sample
 Here's how I did it for my little Sherline mill...

 Modify the Sherline control box to accept the wiring. This is an
 example for the tool length probe line, but the same thing happened
 for the home switch input:

 http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding-
 a-ja ck/

 Connect the physical home switches to the parallel port pin and
 define the HAL wiring that connects the input pin to the homing
 signals:

 http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit
 ches /

 Define the homing parameters that control the motion on all three
 axes:

 http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw
 itch es/

 That configuration worked back in the 2.4 days and has continued to
 work fine ever since, so it should get you reasonably close to your
 goal.

 Hope that helps ...
 It gets more complex than that Ed, he is using Mesa cards where the
 GPIO port pin number isn't generally the number you use in the hal
 file for a parport number.  I needed a spindle run/brake signal on
 the db25's pin 17, but had to consult the dmesg output to determine
 the actual address of that pin for a 5i25 interface card.  He is
 using a 5i20 + 2 daughter cards I know nothing about. I am still
 configuring things as I'm just now bringing it (the 5i25) to life.

 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
 ---
 --- 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

 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
 

[Emc-users] integrator manual

2014-07-14 Thread a k
  want to address to those who put together --integrator manual--I M



i search in it for home homing -  and I M provides only separate blocks and
never show main plan - skeleton to where need to add those building blocks.


I M does not shows any working sample - like for homing -- as an example
from previous model --emc2-- 2.2.5

maybe one will say that will be OK and copy/past and problem solved.

 problem solved  was not on agenda



it is web based manual no paper will be wasted – many publisher afraid
that.
--
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


Re: [Emc-users] Integrator manual

2010-03-25 Thread Rudy du Preez
Can all please take note: the Integrators (pdf) manual link on the main
linuxcnc.org website is out of date. 

The latest manual is at linuxcnc.org/docs/devel/. It has the latest info on
Hostmot2 for instance.

Rudy
 

__ Information from ESET Smart Security, version of virus signature
database 4973 (20100325) __

The message was checked by ESET Smart Security.

http://www.eset.com
 


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Integrator manual

2010-03-25 Thread Alex Joni
Hi Rudy,

the problem is that the devel documentation refers to the next version of 
emc2 (2.4.x, soon to be released).
We will point the default documentation to the 2.4 docs, once the release 
has happened.

Regards,
Alex

- Original Message - 
From: Rudy du Preez r...@asmsa.co.za
To: emc-users@lists.sourceforge.net
Sent: Thursday, March 25, 2010 3:06 PM
Subject: Re: [Emc-users] Integrator manual


 Can all please take note: the Integrators (pdf) manual link on the main
 linuxcnc.org website is out of date.

 The latest manual is at linuxcnc.org/docs/devel/. It has the latest info 
 on
 Hostmot2 for instance.

 Rudy



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users