Re: [Emc-users] Convert G2/G3 to G1

2011-10-14 Thread Dave
Viesturs,

I don't know where your G code is coming from but I believe it is pretty 
easy to break arcs into segmented lines in Autocad.
Then if you export that to a DXF you might be able to use a CAM program 
to create a number of G1 moves.

Dave

On 10/13/2011 5:33 AM, Viesturs Lācis wrote:
 Hello!

 I have a special client, who does not understand, when I write in
 email and tell over the phone that no arc movements (G2/G3) will be
 executed in UV plane - I just received some complaints that machine is
 ruining parts, so I asked to send me the g-code file. Guess what did I
 see there...
 I would like to ask, if someone can recommend me a way, how I can
 relatively easily and quickly convert G2/G3 moves into small G1 moves.
 Well, any possible solution will do. It could be some spreadsheet
 formulas or whatever.
 Thanks in advance!

 Viesturs

 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2d-oct
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Convert G2/G3 to G1

2011-10-14 Thread Viesturs Lācis
2011/10/13 andy pugh bodge...@gmail.com:
 On 13 October 2011 10:33, Viesturs Lācis viesturs.la...@gmail.com wrote:

 I have a special client, who does not understand, when I write in
 email and tell over the phone that no arc movements (G2/G3) will be
 executed in UV plane - I just received some complaints that machine is
 ruining parts, so I asked to send me the g-code file. Guess what did I
 see there...

 Is he using IJK or R?

IJK format is used.

 I wonder how hard it is to make R work in UV when the UV plane is selected?
 (I think that would be a better solution)

Yes, this would do. The problem is that I have no idea, how to find that out.

 I would like to ask, if someone can recommend me a way, how I can
 relatively easily and quickly convert G2/G3 moves into small G1 moves.
 Well, any possible solution will do.

 Any filter would have the same problems as EMC2, how does it tell what
 the customer intended?

On my way to client I came up with a solution - transformation from
polar coordinates to cartesian coordinates:
1) I have current tool position and from IJK I can derive center coordinates;
2) from IJK values I can easily calculate length of radius;
3) I need to know the starting angle and end angle - can be derived
with atan2() function (current position - center position = value for
atan2() function;
4) so now I have everything needed for polar coordinates - start
angle, end angle and radius;
5) divide the angle in 1-3 degree increments;
6) convert polar to cartesian space:
x=center + R*cos(a)
y=center + R*sin(a)
7) since angle increments are equal, then all the small moves are of
equal length.

I wrote this in spreadsheet in ~15 minutes, not very convenient, but
it is acceptable for manufacturing, where one particular part is
produced in very large quantities without changes in code.


 If this is the twin-head machine than I am not sure that they really
 are UVW axes so much as alternative XYZ axes.

Yes, that is a twin-head machine, which processes both ends of wood
stick together. The problem is that for some products different
profiles at each end are required.

2011/10/13 Chris Radek ch...@timeguy.com:

 I don't have any guess since if someone tried to write arcs in the
 UV plane, it would just cause an error, not a ruined part.

If tool is in
X0 Y0 U0 V0
and there is a line
G2 X50 Y50 U50 V50 I50 J0

Then XY will do the arc, but UV will do a straight line to the end point.

 What kind of motion are you talking about?  Just plain simple arcs in
 UV, or some kind of complicated combined motion where UV does one
 thing while XY does another?

Second option would be the ideal solution, because the machine has to
process both ends of material simultaneously.
Plain simple arcs in UV also would be a step forward from current
situation - then at least there would be option to process XY end and
after that UV end - I already know that client would object that it is
a waste of time and thus increased cost, but at least there would be
some options.

The problem with my divide arcs in small linear moves approach is
that it is too slow, linear moves are too short to reach the required
speed even when with G64 P0.1 (that is max deviance acceptable), the
tool burns material, so the whole approach is a failure.

What I ended up with:
Custom pseudokinematics - with use of mux2 components, operator can
switch joints 6 and 7 from U and V to X and Y respectively - for those
parts, where both ends are the same, they can do all the G2/G3 moves.
For those parts, where profiles at both ends are not the same - it is
a problem yet to be solved.

Thanks, Thomas!
I took a look and it seemed to me that they are trying to do something
different than that - I also do not speak German (and unfortunately
translate tool in Chrome does not offer to translate the contents)
they are doing kinematics calcs, where the tool is moved by two wires:
http://code.google.com/p/emc2hotwinch/downloads/detail?name=Geometrie.JPG

