Re: [Emc-users] Controlling a tool changer

2013-07-28 Thread Karl Cunningham
On 07/27/2013 04:12 PM, Kirk Wallace wrote: Karl kept his changer alone and wrote a comp to get his to work with LinuxCNC as-is. http://www.wallacecompany.com/machine_shop/Shizuoka/qd_atc_hal_ov-1a.svg http://www.wallacecompany.com/machine_shop/Shizuoka/qdtoolchange.comp A short word of

Re: [Emc-users] Knee mill w/ encoder on knee

2012-09-15 Thread Karl Cunningham
On 09/14/2012 12:47 PM, Stephen Dubovsky wrote: This all comes from thinking about manual machines w/ DROs. There are combiner boxes avail that take a scale on both the quill and knee and add/subtract them to feed into the DRO display. Some newer ones can do it internally I think. So it

Re: [Emc-users] Quick question about 7i37

2012-08-24 Thread Karl Cunningham
On 08/24/2012 07:13 AM, Viesturs Lācis wrote: Hello! I looked at 7i37 manual, but did not find it explained: How am I supposed to connect input signal from source, whose ground is connected to 7i37 power supply ground? Is it sufficient to connect only the signal wire, or must I connect also

Re: [Emc-users] usb hi devices

2012-07-31 Thread Karl Cunningham
We use USB keyboard and trackball, as well as USB interface to control panel switches and touchscreen. No problems so far, but we avoid plugging in flash drives while running a program. Karl On 07/31/2012 03:49 PM, jeremy youngs wrote: So ive been thinking (that might not be good :) in the

Re: [Emc-users] linux 10.04 install from usb

2012-05-15 Thread Karl Cunningham
I used UNetBootin to create a live USB stick on a Linux desktop machine. It can use the ISO or live CD as the source for the image. Karl On 05/15/2012 01:12 PM, dave wrote: Hi, Google is sometimes not my friend. Grump for an older guy. ;-) The idea is to install a linux from a live cd to at

Re: [Emc-users] Current Sensors

2012-03-18 Thread Karl Cunningham
On 03/18/2012 10:00 AM, Kirk Wallace wrote: Current can also be measured with an opamp measuring voltage across a current sense resistor, but I'm worried about a common mode voltage in the hundreds of Volts. Is there away to handle this? You not only have to withstand the CM voltage, you have

Re: [Emc-users] linuxcnc, possibly bug, or global isn't global

2012-03-06 Thread Karl Cunningham
On 03/06/2012 07:29 PM, gene heskett wrote: I have my doubts Kenneth. That var is used all the way thru the upper loop that does the roughing cuts, and then saved after the roughing cuts are finished, to serve as a reference for the starting position of the next, much finer cutting so it

Re: [Emc-users] VFD's Without Modbus?

2012-03-03 Thread Karl Cunningham
On 03/03/2012 03:48 PM, Kirk Wallace wrote: I'm just wondering, how many out there have VFD's without Modbus or other communication and might want it on their existing drives? We have an old Toshiba VFD without any communication bus. Modbus would be neat to use with it. Karl

[Emc-users] Program Stop Executes More Lines

2012-03-01 Thread Karl Cunningham
It appears that if a gcode program is stopped in the middle, some offsets from further down the program are being applied. I ran the test program below and stopped it during execution of line 7 (the G1 line). After this, when doing MDI movement or restarting the program, the G54 offset from

Re: [Emc-users] SJ200 VFD and Modbus

2012-02-03 Thread Karl Cunningham
On 02/03/2012 12:20 PM, Kirk Wallace wrote: I have some more thoughts on VFD components. My plan for my SJ200 component was to have a bare-bones version that let one operate speed, direction and maybe a fault signal, then a more complete version with more features, but still only those

Re: [Emc-users] Back to isolcpus=1, again...

