Re: [Emc-users] Lube Pump Duty Cycle...

2012-04-09 Thread Andy Pugh
On 9 Apr 2012, at 10:03, Dave e...@dc9.tzo.com wrote: That is about 4 rungs of ladder in Classic ladder. Two timers, one timer times out and starts the second one. When the second timer times out it opens a NC contact that feeds the first timer. Or a low frequency PWMgen (running in

Re: [Emc-users] German Docs

2012-04-09 Thread Andy Pugh
On 9 Apr 2012, at 10:01, Chris Radek ch...@timeguy.com wrote: Please put this information on a wiki page. I looked for one and didn't find it, when I saw this question. There is http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Internationalization Which describes a different aspect of the puzzle.

Re: [Emc-users] Mesa counter card?

2012-04-09 Thread Andy Pugh
On 9 Apr 2012, at 11:20, Jeshua Lacock jes...@3dtopo.com wrote: I have two wires from my power source connected to the Geckos, two wires from the geckos to power the motor, the common wire, 5v and ground for the encoder, then encoder A/B going to the Gecko, and step/dir coming from the

Re: [Emc-users] Mesa counter card?

2012-04-09 Thread Andy Pugh
On 9 Apr 2012, at 13:09, Jeshua Lacock jes...@3dtopo.com wrote: All I know is I only have enough pulse bandwidth to run my servos quite slow. I thought this was based on how fast my computer can send pulses to the Geckos. If the drive is set to 1 pulses per inch and you are using

Re: [Emc-users] User Suggestions

2012-04-10 Thread Andy Pugh
On 9 Apr 2012, at 21:25, Jeshua Lacock jes...@3dtopo.com wrote: 3. I would love to have the option to make the 3D window full screen (maybe on a 2nd monitor too). I think you could do this with a GladeVCP panel and the Gremlin widget. Which is not to say that it shouldn't be possible to

Re: [Emc-users] Mesa counter card?

2012-04-10 Thread Andy Pugh
On 9 Apr 2012, at 18:05, Jeshua Lacock jes...@3dtopo.com wrote: So I had assumed that it was based on the encoder resolution. It possibly is, but indirectly. It may be that the drives move one encoder count per input step, so with high encoder resolution you run out of input (to the

Re: [Emc-users] EMC with MaxNC OL?

2012-04-10 Thread Andy Pugh
On 10 Apr 2012, at 08:14, Joseph Chiu joec...@joechiu.com wrote: I just managed to download the liveCD image last night, but realized I don't have a CDR to burn it to; so that's next on my list. You can use a USB stick, and I have, but the details elude me.

Re: [Emc-users] German-language documentation, was: Downloading Release 2.5

2012-04-10 Thread Andy Pugh
On 10 Apr 2012, at 11:18, Peter Blodow p.blo...@dreki.de wrote: I don't know what the English sentence means, it's hard to interpret (e.g., 'Coordinated mode' or 'Teleop mode'). In some cases, there may not even be a German word for lack of exact definition (what exactly is a joint?

Re: [Emc-users] Understanding the 5i25

2012-04-11 Thread Andy Pugh
On 11 Apr 2012, at 18:33, Erik Friesen e...@aercon.net wrote: What is controlled by firmware, and what is controlled by hostmot? The function of each pin is set by the firmware, except that the driver has the option to disable some functions and release the associated pins to be used as

Re: [Emc-users] Restarting from line number

2012-04-11 Thread Andy Pugh
On 11 Apr 2012, at 21:49, Jeshua Lacock jes...@3dtopo.com wrote: Is there any way to restart from line 20,000? Maybe. You will need to jog to somewhere where a move as specified in that line will be safe, then set feed rate, start the spindle etc in MDI, then left click the g-code line in

Re: [Emc-users] Restarting from line number

2012-04-12 Thread Andy Pugh
On 11 Apr 2012, at 22:31, Jeshua Lacock jes...@3dtopo.com wrote: G00 X2.1429 Y17.5769 Z-0.6793 Click on line 20001, and click Run from selected line? No, because that would leave the machine in G0 mode and you almost certainly want G1. Possibly you want to G0 to the position in 1

Re: [Emc-users] 3 phase bldc question

2012-04-14 Thread Andy Pugh
On 14 Apr 2012, at 13:38, Erik Friesen e...@aercon.net wrote: #1 Use more hall sensors and a sine lookup table. #2 Use hall sensors + angle sensing by current pulsing/reading. #3 Sync the halls with the encoder some way. (not a good option in my books) With a suitable drive the

Re: [Emc-users] 3 phase bldc question

2012-04-14 Thread Andy Pugh
On 14 Apr 2012, at 14:41, Erik Friesen e...@aercon.net wrote: #2 ? I am not familiar with any drive using this idea. It would require current sensors on each leg. I guess there is no new thing under the sun. I may have misunderstood. The bldc component can wiggle a motor to determine the

Re: [Emc-users] Wemotec Wt-SC25

2012-04-14 Thread Andy Pugh
On 14 Apr 2012, at 14:31, Gabriel Willen gabewil...@gmail.com wrote: ttp://www.wemotec.net/products/controller-modules/WT-SC25-Servocontroller.html does anyone know anything about this? On paper it sounds like a good fit for LinuxCNC, but I always get nervous when the product picture is a

Re: [Emc-users] Looking to replace $4000 machine for $400 machine with same results in emc :) yes its a strange title...

2012-04-15 Thread andy pugh
On 4 March 2012 23:49, Bart Libert (EducaSoft) educas...@gmail.com wrote: and doesn't it make a problem then that my pc has a maximum jitter of around 45000 ? My expensive one seems to be lucky as he stays very low in jitter, but the cheap ones I have go upto 45000 in jitter. You are making

Re: [Emc-users] Trans-Pacific sailboat race that Andy is involved in

2012-04-15 Thread andy pugh
On 15 April 2012 16:06, Dave e...@dc9.tzo.com wrote: Was your boat bashed around also from the same large waves or was that boat hit by a rogue wave? The other boats were further ahead and missed that particular weather system, though it was not a great deal more severe than what we had been

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

2012-04-15 Thread andy pugh
On 15 April 2012 16:15, Andrew parallel.kinemat...@gmail.com wrote: But the question is when to enable 3pwmgen. Now I just set it always enabled. That is probably OK. That's what I have with this config. Encoders behave strange, only +-0.005mm change with any movement, like only A or B is

Re: [Emc-users] Voltage to frequency for analog input

2012-04-15 Thread andy pugh
On 9 March 2012 03:46, Scott Hasse scott.ha...@gmail.com wrote: My question is about this analog input. One way to do this that I keep meaning to experiment with is to use a PWM output to create a reference voltage, and a comparator to detect whether it is above or below the voltage to be

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

2012-04-16 Thread andy pugh
2012/4/16 gene heskett ghesk...@wdtv.com: http://img35.imageshack.us/img35/3557/screenshot1kq.png(pins 12 and 13 supposed to be A and B) I think you might need to move the encoder more slowly, as you only have a 1mS sample rate available. It almost looks like there is no actual quadrature

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

2012-04-16 Thread andy pugh
On 16 April 2012 12:31, Andrew parallel.kinemat...@gmail.com wrote:  I tried that, but no quadrature pulses appear. That's very odd. Have you noticed the zoom and position sliders in Halscope? I'm afraid that this is 7i39 spoils the quadrature signal. It works OK for me. (I have a couple

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

2012-04-16 Thread andy pugh
16 April 2012 13:47, Andrew parallel.kinemat...@gmail.com wrote: I also have 2 of them, and all work the same. Then, it's either the cable (I'll check it again now. No contact? Unsufficient power?) or something's wrong with 7i39, can't imagine that. I think the pins are 10 9 8 7 6 5 4 3 2 1

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

2012-04-16 Thread andy pugh
On 16 April 2012 14:18, Andrew parallel.kinemat...@gmail.com wrote: Just connected the encoder directly to 7i39 board connector with very same pins it was successfully connected to 7i43. I am not clear what you are saying here? Where on the 7i39 are you connecting the encoder? -- atp The

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

2012-04-16 Thread andy pugh
On 16 April 2012 14:34, Andrew parallel.kinemat...@gmail.com wrote: It's a mystery, then. For fun, you could add a base thread (for extra halscope resolution) and a software encoder counter linked to the GPIO pins (you would need to add the 7i43 gpio read function to the base thread) -- atp

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

2012-04-16 Thread andy pugh
On 16 April 2012 14:34, Andrew parallel.kinemat...@gmail.com wrote: 9 - Z (always 4.2V) It might be that the encoder polarity is wrong. You could try inverting the relevant 7i43 pins (I think that is possible). -- atp The idea that there is no such thing as objective truth is, quite simply,

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

2012-04-16 Thread andy pugh
2012/4/16 gene heskett ghesk...@wdtv.com: Huh?  Then why does it give you a choice of which thread to sample at?  It does you know. :)  When looking at those signals I used the base_thread. There is typically no base thread on a 7i43 system, and even if you create one, the Hostmot2 read/.write

Re: [Emc-users] G540 Test Update

2012-04-16 Thread andy pugh
On 16 April 2012 17:58, Dave e...@dc9.tzo.com wrote: Perhaps Marris should consider adding this to the G540 and doing a USB port power steal to drive the electronics? Why not use some of the stepper motor power supply? (probably isolated and re-referenced to p-port GND using a DC/DC converter)

Re: [Emc-users] G540 Test Update

2012-04-16 Thread andy pugh
On 16 April 2012 19:43, Kirk Wallace kwall...@wallacecompany.com wrote: I'm still concerned that the G540's 10x microstepping would put it out of the parallel port arena. It seems a 5i25 would be more appropriate, plus taking into account other savings the 5i25 might provide, might make it

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

2012-04-16 Thread andy pugh
On 16 April 2012 20:29, Andrew parallel.kinemat...@gmail.com wrote: But it can't wait long, now I'll cut the cable and continue setting up 7i39 and asking questions. Cable is cheap. -- atp The idea that there is no such thing as objective truth is, quite simply, wrong.

Re: [Emc-users] C Compiler - MPLAB

2012-04-16 Thread andy pugh
On 16 April 2012 21:06, Dave e...@dc9.tzo.com wrote: Excellent point.  I already have plenty of things to fill my time.  :-) In that case, Arduino is a very convenient set of programmer, (free/Free Linux) compiler and proto-board, and isn't ruiniously expensive for one-offs. -- atp The idea

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