Dave, the idea was to use existing g-code with G2/G3 moves, but as I
mentioned, that approach failed.

So the question is - how hard would that be to get G2/G3 support for
UV plane? It would not matter, if that is IJK format or R format.

Viesturs

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
I now have an encoder mounted to my tool carousel. I linked the encoder
to a PID and found that each pocket is 720 counts apart. I can travel in
either way to get to a pocket, but there is no motion control, so the
start and stop is pretty abrupt. I am starting to consider implementing
some sort of motion planning to control the acceleration on each side of
the move, but now that I actually need to create the solution it becomes
more complicated. Finding the closest path to the target pocket should
be easy. The next step is to feed position commands to the PID to
control the trajectory. A couple of issues are that the carousel will
not be an axis and the motion component is not available during a tool
change, also position overshoot (but eventually corrected) is
acceptable. As is, the straight PID works okay, but if I increase the
maximum carousel speed (very likely), the start/stop jerk may become a
problem. Any pointers on how to attack this problem would be
appreciated.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread andy pugh
On 14 October 2011 16:15, Kirk Wallace kwall...@wallacecompany.com wrote:
  As is, the straight PID works okay, but if I increase the
 maximum carousel speed (very likely), the start/stop jerk may become a
 problem. Any pointers on how to attack this problem would be
 appreciated.

If you pass the command position to the PID through a limit3 block you
should be able to control the accel-decel.


-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Chris Radek
On Fri, Oct 14, 2011 at 08:15:52AM -0700, Kirk Wallace wrote:

 As is, the straight PID works okay, but if I increase the
 maximum carousel speed (very likely), the start/stop jerk may become a
 problem. Any pointers on how to attack this problem would be
 appreciated.

Consider using a limit3 block.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Jon Elson
Kirk Wallace wrote:
 I now have an encoder mounted to my tool carousel. I linked the encoder
 to a PID and found that each pocket is 720 counts apart. I can travel in
 either way to get to a pocket, but there is no motion control, so the
 start and stop is pretty abrupt. I am starting to consider implementing
 some sort of motion planning to control the acceleration on each side of
 the move, but now that I actually need to create the solution it becomes
 more complicated. Finding the closest path to the target pocket should
 be easy. The next step is to feed position commands to the PID to
 control the trajectory. A couple of issues are that the carousel will
 not be an axis and the motion component is not available during a tool
 change, also position overshoot (but eventually corrected) is
 acceptable. As is, the straight PID works okay, but if I increase the
 maximum carousel speed (very likely), the start/stop jerk may become a
 problem. Any pointers on how to attack this problem would be
 appreciated.
   
You cold build a stupid trajectory planner as a hal component.  It would 
take a couple
parameters such as max speed and acceleration, and a pin for final 
position.  It would
accelerate to max speed and then compute the point at which it needs to 
start
decelerating.  I did one of these in an FPGA driving a stepper where we 
wanted rapid
movement to the final point without the risk of stalling the stepper.  
It was all done
with just adds and subtracts, although all constants were hard-coded.

I wouldn't think this would take more than a dozen lines of C code.  You 
can still
use the PID and whatever servo driver and drive would be used, just like 
it was an axis.

Jon


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Utility

2011-10-14 Thread Kirk Wallace
On Tue, 2011-10-11 at 13:41 -0700, doug metzler wrote:
 Hey Kirk, did you ever go anywhere with this?
 
 Thanks,
 
 DougM
 
 On Thu, Sep 15, 2011 at 10:04 AM, gene heskett ghesk...@wdtv.com wrote:
  On Thursday, September 15, 2011 01:03:31 PM doug metzler did opine:
 
  1) loopback test to confirm that the port is actually working?  Esp.
  if it would report back what address it found the loopback adapter on.
  2) something that that tells me who is holding or has handles to it?
  (I'm sure this already exists but it would be nice to be encapsulated
  in the same place)
  3) a wizard that configures it for EMC :-)

Sorry, I haven't gotten round to it yet. After having a couple of new
issues with using my Pluto-P with a PCI parallel port card, it seems I
don't have a full understanding of the problem yet. I suppose this
should not prevent me from posting the current status of the utility on
the wiki, when I get round to it.

There is a parallel port tester of sorts in the pyVCP examples here:
http://linuxcnc.org/docs/html/hal_pyvcp_examples.html 

