Re: [Emc-users] Looking to replace $4000 machine for $400 machine with same results in emc :) yes its a strange title...
On Sun, Mar 04, 2012 at 02:02:51PM -0800, Peter C. Wallace wrote: > > Live configuration of a 5I25 is theoretically possible but fairly icky > requiring the configuration utility to save the BARs, reconfigure the chip > and then restore the BARs to their previous BIOs determined values. We do that at work (embedded Linux device) and it works fine as long as you can ensure any access to the BARs is stopped during the reconfiguration. -- Ben Jackson AD7GD http://www.ben.com/ -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] C Compiler
On Fri, Mar 02, 2012 at 12:21:15PM -0700, Cathrine Hribar wrote: > > > > The availability of an AVR GCC target is one of the reasons I switched to > > AVR. I don't regret it at all. > > Hi Ben: > > thanks for the info. What is an AVR? As in Atmel AVR. A series of 8-bit microcontrollers covering the same design space as the 8-bit PICs. An AVR is the basis of the popular Arduino development boards (which run C++ compiled with GCC). -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] C Compiler
On Fri, Mar 02, 2012 at 01:24:03PM -0500, gene heskett wrote: > On Friday, March 02, 2012 01:18:50 PM Cathrine Hribar did opine: > > > > Would u happen to know of a free ware compiler to use to program PIC's > > under linux? > > According to google, which was very very slow to respond just now, SDCC and > GPUTILS seem to be relevant. GPUTILS, seems to stand for Gnu Pic UTILS. > SDCC is a re-targetable small optimizing C compiler. SDCC is terrible at generating PIC code. I can't speak for it in general, but I've never compiled more than the most trivial program without running into critical bugs in the output (like mis-setting the bank). The availability of an AVR GCC target is one of the reasons I switched to AVR. I don't regret it at all. -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can I bounce this idea off the list?
On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: > > It is servo-thread only as it uses floating-point. I am not entirely sure why. Aha, that's why I added the laser-thread in my HAL: A base-period thread with FP allowed. On a modern CPU it's no big deal. -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can I bounce this idea off the list?
On Wed, Feb 08, 2012 at 07:08:51PM -0500, gene heskett wrote: > > > > https://github.com/bjj/2x_laser/blob/master/2x_Laser.hal > > I had to go back to the top of it where you renamed the BASE_THREAD to make > sense out of it, but now I see how its done. Kewl, thanks & bookmarked, > Ben. That's an additional thread. You just have to create threads in order from fastest to slowest, and loading EMCMOT creates the base and servo threads which closes the window for other fast threads. Knowing what I know now I may not have used a separate laser-thread, but there might be a reason I'm forgetting that I still do need it. Now that I know about the Mesa 5i25 I may end up redoing all that laser support for that card (with rastering support directly in the FPGA). Always another project. :) -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can I bounce this idea off the list?
On Wed, Feb 08, 2012 at 06:38:48PM -0500, gene heskett wrote: > > > > If you are using stepgen underneath you can capture the position at the > > base period instead. It's tricky in 2.4 (to cancel out the zero > > offsets) but I think someone brought out a simpler pin in 2.5. I use > > that trick to get fine positioning information for laser rastering. > > Since I am currently running the 2.6.0-master-rt, can you share the .hal > changes to do that? I don't remember the name of the signal offhand but it brings out an offset inside axis that reflects homing the axis. I'd have to look at the source to find the name for it, but in 2.4 I got it by subtracting axis.0.motor-pos-cmd from axis.0.joint-pos-cmd so I could add it back to stepgen.0.position-fb (aka axis.0.motor-pos-fb) so that I get the joint-pos at base period. You can see this in: https://github.com/bjj/2x_laser/blob/master/2x_Laser.hal look at xpos-fb, the calculation of motion-offset and raster-pos-fb. The motion-offset is actually calculated in the servo thread because it changes very infrequently (when homing, when it basically becomes the negative of the motor offset from zero when the machine was powered on). -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can I bounce this idea off the list?
On Wed, Feb 08, 2012 at 03:06:51PM -0500, gene heskett wrote: > > 2. The response to a true from the probe is at worst the servo threads lag > to get the stopping initiated. So I do 2 probes, one at say 4ipm, back up > a bit, 0.010 maybe, and redo it at say .2 ipm for a final G38.2 snapshot > capture in $5361-5369. If you are using stepgen underneath you can capture the position at the base period instead. It's tricky in 2.4 (to cancel out the zero offsets) but I think someone brought out a simpler pin in 2.5. I use that trick to get fine positioning information for laser rastering. -- Ben Jackson AD7GD http://www.ben.com/ -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Open letter to the EMC Board of Directors
On Wed, Jan 25, 2012 at 01:53:51PM -0700, s...@highlab.com wrote: > > I have a list of things *I* want to do to the linuxcnc project, but > I'd never dream of telling anyone to work on them. It's not my place > to tell folks what to do. Although I am not a contributor to LinuxCNC I have contributed to other open source projects. There are typically two tiers of involvement: A "core team" (by whatever name) has commit privileges and is responsible for deciding what patches are accepted. A larger team of interested users and developers contributes patches and ideas. When you're in that second group contributing patches it can be very frustrating to try to understand what the "core team" wants. For example, maybe I think that jogging while a job is paused is important so I make it possible and submit a patch. If the core team doesn't want that feature in the software then it will go nowhere. If it's a complex patch and no one on the core team is personally interested in taking responsibility for it then it will go nowhere. Making a roadmap and documenting the patch process will give potential contributors confidence to step up and start work. It's not telling people what to do, it's telling them what will be accepted into the product. -- Ben Jackson AD7GD http://www.ben.com/ -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Control a hot wire foam cutter using LinuxCNC?
On Fri, Jan 20, 2012 at 03:32:24PM +, andy pugh wrote: > > Sammel has been working on this: > http://www.youtube.com/watch?v=TWOzqALWa3c > patch: > http://sourceforge.net/mailarchive/forum.php?thread_name=4F154BE7.4010702%40gmx.de&forum_name=emc-developers You can set [TRAJ]COORDINATES to limit how many axes are displayed in the GUI (looks like several are unused in the demo). -- Ben Jackson AD7GD http://www.ben.com/ -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Changing the scale factor of an axis
On Wed, Jan 18, 2012 at 09:41:12PM +0100, Lars Andersson wrote: > I try manually while running: > > setp stepgen.3.position-scale 210 (it was was 200 before) > > This immediately gives a "joint 3 following error" even for a very small > change. That's because the absolute position of A just moved by a lot. Let's say you've extruded for 1000 A units. The motor is at 1000*200. When you change the scale it suddenly wants to be at 1000*210. If you didn't get the following error you would have instead gotten 1 stepper units of extrusion instantly to "catch up". > Can I work around this? You could put a gasket between the axis and stepgen to cancel out the error. I'm not sure how tricky that would be in practice. -- Ben Jackson AD7GD http://www.ben.com/ -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT: HDMI to VGA Was RE: Ideal Atom?
On Sat, Jan 07, 2012 at 11:37:17PM +, andy pugh wrote: > > HDMI to DVI-D should be easy then, and I would much rather drive an > LCD with DVI than pretend it has a raster and send VGA. Yes, if you want DVI-D (for LCD) then HDMI is just a cabling issue. The video signals are the same. (HDMI can also carry digital audio, and having one HDMI connector rather than DVI plus a digital audio connector is a few cents cheaper for the PC) -- Ben Jackson AD7GD http://www.ben.com/ -- 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, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT: HDMI to VGA Was RE: Ideal Atom?
On Sun, Jan 08, 2012 at 10:20:45AM +1100, Frank Tkalcevic wrote: > I've just googled for HDMI to VGA converter cables, and they seem cheap and > plentiful. > > Is this just a plug in solution? Is the HDMI signal VGA compatible? N. DVI has pins in it (the 4 more widely spaced ones in a square on one end) which carry VGA. Most (maybe all) display cards present normal analog VGA signals on those pins. There are devices ("DVI-D") which don't have those pins and are digital only. HDMI is a cable standard which carries the digital part of DVI. An HDMI to DVI cable (or converter) just picks up the digital lines (the dense grid of pins on the DVI connector). The VGA pins from DVI are not connected by an HDMI cable or connector. A "HDMI to VGA cable" could only work if the device (the motherboard in this case) had some special provision for putting VGA signals onto HDMI pins. I've never heard of that, but it may exist. Sort of like mice that supported USB or PS/2 with an adapter -- that adapter didn't convert from USB to PS/2, it just electrically connected the pins and the mouse itself was capable of doing either. -- Ben Jackson AD7GD http://www.ben.com/ -- 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, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] halui.axis.N.pos-relative
On Sat, Jan 07, 2012 at 11:09:45AM -0500, Tom Easterday wrote: > We were looking at some torch height control logic and need the commanded > relative position (work coordinates). According to the documentation > halui.axis.N.pos-relative claims to be this, but in fact it is not the > commanded position, it is the actual position (we can see the value > change by our dithering amount). We can use this, but would prefer the > commanded relative position. You can probably use the trick I used to extract the homing offset from axis. Observe that halui.axis.N.pos - halui.axis.N.pos-relative is "origin.0" If you then find halui.axis.N.pos-commanded - "origin.0" you should have the true "pos-relative" (I agree that the docs don't match the source) -- Ben Jackson AD7GD http://www.ben.com/ -- 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, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Riser for Intel Mini-ITX
On Wed, Jan 04, 2012 at 10:19:25PM +, andy pugh wrote: > I finally found a PCI riser that works with the mini-ITX Intel boards > (D510 and D525) > It puts the Mesa card over the motherboard, with the connectors facing up. With the Mesa board handling the low-level code is it possible to run the servo thread with onboard video? -- Ben Jackson AD7GD http://www.ben.com/ -- 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, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Effect of isolcpus boot parameter with D510 cpu ( was Re: hal taking machine down)
On Tue, Jan 03, 2012 at 02:11:46PM -0500, Kent A. Reed wrote: > > To follow up on this, I just ran 15-minute latency tests on my ASUS > AT5NM10-I board first with a stock boot and then with isolcpus=1 as a > boot parameter. I've posted my results in the table on the Wiki. That info is a great candidate for: http://wiki.linuxcnc.org/emcinfo.pl?TroubleShooting -- Ben Jackson AD7GD http://www.ben.com/ -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Probably Dumb questions of the week, about inkscape
On Thu, Dec 29, 2011 at 09:00:50PM -0500, gene heskett wrote: > > I haven't fooled with inkscape in probably 5 years, but back then I could > compose dots and bars and place then, however with NDI what the scale was, > it appeared to be completely arbitrary at the time. The default scale is usually pixels. You can change the display of it in a pulldown (just above the image area). You can change the default for your document in the document properties. I've made a template for my laser cutter which has a document in mm with a "page size" equal to the cutting area. > So, how do I draw these things to make up a PCB trace without those? To draw PCB traces I'd use one of the line tools on the left. One of them makes straight lines as long as you don't click and drag when placing points. Then bring up the format menu (ctrl-shift-F) and set the width and corner style to whatever you want (turn fill off). If you want traces to be outlines you can use "convert stroke to path" in the Path menu which will use your line width/join settings and create a new polygon where the filled area is what the stroked area of the line was. To edit lines use the second tool (below the "select" tool) which is the "node" tool". That will let you move intersections and add/delete them. > Also, to serve as the anchoring image, how can I get the hole pattern emc > has already drilled, into a format that shows the actual diameter of the > holes I have already drilled, into a format inkscape can import as dots of > missing material? You can import and scale an image. Put it on another layer and lock the layer (even make it partially transparent). If you have an Excellon drill file and some python programming expertise you could write a plugin to import them as circles. -- Ben Jackson AD7GD http://www.ben.com/ -- 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, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Idea for homing a gantry
Given a gantry mill in an XYYZ configuration: Instead of connecting that up as two axes Y and V instead drive Y and (Y+V). Y's limit will be the AND of limit switches on both sides (which must not be at the hard endstops), so that the Y home (first sequence) will drive the entire gantry until both sides are on their stops. Then V home will operate only on the V limit switch and remove the skew. After that you don't drive V. -- Ben Jackson AD7GD http://www.ben.com/ -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with HAL
On Wed, Oct 19, 2011 at 09:54:45PM +0300, Viesturs L??cis wrote: > But EMC starts with error: > > Debug file information: > HAL: ERROR: function 'offset.0' not found > avoti.hal:67: addf failed The offset component has two named threads, so you have offset.0.update-output offset.0.update-feedback -- Ben Jackson AD7GD http://www.ben.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] creating logic with lut5.9
On Mon, Oct 17, 2011 at 08:55:39AM +0200, Michael Haberler wrote: > lut5 is quite useful - I rather use that than gobs of and,or and not > > here's a trivial script to make it a bit easier to use: > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Lut5 Even simpler: i0 = 0x i1 = 0x i2 = 0xf0f0f0f0 i3 = 0xff00ff00 i4 = 0x and as long as you stick to bitwise operations (~ for not, |, &, ^) you can simply evaluate your expression directly: print '0x%08x' % ((i2 & i1) | (~i2 & i0)) -- Ben Jackson AD7GD http://www.ben.com/ -- 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] Well, that's a pain.
On Thu, Oct 13, 2011 at 02:42:30PM -0400, Kent A. Reed wrote: > > Looking at www.senderbase.org (Cisco's IronPort Security portal), I find > their reputation rating for www.linuxcnc.org is "poor". Why? It doesn't > say, specifically. I'm surprised this list was unaware that linuxcnc.org had been hijacked. When I was first setting up EMC2 I ran into that problem several times and had to rely on Google's cached results to read several of the pages. The home page had a ton of bogus keywords hidden at the bottom. It has obviously been cleaned up now but there should be no surprise that it got flagged in the meantime. -- Ben Jackson AD7GD http://www.ben.com/ -- 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] Not homing A axis
On Thu, Oct 13, 2011 at 07:09:33AM +1100, Frank Tkalcevic wrote: > I am setting up a gantry system with 4 axis. I have X,Y and Z set to home, > but my A doesn't have a home switch, so I set the home sequence to -1. I made that mistake too. What you want to do is set the HOME_SEQUENCE=0 but don't set the other parameters like HOME_SEARCH_VEL or HOME_LATCH_VEL. When every axis has a valid HOME_SEQUENCE the home button will become "home all" and the axes with no homing defined will simply reset to their defaults (I think that's HOME_OFFSET, not HOME) > Is there any .INI file setting that would automatically mark the axis as > homed? I don't think you can force an axis to be homed. If you 'setp' the 'homed' pin it's read-only. -- Ben Jackson AD7GD http://www.ben.com/ -- 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] Debounce error
On Mon, Oct 10, 2011 at 07:55:50PM +0300, Viesturs L?cis wrote: > > I loaded it with > loadrt debounce cfg=1 > > I connected its input and output pins. > I also configured delay with > setp debounce.0.delay 3 > > The result is that in HAL Config when input pin debounce.0.0.in goes "true", > but output pin debounce.0.0.out stays "false" forever. > What am I missing? Did you "addf" it to any threads? -- Ben Jackson AD7GD http://www.ben.com/ -- 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-d2dcopy1 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gantry machine with motorised chuck
On Thu, Oct 06, 2011 at 03:16:59PM +0200, Robert von Knobloch wrote: > > The 4th. axis (a revolving lathe chuck with it's axis parallel to 'Z') > has its XY cooridinates at machine X0Y0. I took a look in axis.py and I see where it rotates around C but there does not appear to be any support for supposing C is not at X0Y0Z0. -- Ben Jackson AD7GD http://www.ben.com/ -- 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-d2dcopy1 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Parallel port pin 1 toggles at startup
On Thu, Sep 15, 2011 at 06:13:20AM -0400, gene heskett wrote: > On Thursday, September 15, 2011 05:50:08 AM Ben Jackson did opine: > > > I have pin 1 of my parallel port connected to a relay that isn't driving > > anything yet. When I start EMC2 I hear it click on/off. > > My stepperconfig generated .hal says parport.0.pin-1 is estop_out. I > believe this is the commonly used pin for that. I am not using it for that. > > This might be happening with other outputs as well -- I always noticed a > > stepper clonk at startup which might be the drivers enabling briefly. > > More than likely, that is the drivers powering up the motors, and not > having a history of where in the microstep 'cycle' the motors may have been > when powered down or emc stopped, they instead go to a fixed, full step std Actually it's the reverse. The stepper drivers know the microstep, but with the enable low they are not driving the motors. They have relaxed to a full step. When EMC starts the pin tied to "amp-enable-out" is going high momentarily. That jerks the motors to the partial step and then they relax back again. After I posted this I read about the origin of "probe_parport" and now I am suspecting that module is responsible. I'll remove it temporarily to see next time I'm working on it. -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Parallel port pin 1 toggles at startup
I have pin 1 of my parallel port connected to a relay that isn't driving anything yet. When I start EMC2 I hear it click on/off. If I control it explicitly with M64/65 (or other logic) it works fine, but even if I do "setp parport.0.pin-01-out 0" it clicks at startup. I'm sure that's the pin because if I "setp ... 1" it only clicks once and stays on. This might be happening with other outputs as well -- I always noticed a stepper clonk at startup which might be the drivers enabling briefly. -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT: 3D Surface Generation
On Wed, Sep 14, 2011 at 08:22:27PM +0200, Fox Mulder wrote: > > Blender has a good exporter for STL format which many CAM programs can > load. I use blender myself and can say that it is quite intuitive to > model things with it. :) I'm not sure I've ever seen "blender" and "intuitive" in the same building, let alone the same sentence! Regarding STL: It is a collection of flat faces. If you are modelling something like a violin you will want to be very careful to choose your export settings so that there is enough detail in the faces without making the file so huge it becomes a problem to work on in later steps. -- Ben Jackson AD7GD http://www.ben.com/ -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] M67/68 and motion (was M3/M4 and M5)
On Sat, Sep 10, 2011 at 02:07:05AM +0100, Andy Pugh wrote: > On 10 Sep 2011, at 01:22, Ben Jackson wrote: > > > The problem > > for engraving is that a sequence G1 X1; M67 ...; G1 X2 ; ... to make a > > sweep across X does not just accelerate to peak X speed and stay there. > > It stutters along. Without the M67 the G64 Q- will see those are co-linear > > and produce a single, fast move. > > We think we fixed G67 on wednesday. > Are you saying it still does not work properly on a fresh build? Sorry, I wasn't even on the list on Wednesday. I'm working from an installed version of the Ubuntu live CD. If you think that a sequence of co-linear moves intermixed with M67 (or M62/63) will go at full speed in the current source I'm willing to build it and try. -- Ben Jackson AD7GD http://www.ben.com/ -- Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] M67/68 and motion (was M3/M4 and M5)
On Fri, Sep 09, 2011 at 11:58:56AM +0100, andy pugh wrote: > On 9 September 2011 07:34, Ben Jackson wrote: > > > When I tried it (before I discovered M67 wasn't working in 2.4) what I > > found was that the motion planner slows down at each segment making it > > useless for engraving. > > As far as I can tell from my tests M67 does not change the motion > speed. (Which is rather the point of M67 in contrast to M68). M67 is just synchronized with motion while M68 is immediate. The problem for engraving is that a sequence G1 X1; M67 ...; G1 X2 ; ... to make a sweep across X does not just accelerate to peak X speed and stay there. It stutters along. Without the M67 the G64 Q- will see those are co-linear and produce a single, fast move. (actually since M67 isn't implemented in 2.4 I'm sure I tried it with M62/63 when I did it) To engrave I'm now snooping axis.0.motor-pos-fb to synchronize with bitmap data flowing in via "streamer". A gcode subroutine just sweeps X back and forth over a region with no knowledge that the laser is firing. The same technique could drive laser power (via pwmgen) except that the PWM isn't fast enough. I'd need external PWM assistance. -- Ben Jackson AD7GD http://www.ben.com/ -- Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] M3/M4 and M5
On Fri, Sep 09, 2011 at 12:48:25AM +0100, andy pugh wrote: > > As of yesterday, M67 is working (in the 2.5 branch and Master), if you > need to output an analogue value synchronous to motion. > (It had been quietly documented but non-functioning for quite a long time) > This is probably the way to go for analogue laser engraving, less so > for cutting. When I tried it (before I discovered M67 wasn't working in 2.4) what I found was that the motion planner slows down at each segment making it useless for engraving. My theory (which I haven't verified in the code because it's a bit of a maze to the uninitiated!) is that the G64 support for making all those straight movements into a single pass is defeated by the M commands between the consecutive X moves. Right now I'm doing bitmap engraving using streamer + HAL magic inspired by the Hacklab laser setup. Power is set by M68 and is constant for the entire job (at least for a single engraving). Now that I know more HAL magic I could see setting up M3 Sxxx to drive the PWM instead. -- Ben Jackson AD7GD http://www.ben.com/ -- Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] M3/M4 and M5
On Thu, Sep 08, 2011 at 04:05:31PM -0700, Cliff Blackburn wrote: > I think you just need to issue a spindle speed command greater then zero > with your M3 command. > > > net spindle-on<= motion.spindle-on > > net spindle-on => parport.0.pin-14-out Yes, I've just done this myself for a laser cutter. `M3 S1' is sufficient. Originally I used M62/63/65 alone but the spindle-on interacts nicely with job start/stop whereas a digital output will happily stay on. My HAL has several ways to turn the laser on now which go into a lut5 that uses motion.spindle-on as a master enable. -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can external commands like M101 read or set #1 parameters?
On Thu, Sep 08, 2011 at 11:19:01PM +0100, andy pugh wrote: > On 8 September 2011 02:11, Ben Jackson wrote: > > Is it possible to make a M101 type script that reads or writes `#1' > > parameters? > > You might be able to do something with the Gcode analogue inputs (M67) > which can be set with halcmd setp, but it is far from elegant. I did notice those were visible (via emc.stat()) and settable on both sides. It doesn't seem to be possible to get the analog values inside the gcode (to drive a O subroutine) though. Right now what I'm doing is passing a lot of parameters in a `O- call' because those are much more flexible than M101 P/Q. The gcode subroutine makes multiple M101-style calls to accumulate the parameters on the outside. No data can flow back from M101 this way, though. As I mentioned in another question that also interferes with my plan to find the M101 comment to use as a string argument. -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Ways to get additional arguments (strings!) to M101 etc
I was using emc.stat().file and .current_line from a M101 script to find the M101 line and extract the comment (similar to `M1 (hello world)' notifications). This was working fine until I followed that with a `O123 call' and then sometimes .file is "123.ngc" although .line is still correct. I think what I see in .file is dependent on whether there is motion at the time of the `O123 call'. I would really like to pass a string to M101 (a filename) and I would also like to be able to use .file to get a base path for the .ngc to help locate the specified file. However the M101 works in conjunction with the subroutine in the other file so it will be followed by `O- call'. I'd rather not put something in between (and some attempts with G4 dwell didn't help, either in the top .ngc or the 123.ngc sub file). -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Can external commands like M101 read or set #1 parameters?
Is it possible to make a M101 type script that reads or writes `#1' parameters? I'm trying to avoid repeating myself between a M101 script I need to invoke and a subroutine I'm invoking with `O- call'. There are also things I'd like to supply externally (eg you could imagine a M101 that pops up a prompt for a size and then injects that back into the script). I have tried emc.command().mdi(...) but of course that is rejected in auto mode and I'm not sure what will happen if I change modes while the top .ngc is executing just so my M101 can evaluate some commands. -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Order of function (comp, and, or, lut5, etc) evaluation
Are functions like comp and lut5 evaluated in the order of 'addf' or are there other factors (like device-num)? If I create an extra thread with period1=BASE_PERIOD before `loadrt motmod` will all of its functions evaluate before base-thread? Is there any purpose in creating such a thread or should I just put everything at that interval into base-thread? -- Ben Jackson AD7GD http://www.ben.com/ -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users