2012-04-16 Thread andy pugh
On 16 April 2012 22:10, Andrew parallel.kinemat...@gmail.com wrote: I'd appreciate any help, I would try: halrun source halfilename unlinkp hm2_7i43.0.3pwmgen.00.A-value unlinkp hm2_7i43.0.3pwmgen.00.B-value unlinkp hm2_7i43.0.3pwmgen.00.C-value setp hm2_7i43.0.3pwmgen.00.A-value 0.1 (and so

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

2012-04-16 Thread andy pugh
On 17 April 2012 00:08, Andrew parallel.kinemat...@gmail.com wrote: Well, I created very simplified HAL loadrt trivkins loadrt motmod servo_period_nsec=100 num_joints=3 loadrt probe_parport loadrt hostmot2 loadrt hm2_7i43 config=firmware=hm2/7i43-4/SVST4_4_7i39.BIT num_encoders=1

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

2012-04-16 Thread andy pugh
show parameters might indicate any fault statuses… -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. -- For Developers, A Lot Can Happen In A Second. Boundary is the first to

Re: [Emc-users] Hardinge HNC

2012-04-16 Thread andy pugh
On 17 April 2012 01:48, Ian McMahon facetious@gmail.com wrote: I'm using the original motors and original amps with good success. Indeed, there seems no reason to ditch the amps, you just need a good EMC-compatible analog output board. Either Pico PPMC and the Servo board:

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