One could just use a jumper wire from an input hole to an output to
verify that the puns, rather pins, work. A more formal tester hardware
would try to protect the port from the user doing silly things, but
basically do the same thing.

I'll try to make progress on this soon, maybe.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Chris Radek
On Fri, Oct 14, 2011 at 10:50:54AM -0500, Jon Elson wrote:

 You cold build a stupid trajectory planner as a hal component.  It would 
 take a couple
 parameters such as max speed and acceleration, and a pin for final 
 position.  

This is what limit3 does.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Thomas Powderly
On Fri, Oct 14, 2011 at 10:15 AM, Kirk Wallace
kwall...@wallacecompany.com wrote:
 I now have an encoder mounted to my tool carousel. I linked the encoder
 to a PID and found that each pocket is 720 counts apart. I can travel in
 either way to get to a pocket, but there is no motion control, so the
 start and stop is pretty abrupt. I am starting to consider implementing
 some sort of motion planning to control the acceleration on each side of
 the move, but now that I actually need to create the solution it becomes
 more complicated. Finding the closest path to the target pocket should
 be easy. The next step is to feed position commands to the PID to
 control the trajectory. A couple of issues are that the carousel will
 not be an axis and the motion component is not available during a tool
 change, also position overshoot (but eventually corrected) is
 acceptable. As is, the straight PID works okay, but if I increase the
 maximum carousel speed (very likely), the start/stop jerk may become a
 problem. Any pointers on how to attack this problem would be
 appreciated.

 --
 Kirk Wallace
 http://www.wallacecompany.com/machine_shop/
 http://www.wallacecompany.com/E45/index.html
 California, USA


 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2d-oct
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


dang its like an airpot!
limit3 examples in http://www.linuxcnc.org/docview/html/hal_hal-examples.html
hth tomp

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
On Fri, 2011-10-14 at 10:58 -0500, Chris Radek wrote:
 On Fri, Oct 14, 2011 at 10:50:54AM -0500, Jon Elson wrote:
 
  You cold build a stupid trajectory planner as a hal component.  It would 
  take a couple
  parameters such as max speed and acceleration, and a pin for final 
  position.  
 
 This is what limit3 does.

Thanks Andy, Chris, Jon.

I considered limit3 but I thought it would not limit the deceleration
until the endpoint was reached and the PID starts to call for it. This
would draw out an overshoot, which technically, is okay, but not very
elegant.

I suppose I could try two endpoints. One to start the deceleration, the
other the final stop point.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
On Fri, 2011-10-14 at 11:08 -0500, Thomas Powderly wrote:
... snip
 dang its like an airpot!
 limit3 examples in http://www.linuxcnc.org/docview/html/hal_hal-examples.html
 hth tomp

Thanks for the link. I haven't seen that one yet.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Chris Radek
On Fri, Oct 14, 2011 at 09:22:00AM -0700, Kirk Wallace wrote:
 On Fri, 2011-10-14 at 10:58 -0500, Chris Radek wrote:
  On Fri, Oct 14, 2011 at 10:50:54AM -0500, Jon Elson wrote:
  
   You cold build a stupid trajectory planner as a hal component.  It would 
   take a couple
   parameters such as max speed and acceleration, and a pin for final 
   position.  
  
  This is what limit3 does.
 
 Thanks Andy, Chris, Jon.
 
 I considered limit3 but I thought it would not limit the deceleration
 until the endpoint was reached and the PID starts to call for it. This
 would draw out an overshoot, which technically, is okay, but not very
 elegant.

No, on the contrary, it does exactly what you want.  It will stop
exactly at the destination endpoint without violating the given
constraints of position and derivatives.  This of course means it
has to start decelerating before reaching the endpoint.


   limit3 - Limit the output signal to fall between min and max,
   limit its slew rate to less than maxv per second, and limit its
   second derivative to  less  than maxa per second squared.  When
   the signal is a position, this means that the position,
   velocity, and acceleration are limited.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
On Fri, 2011-10-14 at 11:47 -0500, Chris Radek wrote:
... snip
 No, on the contrary, it does exactly what you want.
... snip

Great, thanks. I'm on my way to the shop to try it out.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread andy pugh
On 14 October 2011 16:15, Kirk Wallace kwall...@wallacecompany.com wrote:

 the start/stop jerk may become a problem.

