Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Viesturs Lācis
2012/4/21 Jon Elson el...@pico-systems.com: Stuart Stevenson wrote: Would a read ahead of 1000 lines be more time consuming than the NURB calculation? A modest NURBS surface could be scanned pretty quickly to find the sharp edges, if any.  1000 block lookahead may not be necessary, even 100

Re: [Emc-users] Relay driver not working - solved

2012-04-21 Thread Viesturs Lācis
2012/4/21 Kirk Wallace kwall...@wallacecompany.com: I'm just getting into the middle of this thread, but if I recall, the last time we visited this circuit we found two sets of datasheets for the same device with different pin outs. Maybe a multimeter could sort out the pins. Kirk, You have

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Bernhard Kubicek
On 4/20/2012 6:29 PM, Scott Hasse wrote: Unfortunately, this approach doesn't work well for things like plastic extrusion where it can be difficult to control the extrusion rate precisely. Repraps, etc are able to succeed in part because they take a very naive approach to trajectory

[Emc-users] Trajectory planning, Newbie pops in again...

2012-04-21 Thread Roger Holmquist
Noticed the lists persistent discussion of the LinucCNC trajectory planning functionality. As a system designer I'm curious about the mentioned rule ability to stop at end of next block and wonder what the rationale for such a rule consist of. As a programmer I would also find it convenient to

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread charles green
total lookahead is a boundless problem, just as creating a 3d preview of the commanded toolpaths is a boundless problem (the backplot). the controller on some level can handle the ngc file in its entirety, so why not deal with machine acceleration limits on the same level, or machine limits in

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Erik Christiansen
On 20.04.12 12:25, Jon Elson wrote: Stuart Stevenson wrote: Doesn't even G02/G03 result in a series of very small linear moves sent to the servo motors? Wouldn't a NURB conversion do the same thing Yes, in a way. But, the G02/G03 is known to be a single move, so there is no velocity

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Mike Cinquino
The cuttoff slide was air over hydrolic to make it move smoother, just?get rid of it and use a cut off for a lathe that way you can put a little chamfer on the OD before you part off. I will do that. Collet closer is air.Hope you have the solenoids for it because they keep the collet closed

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
17 квітня 2012 р. 19:23 Peter C. Wallace p...@mesanet.com написав: Did you verify the bit file md5 checksum? Yes, it's ok. There's some progress at last! Here's the simplified hal I try to check 7i39 loadrt trivkins loadrt motmod servo_period_nsec=100 num_joints=3 loadrt probe_parport

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
If you need any help I can try.I have 3 Hardinges with one that I am retrofitting Hardinge website has most of the old prints Good Luck Terry   - Original Message - From: Mike Cinquino mcinqu...@gmail.com To: emc-users@lists.sourceforge.net Cc: Sent: Saturday, April 21, 2012 8:36 AM

Re: [Emc-users] Relay driver not working - solved

2012-04-21 Thread gene heskett
On Saturday, April 21, 2012 10:02:54 AM Viesturs Lācis did opine: 2012/4/21 Kirk Wallace kwall...@wallacecompany.com: I'm just getting into the middle of this thread, but if I recall, the last time we visited this circuit we found two sets of datasheets for the same device with different

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Matthew Ireland
Terry, you sound very knowledgeable on the workings of the turret. I have an HNC that I successfully retrofitted. All works fabulously, except for a running fight with the turret. It will work perfectly one day, and fail to latch repeatedly the next. If it were reliable, this could be a production

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Viesturs Lācis
2012/4/21 Andrew parallel.kinemat...@gmail.com: setp hm2_7i43.0.3pwmgen.00.A-value 1 setp hm2_7i43.0.3pwmgen.00.B-value 0 setp hm2_7i43.0.3pwmgen.00.C-value 0 IMHO these will tell to apply current to a certain winding of the motor, so it will not move anywhere. You might try to setp

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sat, 21 Apr 2012, Andrew wrote: Date: Sat, 21 Apr 2012 17:11:51 +0300 From: Andrew parallel.kinemat...@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] BLDC

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 17:56 Viesturs Lācis viesturs.la...@gmail.com написав: 2012/4/21 Andrew parallel.kinemat...@gmail.com: setp hm2_7i43.0.3pwmgen.00.A-value 1 setp hm2_7i43.0.3pwmgen.00.B-value 0 setp hm2_7i43.0.3pwmgen.00.C-value 0 IMHO these will tell to apply current to a certain

[Emc-users] Motor controller in a 7x1* lathe, need schematic.

2012-04-21 Thread gene heskett
Hi all; I was able to find a schematic for one of the earlier controllers used in these machines, for one that had the external interfacing stuff on a daughterboard and I suspect it might be usable as a trouble shooting guide if it was printable. But that link isn't printable, for some reason

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
With dependable tool changes on a HNC. the stop latch (under the cover on the operator side of the carrage) is usually the thing to get right.Adjustments are made by removing the long black cover on the right side of the carrage.Under here there is a round plug with a hex socket,BUT remember to

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 18:06 Peter C. Wallace p...@mesanet.com написав: Yes that is correct but of course the three phase outputs of the bldc comp must connect to the 3 phase inputs of the 3ppwmgen and the proper init sequence must be triggered in the bldc comp (man bldc) The motor is moving