2012-04-16 Thread andy pugh
2012/4/17 rob c crob...@live.ca: In the case the 7I39 motor is a stepper?, you should never hook a stepper motor up directly to a power supply it will destroy the motor. If you have encoders you need a micro-controller. 7i39 is a Mesa BLDC motor drive. In this particular case the motor is a

Re: [Emc-users] Hardinge HNC

2012-04-17 Thread andy pugh
On 17 April 2012 12:57, John Thornton bjt...@gmail.com wrote: I converted my CHNC a while back with a Mesa 5i20 + 7i33TA + 7i37TA cards. My CHNC uses encoders so that part was easy... as I understand the HNC has resolvers so you need an additional card for that There is support for the Mesa

Re: [Emc-users] machine shop advice

2012-04-17 Thread andy pugh
On 17 April 2012 14:02, Erik Friesen e...@aercon.net wrote: Everything else ended up with 1/8 radius. In that case you need to draw it with a 1/8 radius, or the machine shops will quote for the part as-drawn, and you will be paying a lot more for difficult machining that you don't need. I see,

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

2012-04-19 Thread andy pugh
On 19 March 2012 02:17, Steve Blackmore st...@pilotltd.net wrote: Effectively LinuxCNC only looks ahead one line. This rather depends on what you mean by Look Ahead. One decision that I think might adversely affect LinuxCNC is that as far as I know LinuxCNC will always move in such a way as to

