Re: [Emc-users] 5I20 Stepper motors and encoders

2010-02-19 Thread Andy Pugh
On 19 February 2010 07:12, Belli Button be...@iafrica.com wrote:

 Here's a question for those in the know.  I have a 5I20 that I intend to use
 for driving step/dir signals for my stepper motors.  I would like to add
 encoders to the steppers so that I can measure if I have lost any steps at
 some point.  Question is, do I need the 7I33 for encoder inputs?

Not necessarily. You can connect the encoder signals directly to the
5i20 as long as they are the correct (logic level) voltages.
You probably need some sort of signal conditioning though. Even my
home-made encoders which were designed for easy interfacing to the
7i43 have pull-up resistors on the breakout board so that the actual
encoder signals are a current loop rather than a voltage while
travelling around the machine.
(Calling it a breakout board is a bit pretentious, it is a rectangle
of stripboard with headers soldered to it)

 How can I
 get axis to display the desired positon and the encoder position?

I don't know. But does it actually gain you much? If the numbers are
different you need to stop

-- 
atp

--
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] THC - torch height control

2010-02-19 Thread Viesturs Lācis
 Dave wrote:
 Do you think you will have any issues with the ultrasonic sensor and
 the water mist from the waterjet? I was to work on a waterjet system
 next week but the project has been delayed.  That machine has a
 constant mist/cloud of water vapor around it.

 Yeah, I was wondering about that.  When piercing the initial hole in stock,
 the jet can bounce back with immense force, and it is loaded with Garnet
 dust.  Unless there
 is a shield that can be flipped in place during piercing, I would suspect
 the sensor would have to be tremendously robust or it will have a very
 short life.

 Jon


I do not see that vapor is problem - there was some freaky height
sensor previously installed near the nozzle - all the plugs and
connections of wires have to be sealed and that's basically all.
splashes, especially during piercing, are far more bigger concern,
that's where i agree.

splashes are the thing, where i have not found a solution yet.
i have an idea that i could make a shield from a material that is
transparent for that particular wavelength of ultrasound, but i will
have to check that in more detail, if that is possible. changing the
shield with few cm in diameter from time to time, if it gets damaged,
does not seem like a big cost issue.
another idea is to put the sensor in a shell, which closes during
piercing - that would involve some additional commands in G-code - i
mean M100 - M199 user-definable commands, where that particular
command would activate a magnet for few seconds through some relay and
magnet would close a cover of the shell of the sensor.

anyway, the working principle for THC for plasma, and for waterjet and
also laser as well is the same, as both of these technologies are
cutting material with some kind of beam and it is supposed to hold the
torch/nozzle in some specific height few mm above the surface of
material

thank You, guys for Your suggestions on PLC and Classic Ladder. You
have helped me a lot, because now i have a direction, where to look
for a solution, i really appreciate that!

Viesturs

--
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] 5I20 Stepper motors and encoders

2010-02-19 Thread Flying Electron
Andy Pugh wrote:
 On 19 February 2010 07:12, Belli Button be...@iafrica.com wrote:
   
 How can I
 get axis to display the desired positon and the encoder position?
 

 I don't know. But does it actually gain you much? If the numbers are
 different you need to stop
   
You can use a pyvcp panel in axis to display the encoder position.

http://www.linuxcnc.org/docs/2.2/html/hal_pyvcp.html




--
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] 5I20 Stepper motors and encoders

2010-02-19 Thread Peter C. Wallace
On Fri, 19 Feb 2010, Belli Button wrote:

 Date: Fri, 19 Feb 2010 09:12:55 +0200
 From: Belli Button be...@iafrica.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] 5I20 Stepper motors and encoders
 
 Hello,

 Here's a question for those in the know.  I have a 5I20 that I intend to use
 for driving step/dir signals for my stepper motors.  I would like to add
 encoders to the steppers so that I can measure if I have lost any steps at
 some point.  Question is, do I need the 7I33 for encoder inputs? How can I
 get axis to display the desired positon and the encoder position?

 Thanks,
 Greg


You dont need a 7I33 for just encoder inputs, TTL or single-ended type 
encoders can connect directly to the 5I20. If you have differential output 
encoders, you may want a 7I47 as a differential-single-ended converter (which 
has the side benefit of buffering the step-direction outputs)



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


Peter Wallace
Mesa Electronics

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


--
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] 7i43 GPIO Input Question

2010-02-19 Thread Flying Electron
Flying Electron wrote:
 Hi,

 I was using one of the inputs to read my E-STOP button which shorts to 
 ground when triggered, but I kept on getting false positives.  I looked 
 at the input pin in halscope and saw a square wave that goes high for 
 2ms then low for 2ms and repeats.  I removed the E-Stop button and 
 everything else connected to the IO of the 7i43 so it is just the 
 parallel port and the usb cable powering the 7i43 connected.  Looked in 
 halscope again, and the square wave is still there with nothing 
 connected.  Checked several other unassigned pins and they also show the 
 square wave.  Anyone have any ideas on what is happening?

 Thanks!

 Lawrence
   
I figured out that if I don't load the arduino in the HAL then the 
square wave goes away and the pin stays high like it should.

I commented out

loadusr -W arduino /dev/ttyS0 3

from my HAL file and everything seems to be ok.  I don't understand why 
the arduino and the hostmot2 would cause problems with each other 
though.  One is a serial port and the other is a parallel port.






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