Re: [Emc-users] Motor controller in a 7x1* lathe, need schematic.

2012-04-21 Thread Kent A. Reed
On 4/21/2012 11:42 AM, gene heskett wrote: Hi all; I was able to find a schematic for one of the earlier controllers used in these machines, for one that had the external interfacing stuff on a daughterboard and I suspect it might be usable as a trouble shooting guide if it was printable.

Re: [Emc-users] the state of the Wiki

2012-04-21 Thread Kent A. Reed
On 4/17/2012 11:33 PM, Przemek Klosowski wrote: On Tue, Apr 17, 2012 at 11:18 AM, Kent A. Reedkentallanr...@gmail.com wrote: Speaking of the Wikinudge, nudge, wink, wink, it could use a lot more editorial work. Looking at the Recent Changes listing, I see the usual few suspects making

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Kirk Wallace
On Sat, 2012-04-21 at 09:17 -0700, Terry Christophersen wrote: With dependable tool changes on a HNC. the stop latch (under the cover on the operator side of the carrage) is usually the thing to get right.Adjustments are made by removing the long black cover on the right side of the

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Ian McMahon
I have somewhat unreliable tool changes as well. Sometimes it'll miss the change entirely and spin two or three revolutions before the ladder times out. Sometimes it seems like it pops the stop too early, and catches the turret in the wrong position. Often I'll hear what sounds like the stop

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sat, 21 Apr 2012, Andrew wrote: Date: Sat, 21 Apr 2012 19:38:15 +0300 From: Andrew parallel.kinemat...@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] BLDC

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 20:30 Peter C. Wallace p...@mesanet.com написав: if you have the parameters right, you may still have the phase rotatiom backwards, this can be fixed by swapping 2 motor leads. Thanks Peter, that is possible. Can I change something in hal to avoid swapping wires? The

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
Kirk is 100% correct, the o-rings need to be replaced once and a while.I would guess most didnt until something wouldnt work.It is a pain but if you only have to do it every 10 years or so it doesnt seem too bad. Like Kirk said make sure the stop prawl is what is stopping the turret it should

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
It would be interesting for someone to use HalScope and start rotating the turret and graph the magnetic sensor outputs.I think that they wont be perfectly spaced, it will be close but once I had all stations to work but one.(That was without the stop) That is why it is important to fire the

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Kirk Wallace
On Sat, 2012-04-21 at 13:26 -0400, Ian McMahon wrote: I have somewhat unreliable tool changes as well. Sometimes it'll miss the change entirely and spin two or three revolutions before the ladder times out. Sometimes it seems like it pops the stop too early, and catches the turret in the

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Jon Elson
Viesturs Lācis wrote: 2012/4/21 Jon Elson el...@pico-systems.com: Stuart Stevenson wrote: Would a read ahead of 1000 lines be more time consuming than the NURB calculation? A modest NURBS surface could be scanned pretty quickly to find the sharp edges, if any. 1000 block

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 21:00 Andrew parallel.kinemat...@gmail.com написав: if you have the parameters right, you may still have the phase rotatiom backwards, this can be fixed by swapping 2 motor leads. Thanks Peter, that is possible. Can I change something in hal to avoid swapping wires?

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Kirk Wallace
On Sat, 2012-04-21 at 10:55 -0700, Terry Christophersen wrote: It would be interesting for someone to use HalScope and start rotating the turret and graph the magnetic sensor outputs.I think that they wont be perfectly spaced, it will be close but once I had all stations to work but

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
Another way to tell if your stop is doing the job is turn down the pressure of your air supply and spin the turret at a different speed.this will tell if you are just timing the turret with the sensor and getting lucky or if you are using the stop correctly.slowing down the speed of the turret

Re: [Emc-users] Relay driver not working - solved

2012-04-21 Thread Jon Elson
Viesturs Lācis wrote: I just resoldered the same transistor for the base-collector-emitter pinout (collector in the middle, not base as I tried previously) and tested and it works. Great. If it has the same part number, it SHOULD have the same pinout! Any maker who does it differently

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sat, 21 Apr 2012, Andrew wrote: Date: Sat, 21 Apr 2012 21:30:11 +0300 From: Andrew parallel.kinemat...@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] BLDC

Re: [Emc-users] Relay driver not working

2012-04-21 Thread Jon Elson
gene heskett wrote: But then which of the other two are emitter and collector? This can usually be done with a DVM with diode test. Connect the meter between C and E, and then connect a resistor, like 22K Ohm between base and the suspected collector. Note the meter reading. If it is about