Actually, this is possibly a case where you do want jerk-limited (rate
of change of acceleration) limiting, and that would require the
as-yet-unwritten limit4 HAL function.
jerk-limited motion ought to rattle the tools round in the carousel less.


-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Can someone make a Mesa 7i43 firmware load for me?

2011-10-14 Thread Tom Easterday
Hi,
Peter Wallace built a custom firmware load for my 7i43 card a while back.  I 
want to make some slight changes to it and Peter is on vacation.  Is someone 
else set up to build them that could help me out?  I can send a modified .vhd 
file...
Thanks,
-Tom
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
On Fri, 2011-10-14 at 18:22 +0100, andy pugh wrote:
 On 14 October 2011 16:15, Kirk Wallace kwall...@wallacecompany.com wrote:
 
  the start/stop jerk may become a problem.
 
 Actually, this is possibly a case where you do want jerk-limited (rate
 of change of acceleration) limiting, and that would require the
 as-yet-unwritten limit4 HAL function.
 jerk-limited motion ought to rattle the tools round in the carousel less.

The original carousel used a Geneva drive:
http://www.wallacecompany.com/machine_shop/Shizuoka/atc_manual/bandit_changer-0067.png
 

which would start/stop for each pocket and move in one direction. If one
wanted to go from T1 to T24, it would rattle the tools 24 times. It
wasn't too bad and I suppose the tools would usually be in sequence, but
I think the upgrade will be worth it.

I went to the shop to install limit3, but got called away. Just in case
anyone is interested, I did take a few of pictures before I left:
http://www.wallacecompany.com/machine_shop/Shizuoka/100_1127-1a.JPG 
http://www.wallacecompany.com/machine_shop/Shizuoka/100_1131-1a.JPG 
http://www.wallacecompany.com/machine_shop/Shizuoka/100_1133-1a.JPG 

I tried to get a shot of the gear motor, but it is black and in a
shadow, so I need to get more light.

Now, I'm going back out to the shop, again.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Dave
On 10/14/2011 3:27 PM, Kirk Wallace wrote:
 On Fri, 2011-10-14 at 18:22 +0100, andy pugh wrote:

 On 14 October 2011 16:15, Kirk Wallacekwall...@wallacecompany.com  wrote:

  
 the start/stop jerk may become a problem.

 Actually, this is possibly a case where you do want jerk-limited (rate
 of change of acceleration) limiting, and that would require the
 as-yet-unwritten limit4 HAL function.
 jerk-limited motion ought to rattle the tools round in the carousel less.
  
 The original carousel used a Geneva drive:
 http://www.wallacecompany.com/machine_shop/Shizuoka/atc_manual/bandit_changer-0067.png

 which would start/stop for each pocket and move in one direction. If one
 wanted to go from T1 to T24, it would rattle the tools 24 times. It
 wasn't too bad and I suppose the tools would usually be in sequence, but
 I think the upgrade will be worth it.

 I went to the shop to install limit3, but got called away. Just in case
 anyone is interested, I did take a few of pictures before I left:
 http://www.wallacecompany.com/machine_shop/Shizuoka/100_1127-1a.JPG
 http://www.wallacecompany.com/machine_shop/Shizuoka/100_1131-1a.JPG
 http://www.wallacecompany.com/machine_shop/Shizuoka/100_1133-1a.JPG

 I tried to get a shot of the gear motor, but it is black and in a
 shadow, so I need to get more light.

 Now, I'm going back out to the shop, again.


The limit3 function is a very useful function.   I have it running 3 
axis on one machine at high speeds.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Source tree at server hacked

2011-10-14 Thread Sven Wesley
http://linuxcnc.org/hardy/dists/hardy/emc2.4-sim/binary-amd64/
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Source tree at server hacked

2011-10-14 Thread andy pugh
On 14 October 2011 23:17, Sven Wesley svenne.d...@gmail.com wrote:
 http://linuxcnc.org/hardy/dists/hardy/emc2.4-sim/binary-amd64/

I hope he is very proud of himself :-(
Tosser.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can someone make a Mesa 7i43 firmware load for me?

2011-10-14 Thread Ralph Stirling
 Hi,
 Peter Wallace built a custom firmware load for my 7i43 card a while back.  
 I want to make some slight changes to it and Peter is on vacation.  Is 
 someone 
 else set up to build them that could help me out?  I can send a modified .vhd 
 file...
 Thanks,
 -Tom

Tom, I just successfully built SVST4_12B.BIT today, so I believe I am all set 
up.
I didn't realize Peter was on vacation, though.  He responded to an email 
question
I sent him this morning.

If you send me your vhd file(s) and tell me which card (200K or 400K) you are
using, I'll try building a bitstream for you.

-- Ralph
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] M6 tool offset