Re: [Emc-users] 2 issues with LinuxCNC

2012-04-19 Thread andy pugh
On 19 April 2012 13:20, Viesturs Lācis viesturs.la...@gmail.com wrote: First is that the machine has only servo thread and servo period set at 50 ns (running at 2 kHz). About a minute after starting LinuxCNC, I get realtime error, check dmesg for details. I get this with a particular USB

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

2012-04-19 Thread andy pugh
On 19 April 2012 14:04, Stephen Dubovsky smdubov...@gmail.com wrote: But I see how it might be a limiting factor for a modern Hass class speed machine w/ massive spindle hp and feed rates possible when profiling. It shouldn't be a limit on any machine with decent G-code. I am describing a

Re: [Emc-users] 2 issues with LinuxCNC

2012-04-19 Thread andy pugh
On 19 April 2012 15:53, Viesturs Lācis viesturs.la...@gmail.com wrote: Yes, it actually was watchdog. I saw in dmesg that it had bit after I increased the servo period from 500 us to 750 us, but completely forgot about the timeout, which also was set at 500 us. That's probably over-cautious.

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

2012-04-19 Thread andy pugh
On 19 April 2012 16:13, Stephen Dubovsky smdubov...@gmail.com wrote: For 3d profiling CAM usually writes the g-code.  I don't know anyone who would hand calculate tens of thousands of little segments:)  As such, I don't know that its necessarily poor quality.  It has to generate as many

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

2012-04-19 Thread andy pugh
On 19 April 2012 18:44, Steve Stallings steve...@newsguy.com wrote: There are many cases where short segments are currently the only workable solution. Among these: ... 2) The path is curved, but not a true arc. It could be   an oval, an ellipse, or even a spline or nurbs path. I _think_

Re: [Emc-users] Nonplanar arcs

2012-04-19 Thread andy pugh
On 19 April 2012 19:57, Chris Radek ch...@timeguy.com wrote: That is just the worst problem.  Your system doesn't uniquely identify any arc.  For every start, center, end points there are a pair of arcs that share the points.  This is why we have G2/G3.  If you don't have a normal vector you

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

2012-04-20 Thread andy pugh
On 20 April 2012 07:53, Viesturs Lācis viesturs.la...@gmail.com wrote: The only thing I do not get, is how to do the reverse math - describe a line, if (a lot of) points on it are provided. It does not seem to be problem finding formulas on the web to calculate a coordinates of a point on a

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

2012-04-20 Thread andy pugh
On 20 April 2012 06:42, Scott Hasse scott.ha...@gmail.com wrote: Rather than trying to solve this problem in a million places not under our control, doesn't it make sense to try and solve it properly in one place and look more closely at using more than one line for look ahead? As I said

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

2012-04-20 Thread andy pugh
On 20 April 2012 09:52, Erik Christiansen dva...@internode.on.net wrote: But isn't the LinuxCNC dictum Must be able to come to a dead stop within the current line segment unnecessary and unhelpful when following a piecewise linear approximation of a smooth curve? Actually, I am unclear if this

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

2012-04-20 Thread andy pugh
On 20 April 2012 11:51, Michael Haberler mai...@mah.priv.at wrote: 'queue' is a bit of a misnomer - these are basically ad-hoc polylines extending beyond a single gcode line to retain history, It seems I might have been misunderstanding how LinuxCNC works. I thought that the G-code was

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

2012-04-20 Thread andy pugh
On 20 April 2012 14:57, Stuart Stevenson stus...@gmail.com wrote: Why cannot the control handle the code without the need to filter the short lines into a more usable form? Because _those_ straight lines are a list of moment-by-moment axis positions, incorporating acceleration and velocity

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] Relay driver not working