Re: [Emc-users] Hardinge HCNC Retrofit/Rebuild

2012-04-21 Thread Terry Christophersen
All these tests are how I did things with the origional control I dont know how many people on this list ran these with the old GEs, but I used to say a little prayer when I turned mine on, sometimes he would listen sometimes not. So whatever problem you have with a retrofitted one will pale in

Re: [Emc-users] Motor controller in a 7x1* lathe, need schematic.

2012-04-21 Thread gene heskett
On Saturday, April 21, 2012 01:55:08 PM Kent A. Reed did opine: On 4/21/2012 11:42 AM, gene heskett wrote: Hi all; I was able to find a schematic for one of the earlier controllers used in these machines, for one that had the external interfacing stuff on a daughterboard and I suspect

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 21:39 Peter C. Wallace p...@mesanet.com написав: Yes, until you get the commutation and PID right you are using your BLDC like a step motor (so dont leave it on if it does not work) You could also run from a low motor voltage until you get things working (say 5V) I use

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Viesturs Lācis
2012/4/21 Jon Elson el...@pico-systems.com: The real problem I see is that RATIONAL G-code that was correctly written to perform a particular operation cannot be executed as fast as the machine and drives COULD allow it to go, due to the stop on next block requirement. I agree. What I see the

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sat, 21 Apr 2012, Andrew wrote: Date: Sat, 21 Apr 2012 22:53:55 +0300 From: Andrew parallel.kinemat...@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] BLDC

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Stuart Stevenson
Gentlemen, Since we have discussed this so long I have remembered a project that would be similar and maybe be completed at the same time. I want to implement 5 axis cutter compensation. Currently, LinuxCNC's cutter compensation takes the cutter radius into consideration. This makes the

Re: [Emc-users] Relay driver not working

2012-04-21 Thread gene heskett
On Saturday, April 21, 2012 05:06:04 PM Jon Elson did opine: gene heskett wrote: But then which of the other two are emitter and collector? This can usually be done with a DVM with diode test. Connect the meter between C and E, and then connect a resistor, like 22K Ohm between base

Re: [Emc-users] Relay driver not working - solved

2012-04-21 Thread gene heskett
On Saturday, April 21, 2012 05:16:18 PM Jon Elson did opine: Viesturs Lؤپcis wrote: I just resoldered the same transistor for the base-collector-emitter pinout (collector in the middle, not base as I tried previously) and tested and it works. Great. If it has the same part number, it

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
21 квітня 2012 р. 23:04 Peter C. Wallace p...@mesanet.com написав: might try inverting the sign on your encoder scale (or bldc scale I already did that, with no success. But out af a sudden it works now. Though still unstable. Now tuning PID. What is minimum servo period for 7i43? I set 50

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sun, 22 Apr 2012, Andrew wrote: Date: Sun, 22 Apr 2012 00:42:18 +0300 From: Andrew parallel.kinemat...@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] BLDC

[Emc-users] LinuxCNC Sandybridge

2012-04-21 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Installed from the LinuxCNC live CD to my test Intel Sandybridge system (Intel DQ670W motherboard) and am having issues with networking. It appears the kernel is old enough to not recognize either the on-board GigE network port or to talk to the PCI

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread charles green
optimum value for planning ahead for a possible stop or maximum acceleration change: take current feed for current block and maximum possible accel of machine to get distance required for stop. then next N blocks that cover that distance, and apply appropriately modified feeds to them. think

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andrew
22 квітня 2012 р. 02:04 Peter C. Wallace p...@mesanet.com написав: Minimum period depends on how many I/O cycles you do and how much of the host cycles you are willing to burn up doing I/O. with the parallel ports I've tested with, I get between 3-6 Usec of I/O time for each 32 bit register

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Peter C. Wallace
On Sun, 22 Apr 2012, Andrew wrote: Date: Sun, 22 Apr 2012 02:20:51 +0300 From: Andrew parallel.kinemat...@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] BLDC

Re: [Emc-users] BLDC on 7i43 + 7i39 + linear motors

2012-04-21 Thread Andy Pugh
On 21 Apr 2012, at 18:30, Peter C. Wallace p...@mesanet.com wrote: if you have the parameters right, you may still have the phase rotatiom backwards, this can be fixed by swapping 2 motor leads. Actually, it is easier to use a negative encoder scale into bldc. In fact that will be

Re: [Emc-users] LinuxCNC Sandybridge

2012-04-21 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/21/2012 1:26 PM, Charles Steinkuehler wrote: Installed from the LinuxCNC live CD to my test Intel Sandybridge system (Intel DQ670W motherboard) and am having issues with networking. It appears the kernel is old enough to not recognize

Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-21 Thread Jon Elson
Viesturs Lācis wrote: What I see the big issue for solving this in trajectory planner or whatever _inside_ LinuxCNC is that I do not see, how to determine by some hard facts, what is the best way to determine the lookup amount. The number of blocks you need to look ahead is variable. The