2011-10-14 Thread Kasey Matejcek
Has anyone though about adding a line in the ini file for the M6 command so
one could run a file or even just the gcode commands so one may probe for
the tool height after the toolchange and store the height

Right now I have to add the line after each toolchange so this happens

It just would be nice if there was an option to do something like this for
those who have machine setup with a height probe or even some other options
that require a tool move

Or is there more to doing something like this? 

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Updated deb-package to run emc2-sim on 11.04

2011-10-14 Thread Sven Wesley
Guys,

I made a package to run the simulator on an 11.04-installation.
It's available for public download here:
http://dl.dropbox.com/u/45105575/emc2_2.4_SIM_for_U11.04.deb
A video of it running is here: http://www.youtube.com/watch?v=Gbax-BpokFg

I'll update the wiki as well, if there's any interest for the community to
keep the package somewhere else (like the cnclinux server) please copy. :)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] M6 tool offset

2011-10-14 Thread andy pugh
On 14 October 2011 23:30, Kasey Matejcek someo...@lkm.bz wrote:
 Has anyone though about adding a line in the ini file for the M6 command so
 one could run a file

Yes, I think it is only in master though:
http://git.linuxcnc.org/gitweb?p=emc2.git;a=commit;h=9b8a8af556ad36efd2bad7701e1c228cf9ab1ffa


-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Jon Elson
Chris Radek wrote:
 On Fri, Oct 14, 2011 at 10:50:54AM -0500, Jon Elson wrote:

   
 You cold build a stupid trajectory planner as a hal component.  It would 
 take a couple
 parameters such as max speed and acceleration, and a pin for final 
 position.  
 

 This is what limit3 does.
   
Yes, now that you point it out, it does exactly what is needed!  I 
hadn't realized
it would do all THREE parts of the problem.

Jon

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Source tree at server hacked

2011-10-14 Thread Jon Elson
Sven Wesley wrote:
 http://linuxcnc.org/hardy/dists/hardy/emc2.4-sim/binary-amd64/
   
I don't see anything unusual there, and nothing later than March 2011.

Did I miss it?

Jon

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Source tree at server hacked

2011-10-14 Thread Karl Cunningham
On 10/14/2011 07:33 PM, Jon Elson wrote:
 Sven Wesley wrote:
 http://linuxcnc.org/hardy/dists/hardy/emc2.4-sim/binary-amd64/

 I don't see anything unusual there, and nothing later than March 2011.

 Did I miss it?

You may have another chance here...

http://linuxcnc.org/hardy/dists/hardy/base/backup/main.jpg

Karl

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Toolchange with remapped codes - status (was: Re: M6 tool offset)

2011-10-14 Thread Michael Haberler
Kasey,

I've been working on this for a while. Here are two examples - a manual 
toolchange with tool length probe:

http://www.youtube.com/watch?v=Bg8b4OyRZXkfeature=mfu_in_orderlist=UL

M6 is handled by this NGC procedure: 
http://git.mah.priv.at/gitweb/emc2-dev.git/blob/5a7036b02e3ed2aad84cd82689f0df7a790fa162:/configs/sim/remap/manual-toolchange-with-tool-length-switch/nc_subroutines/manual_change.ngc

and a rack toolchanger:

http://www.youtube.com/watch?v=sOd_j7OlopEfeature=mfu_in_orderlist=UL
M5 is handled by these routines: 
http://git.mah.priv.at/gitweb/emc2-dev.git/tree/5a7036b02e3ed2aad84cd82689f0df7a790fa162:/configs/sim/remap/rack-toolchange/nc_subroutines

The branch supporting these features is in 
http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/remapping-preview-1
 - it is not merged into master yet, but I'm encouraging experienced users to 
experiment with it.

If this fits the bill, and you feel comfortable building EMC from source, drop 
me a note.

I keep formatted documentation around at: 
http://emc.mah.priv.at/docs/remap/html/remap/structure.html (I admit this is 
way too much detail for general use - I'll split this up into 'Configuring 
toolchange' and 'All the gory details' parts eventually).

- Michael