2012-04-22 Thread andy pugh
On 20 April 2012 23:20, Peter C. Wallace p...@mesanet.com wrote: A dozen or so shorted I/O lines is unlikely to cause FPGA damage  (ask me how I know) My 7i43 survived having _all_ the pins on one connector shorted to GND. It's distressingly easy to do if you crimp the ribbon cable a bit

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

2012-04-22 Thread andy pugh
On 22 April 2012 16:07, Michael Haberler mai...@mah.priv.at wrote: gents, you are busily inventing path queueing mechanism number 3. The existing ones are: CRC offset curve aka queued_canon, and NCD aka chained_points. I think CRC is Cutter Radius Compensation and NCD os Naive CAM detection?

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

2012-04-23 Thread andy pugh
On 23 April 2012 01:31, Steve Blackmore st...@pilotltd.net wrote: What the f^^^ is ja3? It isn't really of much relevance to the general user at the moment, but it is a development branch in which there is no longer an explicit link between axes and joints. There are places in the current

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

2012-04-24 Thread andy pugh
On 24 April 2012 03:19, Chris Morley chrisinnana...@hotmail.com wrote: And on the side of that who would/could document the innards of linuxcnc so some less skilled programmers could contribute. I think somebody is already looking at this. I think HAL as a whole would be pretty much just

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

2012-04-24 Thread andy pugh
On 24 April 2012 11:30, Les Newell les.new...@fastmail.co.uk wrote: An easily customizable GUI would be nice. Have a look at gscreen, which is a UI written by Chris Morley entirely in Glade

Re: [Emc-users] [Emc-developers] move-while-paused in action: video

2012-04-24 Thread andy pugh
On 24 April 2012 18:53, Michael Haberler mai...@mah.priv.at wrote: I decided to ignore the conventional wisdom that it cannot be done, and gave it a try. To be fair, it was only ever described as hard not impossible and I think you have made some changes to the underlying structure? Anyway,

Re: [Emc-users] [Emc-developers] move-while-paused in action: video

2012-04-24 Thread andy pugh
On 24 April 2012 21:04, Viesturs Lācis viesturs.la...@gmail.com wrote: Just a little note on the retracting and returning moves - I think that it needs to move the tool out of material along the central axis of tool (usually that is parallel to Z, but for 5 axis situations it would differ) I

[Emc-users] GladeVCP / File Selector Button

2012-04-24 Thread andy pugh
I am struggling with the file selector button Glade widget. I don't seem to be able to figure out how to extract the selected filename as a string into code, or how to set up a file filter. Has anyone managed to do that? I have a feeling I might have to attach a file select dialogue, and get

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread andy pugh
On 25 April 2012 02:38, Chris Morley chrisinnana...@hotmail.com wrote: I am struggling with the file selector button Glade widget. I don't seem to be able to figure out how to extract the selected filename as a string into code, or how to set up a file filter. What language? c or python?

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread andy pugh
On 25 April 2012 02:29, Dave e...@dc9.tzo.com wrote: Can you look at the Gscreen python file to see how Chris did that? Not at the moment. I thought it was one of the heads at http://git.mah.priv.at/gitweb/emc2-dev.git but I can't see it there. -- atp The idea that there is no such thing as

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread andy pugh
On 25 April 2012 13:32, Michael Haberler mai...@mah.priv.at wrote: Can you look at the Gscreen python file to see how Chris did that? http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/gscreen_master I _think_ that uses a generic button which calls hal_action_open, which in turn

Re: [Emc-users] [Emc-developers] move-while-paused in action: video

2012-04-25 Thread andy pugh
On 25 April 2012 15:44, Kenneth Lerman kenneth.ler...@se-ltd.com wrote: A new HAL component could connect to N jog inputs (one for each axis). In feed hold mode, the joggers would become active. The new component would pass the jogs as offsets to the various axes and *memorize* the jogs in

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread andy pugh
On 25 April 2012 14:52, Daniel Rogge dro...@tormach.com wrote: You must define a callback associated for the gtk.filechooser's file-set signal. Yes, I have that as a callback for the filechooserbutton. So far it simply prints Yippee!  In the call back, use widget.get_filename() to return

Re: [Emc-users] [Emc-developers] move-while-paused in action: video