2012-01-31 Thread Karl Cunningham
On 01/31/2012 08:10 AM, gene heskett wrote: What I think I've been saying is that we didn't know how it was working, everyone was convinced we would not see rtai activity in a cpu load report because they weren't seeing any, and that by forcing the issue to match our thoughts, a relatively

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Karl Cunningham
On 01/18/2012 12:41 PM, Lars Andersson wrote: This immediately gives a joint 3 following error even for a very small change. Can I work around this? The problem appears to be, as someone pointed out, that changing the scale factor also causes a step in the output due to a multiplying the

Re: [Emc-users] LinuxCNC: The new name of the Enhanced Machine Controller

2012-01-17 Thread Karl Cunningham
On 01/17/2012 07:31 PM, Jack Coats wrote: IMHO, we need to keep references to EMC and EMC2 on the web site as 'historical artifacts', and also reference the NIST project that started the initial 'Enhanced Machine Controller' project and named it. Like in

Re: [Emc-users] Touchy status-indicator pin?

2012-01-12 Thread Karl Cunningham
On 01/11/2012 08:39 AM, Chris Radek wrote: On Wed, Jan 11, 2012 at 08:19:33AM -0800, Karl Cunningham wrote: Hi Chris. Thanks for the reply. Below is what I get. This is on a simulator. EMC v2.4.6 is what's reported on the splash screen. I'm not sure where to find the touchy version; maybe

[Emc-users] Touchy status-indicator pin?

2012-01-11 Thread Karl Cunningham
help. Karl Cunningham -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution

Re: [Emc-users] Touchy status-indicator pin?

2012-01-11 Thread Karl Cunningham
On 01/11/2012 06:16 AM, Chris Radek wrote: On Wed, Jan 11, 2012 at 12:25:53AM -0800, Karl Cunningham wrote: I'm working on putting the Touchy interface on a machine. The documentation for touchy mentions the following hal pin: touchy.status-indicator is on when the machine is executing G-code

Re: [Emc-users] Touchy status-indicator pin?

2012-01-11 Thread Karl Cunningham
On 01/11/2012 08:39 AM, Chris Radek wrote: On Wed, Jan 11, 2012 at 08:19:33AM -0800, Karl Cunningham wrote: Hi Chris. Thanks for the reply. Below is what I get. This is on a simulator. EMC v2.4.6 is what's reported on the splash screen. I'm not sure where to find the touchy version; maybe

Re: [Emc-users] Hal Configuration available outside of axis?

2012-01-09 Thread Karl Cunningham
On 01/08/2012 05:08 PM, Dewey Garrett wrote: halshow.tcl is a tcl script, it doesn't seem to be set up currently to run as a executable but you can do it as follows from the command line: For a RIP build: $ cd your_build_directory $ source scripts/emc-environment $

[Emc-users] Hal Configuration available outside of axis?

2012-01-08 Thread Karl Cunningham
Can the hal configuration display in Axis (the one selected from the Machine menu) be used stand-alone? I'm using halmeter but like Axis' configuration display a bit better. TIA. Karl Cunningham -- Ridiculously easy

Re: [Emc-users] 3 phase power