Am 15.10.2011 um 00:30 schrieb Kasey Matejcek:

 Has anyone though about adding a line in the ini file for the M6 command so
 one could run a file or even just the gcode commands so one may probe for
 the tool height after the toolchange and store the height
 
 Right now I have to add the line after each toolchange so this happens
 
 It just would be nice if there was an option to do something like this for
 those who have machine setup with a height probe or even some other options
 that require a tool move
 
 Or is there more to doing something like this? 
 
 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2d-oct
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] config without encoders

2011-10-14 Thread Tom Easterday
We are having some issues turning a servo motor with a Granite Devices drive 
and in the process accidentally fried our homemade differential to single ended 
conversion boards.  We ordered some parts to repair them and in the mean time I 
modified my hal config to ignore encoder feedback so we could continue to test 
other issues.   When we run above 2000ipm we have significant following error 
and the motor overshoots it's mark by a decent amount (say, an inch or so) and 
then comes back.  Shouldn't EMC think that commanded position and actual 
position are always in sync with the config below or am I missing something?

Could our Mesa cards be doing something wrong?


#***
#  AXIS Y
#***
# Step Gen signals/setup
setp   hm2_7i43.0.stepgen.01.dirsetup[AXIS_1]DIRSETUP
setp   hm2_7i43.0.stepgen.01.dirhold [AXIS_1]DIRHOLD
setp   hm2_7i43.0.stepgen.01.steplen [AXIS_1]STEPLEN
setp   hm2_7i43.0.stepgen.01.stepspace   [AXIS_1]STEPSPACE
setp   hm2_7i43.0.stepgen.01.position-scale  [AXIS_1]SCALE
setp   hm2_7i43.0.stepgen.01.maxaccel[AXIS_1]MAX_ACCELERATION
setp   hm2_7i43.0.stepgen.01.maxvel  [AXIS_1]MAX_VELOCITY
setp   hm2_7i43.0.stepgen.01.step_type0
setp   hm2_7i43.0.stepgen.01.control-type 0

net ypos-fb axis.1.motor-pos-fb   =  hm2_7i43.0.stepgen.01.position-fb
net ypos-cmdaxis.1.motor-pos-cmd  =  hm2_7i43.0.stepgen.01.position-cmd
net yenable axis.1.amp-enable-out =  hm2_7i43.0.stepgen.01.enable

Thanks,
-Tom


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wiring Standards

2011-10-14 Thread Przemek Klosowski
On Mon, Oct 10, 2011 at 8:29 AM, Dave e...@dc9.tzo.com wrote:
 A couple of years ago there was a company selling fused plugs in the US
 in the local Menards, but I haven't seen them sold since then.

FWIW, some (few) bathroom appliances (hair dryers, etc) have a GFCI
fuse in the plug.
As you can see from the GFCI I am talking about the US.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Carousel Motion

2011-10-14 Thread Kirk Wallace
On Fri, 2011-10-14 at 15:43 -0400, Dave wrote:
... snip
 The limit3 function is a very useful function.   I have it running 3 
 axis on one machine at high speeds.

I got it to work.
http://www.wallacecompany.com/machine_shop/Shizuoka/Carousel_Overview-1a.png 

limit3 doesn't really work the way I would think a limit function would
work, but it supplies just what I need very well. 

It took me way too many hours of tuning to figure out just what HALscope
was showing me, that being the motor coupler was loose. After tightening
it, it worked much better. I was expecting to need a hardware PWM
generator, but the software generator works well. I have a Pluto-P PWM
servo channel running my spindle, so I'll probably use another for the
carousel as other things get sorted out.

My encoder is from a broken Epson C80 printer. It has 4320 pulses per
revolution but no index. I don't always need an index, so I should look
for more C80's in my pile out back before it rains again. Free is good.

Homing will need to be worked out, or I could rig up an absolute
encoder. I found that if I setp encoder.0.reset 1, the carousel starts
rotating until I get it set back to 0, and of course the home position
is then lost. I suppose the procedure is to move the carousel to the
home position, disable the PWM output, then set and reset
encoder.0.reset, ensure the position command is 0, then enable the PWM
output. I seem to need to figure this stuff out the hard way.

I need to work more on parameters for setting gain and scales to make
sure I don't saturate or not leave any bandwidth unused from each
element in the chain (limit3, PID, PWMgen).

Next I'll need to get the T numbers mapped to the encoder positions and
get the gripper to work.

Thanks everyone for the help.

I'll get a video of the carousel when I get the camera figured out.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users