2012-04-25 Thread andy pugh
On 25 April 2012 17:58, Michael Haberler mai...@mah.priv.at wrote: I don't think kernel memory is all that cheap either, and the component would have to kmalloc the correct amount ahead of time. I dont see a compelling reason for such a component to be in-kernel, I tend to forget that

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread andy pugh
On 25 April 2012 17:10, Daniel Rogge dro...@tormach.com wrote: I don't know about the filter, but the filechooser button works fine. Thanks for the help, I seem to have what I want now. def __init__(self, halcomp, builder, useropts): self.fb =

Re: [Emc-users] Bldc_Hal

2012-04-26 Thread andy pugh
On 26 April 2012 13:01, Gabriel Willen gabewil...@gmail.com wrote: Is it supposed to generated sinus pwm signals on the outputs or is this a middle man for another price of hardware that would generate the pwm. No, bldc doesn't generate PWM, it generates amplitudes for a PWM generator based

Re: [Emc-users] Limit max jog rate

2012-04-26 Thread andy pugh
On 26 April 2012 14:01, Mike Bennett mjb1...@gmail.com wrote: I'm planning to wire my limit and estop switches to a relay that will cut power to the spindle, disable the stepper drivers and inform Linux CNC that an estop has occured.  I want do this this as otherwise there may be no way to

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-26 Thread andy pugh
On 26 April 2012 17:25, Daniel Rogge dro...@tormach.com wrote: I don't think there's much more you can do to make it neater. If I may be forgiven for mentioning it, in VB the format would be something like def __init__(self, halcomp, builder, useropts): fb =

Re: [Emc-users] Bldc_Hal

2012-04-27 Thread andy pugh
On 27 April 2012 02:38, Gabriel Willen gabewil...@gmail.com wrote: Yes i have seen that video, i actually commented on it asking for the sketch.  I haven't heard from him though so i assume he either doesn't want to share it or hasn't checked the comments yet. It seems to have been flagged as

Re: [Emc-users] Mesa card help

2012-04-29 Thread andy pugh
On 29 April 2012 15:07, Scott Hasse scott.ha...@gmail.com wrote: You'll also want to determine if your servo amps are running in torque mode or velocity mode, If the motors have tachometers then the drives must be working in velocity mode (and you probably want to leave the tachs fitted and

Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread andy pugh
On 2 May 2012 13:39, Andrew parallel.kinemat...@gmail.com wrote: #include rtapi.h /* RTAPI realtime OS API */ #include rtapi_app.h /* RTAPI realtime module decls */ My first thought was that the includes were not being found, but they clearly are, looking at the errors. When you get that sort

Re: [Emc-users] MDI losing queue buffer

2012-05-03 Thread andy pugh
On 3 May 2012 03:34, gene heskett ghesk...@wdtv.com wrote: For further reference on the issue, I formally ask you again to file a bug report. There is a reason for doing so - retaining history. Where? linuxcnc.org home page, click community and there is a link to the bug tracker in the

Re: [Emc-users] Use EMC as stand alone DRO?

2012-05-03 Thread andy pugh
On 3 May 2012 04:35, Erik Green erik.555.gr...@gmail.com wrote: Can I Use EMC as stand alone DRO with a set of glass scales and an Everything IO interface board? You don't need all of EMC2, you could just use a GladeVCP panel and HAL. The parport might well be fast enough, too. Write a HAL

Re: [Emc-users] MDI losing queue buffer

2012-05-03 Thread andy pugh
On 3 May 2012 18:46, gene heskett ghesk...@wdtv.com wrote: To submit a bug report, click [here] and got the add artifact page earlier this morning, but now that link seems to be completely broken. So, there is a bug with the bug tracker? How annoyingly recursive. -- atp The idea that there

Re: [Emc-users] hal 'net' command puzzler

2012-05-05 Thread Andy Pugh
On 5 May 2012, at 03:41, gene heskett ghesk...@wdtv.com wrote: arg[3], arg[4] arg[5] etc of a net commend can be repeated to add sending something from arg[2] to more than one load. But I can't name a previously used output and send it to the 2nd place it needs to go. Its s show

Re: [Emc-users] hal 'net' command puzzler

2012-05-05 Thread Andy Pugh
On 5 May 2012, at 13:46, gene heskett ghesk...@wdtv.com wrote: Which seems to say that the out1 name string in the first format, becomes the signal1 name string in the second format? I have no idea what you mean, but I think you have it wrong. signal1 will take the value of out1 and copy