2011-11-10 Thread Karl Cunningham
On 11/10/2011 06:50 PM, Brian May wrote: This is probably an easy question for alot af the people on the list. I have 3 phase power going to my vfd on my machine. I want to the use that same power to power all the 120 single phase components. (the dc power supply for the steppers and varios

Re: [Emc-users] integrating a spindle fault signal in a modular way?

2011-11-08 Thread Karl Cunningham
On 11/06/2011 08:36 PM, Scott Hasse wrote: It seems the normal way to do this would be to take the input to the existing estop-ext signal put that into an or or component and link that with the spindle fault and the link the or component to the estop-ext. However, that can't be done in a

Re: [Emc-users] Carousel Jogging

2011-10-21 Thread Karl Cunningham
On 10/21/2011 09:02 AM, Kirk Wallace wrote: I tried the Set Home button first, which simply put encoder.0.reset and encoder.1.reset on a pyvcp button. What happened was one encoder would reset a significant time latter than the other. PID would either see the position or the command change and

Re: [Emc-users] Carousel Jogging

2011-10-21 Thread Karl Cunningham
I see the first paragraph of my last post wasn't clear. Here it is again, hopefully more understandable. For homing, could you give the PID command a constant ramp (use the integ component?) until the home microswitch closes. At that point, save the feedback encoder's position as a constant

Re: [Emc-users] SSD problem?

2011-10-18 Thread Karl Cunningham
On 10/18/2011 02:34 AM, andy pugh wrote: My suspicion is is that I have worn out the SSD after a year of dozens of EMC2 compiles every night. (If I had known I was going to use the machine this way I wouldn't have used an SSD). Does this sound likely? Getting the data off the SSD ought to be

Re: [Emc-users] OT EMC on control signal

2011-10-16 Thread Karl Cunningham
On 10/16/2011 06:51 AM, Andy Ibbotson wrote: Hi Jan, Workshop is on a 20A spur, light come off the spur on a 5A spur. CNC system (controller and PC) are connected to a UPS with surge protection. I'll give your suggestions a try. Since the controller and PC are on an ups, try unplugging the

Re: [Emc-users] and now for something completely different---visualizing EMC2 configurations

2011-10-16 Thread Karl Cunningham
On 10/16/2011 06:07 PM, Kent A. Reed wrote: Your comment about hal files possibly being hierarchical or sequential is spot on. Handling multiple .hal files would be a trivial extension of my current script (love that Python!). When I first wrote down what I thought would be a useful set of

Re: [Emc-users] Carousel Motion

2011-10-15 Thread Karl Cunningham
On 10/14/2011 10:30 PM, Kirk Wallace wrote: 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

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

Re: [Emc-users] Need help with servo tuning

2011-10-09 Thread Karl Cunningham
On 10/08/2011 11:08 PM, Bruce Klawiter wrote: I unhooked the Y and Z axis amps and only had the X axis plugged into the DAC board and when running the X axis it still had random jerks. If you'd like to do some tests for the DAC-to-amp connection, you might try the following. Forgive me if

Re: [Emc-users] Need help with servo tuning

2011-10-09 Thread Karl Cunningham
On 10/09/2011 12:22 PM, Jon Elson wrote: On the Westamp A651, the SIG input just goes to a pot that goes to the velocity error amp summing junction. So, it should make little difference whether the input is open of shorted. I believe Bruce has run this test, I think with the inputs open.

Re: [Emc-users] Need help with servo tuning

2011-10-08 Thread Karl Cunningham
On 10/07/2011 08:48 PM, Bruce Klawiter wrote: That sounds as good as it is going to get. Bruce stated that the original machine couldhold .0005 tolerances on parts. I find this hard to believe with an encoder resolution of.0004. Maybe a good machinist could get it to make consistent parts

Re: [Emc-users] VFD Speed Input

2011-09-29 Thread Karl Cunningham
On 09/29/2011 06:24 PM, Kirk Wallace wrote: I'm trying to get my Shizuoka going after being idle during the Summer. Some of the parts had fallen off. So, in putting it back together I attended to an issue that bothered me from before. The SPI DAC I use to feed the 0-10 V input to the spindle

[Emc-users] Determine if a spindle speed change is from override?

2011-09-28 Thread Karl Cunningham
speed changes. Should this be evaluated over more than one program cycle to accommodate differences in timing between the two signals. Does anyone know a better way to do this? Thanks. Karl Cunningham -- All the data

Re: [Emc-users] Determine if a spindle speed change is from override?

2011-09-28 Thread Karl Cunningham
On 09/28/2011 01:56 PM, andy pugh wrote: On 28 September 2011 21:14, Karl Cunninghamka...@keckec.com wrote: I'm writing a user-space program to manage spindle speed on a machine with a VFD for the motor, and drive ratios set by belt and gear changes. This doesn't answer your question, but

[Emc-users] VIM syntax for comp source

2011-09-16 Thread Karl Cunningham
Does anyone have VIM syntax highlighting for editing comp hal component source code. Obviously C-language syntax highlighting goes a long way for this, but VIM highlighting seems to get confused with some of the comp specifics, especially the man-page documentation features. Thanks. Karl

Re: [Emc-users] M3/M4 and M5

2011-09-03 Thread Karl Cunningham
On 09/03/2011 12:37 PM, Viesturs Lācis wrote: Yes, You need to set spindle speed at least once in the code with S word. I also had this situation... I have a question, hopefully to start some discussion: How hard would it be to remove (at least with some special line in HAL or INI file)

[Emc-users] Status of iocontrol version 2

2011-08-31 Thread Karl Cunningham
All, I am working on a tool changer realtime component, and have run into problems with lack of fault handling that are described on the following page: http://wiki.linuxcnc.org/emcinfo.pl?ToolchangerProtocolProposal The above document says there is a demo config for iov2:

Re: [Emc-users] Status of iocontrol version 2

2011-08-31 Thread Karl Cunningham
Thanks. I see it now. Is iocontrol-v2 planned for inclusion in 2.5? Karl On 08/31/2011 08:21 AM, Michael Haberler wrote: You might checkout the iocontrol-v2 related files from master -Michael Am 31.08.2011 um 16:51 schrieb Karl Cunningham: All, I am working on a tool changer realtime

Re: [Emc-users] Mesa 5i23/7i33TA servo instability question

2011-08-18 Thread Karl Cunningham
Scott, You might check whether pncconf is producing the proper polarity in the INI file for INPUT_SCALE (for the encoder) and OUTPUT_SCALE (for the PWM servos). I believe there was a bug in an earlier version of pncconf. I ran into that and had to edit the INI file by hand to make both

Re: [Emc-users] Mesa 5i23/7i33TA servo instability question

2011-08-16 Thread Karl Cunningham
To the point, though, I am having one not-so-minor problem. When I enable the servos, they are not completely stable, and I'll get following error almost immediately after enabling them. They don't run away, but the encoders show them moving ever so slightly, and physically the motors

[Emc-users] Debounce within Hal Component?

2011-08-12 Thread Karl Cunningham
I'm designing a real-time hal component to control a Dana Summit tool changer, and there are a couple of hardware lines from the tool changer that feed signals back to the hal component. The lines come from relay contacts and will need to be debounced. I'm not sure whether to do the debouncing

Re: [Emc-users] Debounce within Hal Component?

2011-08-12 Thread Karl Cunningham
: On Fri, Aug 12, 2011 at 12:09:12AM -0700, Karl Cunningham wrote: I'm designing a real-time hal component to control a Dana Summit tool changer, and there are a couple of hardware lines from the tool changer that feed signals back to the hal component. The lines come from relay contacts

Re: [Emc-users] D510 dead?

2011-08-02 Thread Karl Cunningham
I recently had a motherboard that wouldn't boot because the BIOS battery was low, about 1.1V. Resetting the BIOS with the jumper didn't help but replacing the battery did. It wasn't one of these boards, but it might have the same characteristic. Karl Viesturs La-cis wrote: Hello, gentlemen!

Re: [Emc-users] Feed per rev (g95)

2011-07-30 Thread Karl Cunningham
I don't know if you're still trying to figure this out. What was the encoder scale set to and how many pulses per rev does the encoder put out. If you're using a quadrature encoder with 250 pulses/rev, the scale should be 16.67 = (250 pulses/rev) * (4 quadrature counts per pulse) / (60

Re: [Emc-users] OT -- Ethernet thermometer?

2011-07-22 Thread Karl Cunningham
On 07/22/2011 10:39 AM, Igor Chudov wrote: I would like to buy a thermometer that could serve the reading of ambient temperature over Ethernet. I searched and have not found anything with a sensible price (say, under $50). Any idea if such a thing exists? Netburner has serial-to-ethernet

Re: [Emc-users] Remote desktop

2011-07-20 Thread Karl Cunningham
Viesturs Lācis wrote: 2011/7/20 Viesturs Lācis viesturs.la...@gmail.com: BTW their first page mentions only windows and macs, but I hope that they are not that evil. Oh, no, they are evil! No Linux :(( I was offered to download a .msi file, which is some windows installer file. But I

Re: [Emc-users] Using a PC in extended temperature ranges and mobile application

2011-07-17 Thread Karl Cunningham
Dave wrote: I'd like to use as many off the shelf devices as possible - PC boards etc... if possible. Being a typical customer, they want to keep the costs down but they also want it to work and operate reliably. I've had good luck using conventional industrial controls on machines

Re: [Emc-users] Using a PC in extended temperature ranges and mobile application

2011-07-17 Thread Karl Cunningham
Jaap Stolk wrote: On Sun, Jul 17, 2011 at 1:19 PM, Dave e...@dc9.tzo.com wrote: When you say gel, do you mean the desiccant gel beads? No, like gene, I meant something like this:

Re: [Emc-users] Using a PC in extended temperature ranges and mobile application

2011-07-17 Thread Karl Cunningham
Jaap Stolk wrote: On Sun, Jul 17, 2011 at 1:19 PM, Dave e...@dc9.tzo.com wrote: When you say gel, do you mean the desiccant gel beads? No, like gene, I meant something like this:

[Emc-users] Manual Gear Change a la hal_manualtoolchange

2011-07-08 Thread Karl Cunningham
I'm thinking more about manual gear changes. Thinking about two parts to it -- one a user-space program similar to hal_manualtoolchange which runs in the background until needed, and the other a hal component running in the servo-loop. The user program would receive an array of gear ratios and

Re: [Emc-users] Newbie w/mobo question

2011-07-01 Thread Karl Cunningham
On 07/01/2011 09:34 AM, Jon Elson wrote: Dave wrote: I have used two different Sata compact flash adapters. Thanks much for the data! I'm not a fan of WD drives. I have had problems with them. Seagates seem to be much more reliable. Yeah, the WD drive on my kid's computer had a failure

Re: [Emc-users] INI file data for a user-defined command in gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 12:58 AM, Erik Christiansen wrote: While I've never bothered with python, it should be able to do what any other text processing language can. Before beginning to process the gcode on stdin, open the INI file for reading, find the required lines (preferably using regexes), and

Re: [Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 09:44 AM, Schooner wrote: If I have a program that gets executed via a user-defined M100 command, can that program get the INI file data somehow? Hi The info you need is in the main axis executable. Axis starts with a commandline argument specifying the path of the .ini

[Emc-users] How to re-enable updates

2011-06-21 Thread Karl Cunningham
I am working on an emc2 2.4 system that was installed with Ubuntu 10.04, but a distribution upgrade to 10.10 was done by mistake about 6 months ago. Emc2 is working fine but updates are not since 10.10 isn't supported in the linuxcnc.org repository. I plan to reinstall. I'll do a complete

Re: [Emc-users] How to re-enable updates

2011-06-21 Thread Karl Cunningham
On 06/21/2011 02:48 PM, Peter Loron wrote: On 06/21/2011 02:35 PM, Jack Coats wrote: One thought, that others will undoubtedly shoot down, For your 'temporary backup' solution, install dropbox. Put the files you want in there. Re-install your machine, then put drop box on and get your

Re: [Emc-users] SuperPID with EMC?

2011-06-21 Thread Karl Cunningham
One bit of caution. The speed controls I've seen built into power tools are not isolated from the line voltage. So expect to have to isolate (optical or otherwise) any control signal between its source and the speed controller in the tool. Karl Peter Loron wrote: I've been looking at those

[Emc-users] Python code to read gcode?

2011-06-09 Thread Karl Cunningham
I have need to parse a gcode file and I'd like to do it in Python. It seems that wheel must have already been invented and I'd rather not reinvent it. I got the source for grecode, written in c++. I could adapt from that but I think it would be overkill for the simple task I'm trying to do.

Re: [Emc-users] Python code to read gcode?

2011-06-09 Thread Karl Cunningham
On 06/09/2011 08:59 AM, Andy Howell wrote: On 06/09/2011 10:21 AM, Karl Cunningham wrote: I have need to parse a gcode file and I'd like to do it in Python. It seems that wheel must have already been invented and I'd rather not reinvent it. I got the source for grecode, written in c++. I could