Re: [Emc-users] hal 'net' command puzzler

2012-05-05 Thread andy pugh
On 5 May 2012 18:24, gene heskett ghesk...@wdtv.com wrote: So I cannot use that signal1 defined name as an 'out1' in another net statement, but must add the other targets/pins in the same line it is defined in. No, that is all wrong too. Every net command is followed immediately by a signal

Re: [Emc-users] hal 'net' command puzzler

2012-05-05 Thread andy pugh
On 5 May 2012 18:06, gene heskett ghesk...@wdtv.com wrote: And its long list of options is something that could be readily calculated from the thread pitch, clipping off the top and bottom 10% of to fit the usual USS and USF thread profile, s This would be less useful for those of us who only

Re: [Emc-users] hal 'net' command puzzler

2012-05-05 Thread Andy Pugh
On 5 May 2012, at 23:42, gene heskett ghesk...@wdtv.com wrote: I think I was in the devel branch, but similar. Right now g76 is waiting forever for the index pulse, which is not good, so I obviously mucked up something. encoder.0.index is visible in hal meter, but G76 can't see it. You

Re: [Emc-users] hal 'net' command puzzler

2012-05-06 Thread Andy Pugh
On 6 May 2012, at 08:25, Mike Bennett mjb1...@gmail.com wrote: 1. What is the scope of a signal name. Is it machine wide or limited to the Hal file it appears in? They are system-wide and are the only practical way to share data between HAL files. 2. If machine wide, are there existing

Re: [Emc-users] hal 'net' command puzzler

2012-05-07 Thread andy pugh
On 7 May 2012 00:09, Jon Elson el...@pico-systems.com wrote: If you have a quick-change toolpost, you should be able to set up X and Z offsets for each tool in the tool table. My QC tool holder isn't spectacularly repeatable, So I generally stop 0.5mm oversize, measure, then make the final cut.

Re: [Emc-users] hal 'net' command puzzler

2012-05-07 Thread Andy Pugh
Gene said: Whoever has the touch-off code box, it sure would be nice if when you called it up, it displayed the current value separate the input box. As is, I have to write it down, so I know where I am if I only need to adjust it say 0.0027 from where its at to get it exactly the

Re: [Emc-users] hal 'net' command puzzler

2012-05-07 Thread andy pugh
On 7 May 2012 15:59, gene heskett ghesk...@wdtv.com wrote: Yes, that is the insert style the Glanze uses.  80 degree rhombic, 7 degree rake etc.  Costs too much. :( I am not too fond of C***. They have the advantage that they face and turn equally well, but they don't miss the tailstock

Re: [Emc-users] hal 'net' command puzzler

2012-05-07 Thread andy pugh
On 7 May 2012 22:26, gene heskett ghesk...@wdtv.com wrote: Something like that, I've been measuring the diameter and dividing by 2, writing that down in case I need to tweak it, and entering it. If you are in G7 then there is no need to divide by 2 if you do it the way I do it. If I want 10mm

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread andy pugh
On 8 May 2012 04:18, Chris Radek ch...@timeguy.com wrote: I must say that most often what I do with touch off is to accept the default zero value because I want to set the system origin where the tool is.  I also frequently type +/- an edge finder or probe tip radius. In some cases, though,

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 01:01, gene heskett ghesk...@wdtv.com wrote: Lathe mode seems to default to G8, that is something I've not tweaked. Another man page to read... Maybe the RS274NGC_STARTUP_CODE entry in the INI file?

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 13:39, Dave e...@dc9.tzo.com wrote: On 5/7/2012 6:34 AM, Steve Blackmore wrote: I also have an 8 position Enco type auto tool changer ... I gave up after days of hal editing. If you want to resurrect that project. There are a couple of dedicated HAL components for that type of

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 16:32, gene heskett ghesk...@wdtv.com wrote: Maybe the RS274NGC_STARTUP_CODE entry in the INI file? Not used in mine, possibly not included because I could never get stepconfig to run, As far as I know, Stepconf doesn't add that. You would have to add it yourself, but it ought

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 20:45, gene heskett ghesk...@wdtv.com wrote: setp    pid.0.Pgain                     0 setp    pid.0.Igain                     1 setp    pid.0.Dgain                     1 setp    pid.0.maxoutput                 401 # to keep it from running away I know that I-only is what the

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:06, Dave e...@dc9.tzo.com wrote: You have no Pgain, but Igain and Dgain.  That's a problem.  An all I and D loop is almost always unstable. That depends…. For a spindle P gain is not much help, as you need a non-zero PID output even when at the set speed (and when the error

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:38, gene heskett ghesk...@wdtv.com wrote: I believe that FF0 + I is the way to go. WIth FF0 set to rpm/duty cycle and a much smaller I than you currently have to take up the error. Would that not require a dynamic, dependent on speed, FF0 then?  Since rps can easily go from

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:52, gene heskett ghesk...@wdtv.com wrote: Silly Q probably, but could the pid.0.command value also be sent to sum2.0.in0, and the pid.0.output sent to sum2.0.in1 to furnish the desired offset, allowing the pid module to work with a much more balanced (read closer to zero)

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 22:37, gene heskett ghesk...@wdtv.com wrote: On Tuesday, May 08, 2012 05:34:22 PM Peter C. Wallace did opine: From the pid man page:  pid.N.FF0 float rw              Zero order feed-forward term.  Produces a contribution to the output that is FF0 multiplied  by  the  commanded  

Re: [Emc-users] Joystick Pendant

2012-05-08 Thread andy pugh
On 8 May 2012 22:54, Mike Bennett mjb1...@gmail.com wrote: However I notice strange behaviour on start up.  I tracked this down to the fact that input.0.btn-joystick and input.0.btn-joystick-not were both false until the trigger is pressed the first time.  Is this normal?  I guess I can

Re: [Emc-users] PID controller Q's

2012-05-09 Thread Andy Pugh
On 9 May 2012, at 06:51, gene heskett ghesk...@wdtv.com wrote: pattern of narrow and wide threads in the final product. Watching the encoder on my scope, it looks very consistent, but the encoder.0.velocity output has wibbles of +-50% in its speed G76 doesn't use the velocity, it just

Re: [Emc-users] AC Servo Motor

2012-05-09 Thread andy pugh
On 9 May 2012 05:34, Mark Cason farmerboy1...@yahoo.com wrote: So there's no chance of using it for controlling an axis.  Oh well, No, I think you probably could control an axis with it. First thing to work out is what the little connector has on it. I would expect to see a red and a black for

Re: [Emc-users] Joystick Pendant

2012-05-09 Thread andy pugh
On 9 May 2012 06:36, Mike Bennett mjb1...@gmail.com wrote: For now just linking a button to perform touch off zero would be good, but I need a way to control which axis.  I have several buttons spare so I could use one for each axis. Touch-off is equivalent to G10, so you could link a

Re: [Emc-users] First cut

2012-05-09 Thread andy pugh
On 9 May 2012 06:55, Mike Bennett mjb1...@gmail.com wrote: https://www.dropbox.com/gallery/59884319/1/CNC%20Machine?h=c48cbb Good work. I note the presence of BS1363 mains plugs, so presume you are in the UK too? -- atp The idea that there is no such thing as objective truth is, quite simply,

Re: [Emc-users] Setting EPP Mode

2012-05-09 Thread andy pugh
On 9 May 2012 07:37, Jeshua Lacock jes...@3dtopo.com wrote: OK! Now I will start testing it. Anyone have an idea what to look for? In other words what would cause LinuxCNC to crash from the USC? It isn't crashing, I suspect, so muchas gracefully giving up. (segmentation fault is a crash,

Re: [Emc-users] Commutating Reactor

2012-05-09 Thread andy pugh
On 9 May 2012 13:12, John Thornton bjt...@gmail.com wrote: I have jacked with the caps on the phase converter and with it wildly out of balance been able to go from 0 - 6k rpm for a bit. That sounds like you can narrow it down to one leg of the reactor then, which is the weak leg in the

Re: [Emc-users] Commutating Reactor

2012-05-09 Thread andy pugh
On 9 May 2012 13:51, John Thornton bjt...@gmail.com wrote: I don't understand what you mean by weak leg? You said you had it wildly out of balance ? -- atp The idea that there is no such thing as objective truth is, quite simply, wrong.

<    1   2   3   4   5   6   7   8   9   10   >