[Emc-users] lathe project for sale
Hi all, I have a lathe project for sale (due to lack of time...). Images here: https://www.dropbox.com/sh/d5gl0ga35zljsdb/AAD_9FseS-Zx1VLwIkrjuub6a?dl=0 Located in Helsinki Finland. Northern Europe would be preferred especially for heavy items. In particular for someone building a linuxcnc-based lathe controller this includes a kit of parts that could be suitable: - mesa card with ribbon-cables and breakout-boards - pico systems brushless servo drives + 48VDC powersupplies - keling NEMA23 servos with encoders - 1.7 kW brushless spindle servo with brake, resolver, encoder (heavy!) - Bonmet servo drive for spindle servo (230VAC 1-phase input) - two jogwheels I want to get rid of this so make me your best offer for everything and we'll make a deal! follow-ups directly to me or to the linuxcnc forum (see recent post under "User exchange") thanks, Anders -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Cutsim update
Hi all, I was delighted to see that Kasuyasu Hamada has picked up my old cutsim work from 2011 and made it into a working 5-axis prototype application. It now looks like this: https://youtu.be/aSwDVi8W2XM and code over here: https://github.com/KASUYASU/cutsim It uses a linuxcnc-derived g-code interpreter in a crude way: the rs274 binary chews through the g-code and spits out canon-lines which are then used as input for the simulator. I don't have a lot of time to work on this myself but the code-base should be quite familiar so I can help if someone wants to contribute. I am interested in the low-level octree stock model and 3D representation - the stumbling hurdles for me earlier were UI-code, multithreading, and the g-code interpreter. I've posted this on g+ also in the hope that we'd find a team of programmers wanting to take this further. happy new year! Anders -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] open-source cam software thoughts and comments
Here's a summary of my programming projects: http://www.anderswallin.net/2014/02/opencamlib-and-openvoronoi-toolpath-examples/ no GUI, just python c++ modules, python scripts, and visualization with VTK. everything is quite experimental... Anders On Tue, Oct 21, 2014 at 2:35 PM, linden l...@island.net wrote: Hi, Do any of you use any of the 4 programs listed below? What other solutions are out there? I have come to the conclusion it would be nice to use some sort of tool rather than typing all the code out by hand. lol For little things its no big deal but I can see it getting old in a hurry. On an other note I have been playing with Freecad the last few weeks and am quite impressed with the part and part design tool bars any way the other features are still on my get to learn list. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] montec ?
This one? http://www.vitalsystem.com/web/motion/motion_controllers.php On Fri, Jun 13, 2014 at 10:38 AM, a k pccncmach...@gmail.com wrote: i remember there was motion board manufacturer MONTEC and i remember it was for 5 axis per board are they still in business? is was similar to mesa 5i20 i remember on emc2 2,2.5 was option for montec -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is there an open source program similar to Vericut?
BTW, the splitting is usually done with the octtree approach (which was mentioned before). It can still generate a huge amount of data. If you want a block of 10 split down to 1mil (0.001), or 4 orders of magnitude, then you need a tree-depth of 14. That would be worst case 10^12 leaf nodes, which is computationally unfeasible. Even a measly 1% fill is 10^10 leaf nodes, which no ordinary computer would want to deal with. My guess is that you could get max. ~2.5 orders of magnitude resolution for any result that should complete in the near future. The problem with a simple voxel model is that for a resolution r, the storage requirement scales with the volume as r^3 (or 1/r^3 depending on how you define resolution). Dan Heeks's cutting simulation uses this approach I think. http://code.google.com/p/voxelcut/ The adaptive approaches subdivide only when necessary, at the stock surface, and so in theory the memory requirement scales with the area or r^2. I'd suggest the future insanely-great linuxcnc cutting-simulator should allow for easily swapping out the stock-model / cutting-engine. The voxel approach might be faster but coarser, and we all have 32 gigs of RAM anyway right? For slower and more accurate work an adaptive octree might be preferable. I'm probably sounding like a broken record player, but I'll repeat anyway: what is needed now is a sound basic framework for pushing these ideas forward - the basic algorithms or individual parts already exist. we need: - a GUI that displays G-code in one window, and a 3D opengl view in another window. - play, pause, stop buttons that run the interpreter on said G-code, and produces internal 'canon' calls for the cutting-engine - a sound, minimal but complete, API for the cutting engine -- tool library (G-code does not define tools!) -- method for defining stock (G-code does not define stock!) -- 'canonical' G-code moves -- graphics output for the 3D view. probably vertex-arrays and polygon-arrays in memory that is shared between the cutting-engine and the 3D view. This should probably run in two or three separate threads, to keep the 3D view and G-code view/buttons responsive. Anders -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Is there an open source program similar to Vericut?
Hi all, I have a feeling many of these CAD/CAM things require more knowledge than fits in the average open-source developers brain. the code for my efforts is at: https://github.com/aewallin/libcutsim *your* help/patches is required with: - use of the linuxcnc g-code interpreter (through c++ or python). I don't think it makes sense to write a new g-code interpreter. Would it make sense to package the interpreter library into a separate .deb package, if there are other 'clients' than just linuxcnc? - GUI and 3D view based on polygon-arrays and vertex-arrays (I've used VTK, but something lower-level and faster might be better). I would suggest Qt for the GUI but opinions will differ.. - multi-threading so that the GUI remains responsive and the 3D view of the model updates while the simulation-engine runs - actual updates/improvements to the cutting-simulation engine: -- support for different shapes of cutters -- support for other G-codes than G1 -- data-structure and algorithm changes for e.g. Dual Contouring or one of the other improved isosurface extraction algorithms The README file lists a few references which explain most of the background. I will try to help and explain how the code works to anyone asking even semi-intelligent questions. regards, Anders Wallin On Mon, Nov 25, 2013 at 12:20 PM, Bertho Stultiens ber...@vagrearg.orgwrote: http://www.anderswallin.net/tag/cutsim/ Cutsim: Last update ~2years ago. Uses external ngc interpreter and tooltable. After some minor g++ code fixing compiled. Running on an example -- Segfault -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus TCP? Latency?
Hi Anders. This is one link to the LinuxCNC wiki : EtherCAT LinuxCNC Wikihttp://wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver . Alex Thanks for your comments and the link. Modbus TCP is attractive because it seems to use standard Ethernet NICs as well as work with standard Ethernet switches. EtherCAT on the other hand seems to require special proprietary ASICs or NIC-chips? I am also guessing that to maintain low latency an EtherCAT switch is much more intelligentexpensive than a standard Ethernet switch. Anders -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Modbus TCP? Latency?
Hi all, I'm thinking about various control data-acquisition systems I want to build, with different requirements on speed performance. What's the status of Modbus TCP with linuxcnc right now? I found at least this wiki page: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ModbusToHal What I imagine doing is something along these lines: - Have a controller computer with ethernet (particular NIC card is critical?), using linuxcnc/hal for my control and datalogging - wire all devices to a dedicated ethernet switch (particular make/model critical?) - use ready made Modbus TCP devices for analog and digital IO, I found interesting ones here http://www.audon.co.uk/edam9000.html but I imagine there are many more - make my own Modbus TCP RTU (remote terminal unit) using e.g. Arduino Ethernet http://arduino.cc/en/Main/ArduinoBoardEthernet Any experience with the latency/jitter for this approach? For some slow applications like temperature control/logging 1ms jitter will make no difference, but for e.g. motor control it might be critical. thanks, Anders -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Best write up ever?
Compare: http://www.vdwalle.com/Norte/EMC2%20%20Ugliest%20Tool%20Length%20Probe%20Station.htm with: http://softsolder.com/2010/04/14/emc2-ugliest-tool-length-probe-station-ever/ On the other paw, link rot being what it is, that's a good way to ensure they've got the information where they need it, when they need it. A citation in keeping with the Creative Commons license for my blog content would have been a nice touch, though... hah, entire jogwheel-page copied from my blog also: http://www.vdwalle.com/Norte/Jogging%20EMC2.html Anders -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Thermocouple to LinuxCNC
Hello, I recently got a 3D printing head with K type thermocouple off ebay. With a thermistor, I used a simple 555-timer circuit to convert temperature into a variable frequency: http://www.anderswallin.net/2010/11/temperature-control-circuits/ It's very nonlinear and not that precise, but for 3D printer bed or nozzle temperature control it works fine. No ADC or other circuits required, one parallel port pin reads temperature, another outputs PWM to the heater. Anders PS. for another project I am very much interested in real-time SPI-connected ADC into HAL, so keep us posted! -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Custom firmware for MESA and BLDC motors
This sounds doable as long as there is space on the fpga for a lookup-table and you can get the commutation tuned correctly (I guess the tuning/alignment process is already required and works ok for the current bldc implementation). Could you somehow verify that the non-optimal behavior or problems you are seeing actually are because of commutation? OR, would it be possible that simple PWM (voltage?) control with a PID-loop that gets feedback from the encoder is quite hard and doesn't work well at high RPM even with a 250us servo-thread? I once tried using current-sensing chips from IRF that produce PWM-output - this could be one option if you want to try a current-loop. Anders On Wed, Jul 10, 2013 at 12:05 PM, propcoder marius.alks...@gmail.comwrote: Last month I tried running bldc motors (8 poles, 3000rpm max) with LinuxCNC and MESA 5i23, 7i43 and 7i39. I am quite happy now, but I see the limitations of this set: sine commutation is rough at higher speeds. Motors do run on 5i23 at 200-250us servo period, but not very smooth and such period is too short for 7i43. I think even 7i43 would be capable of running such motors smoothly at max speed if sine lookup and commutation would be made in FPGA by hardware. I am thinking about new, corrected firmware for BLDC motors, which would be superior over current LinuxCNC/hostmot2/bldc solution. Now I am talking about qi mode only. And it is the only mode I would need. What I would like it to be is similar functionality, just more tasks done by FPGA itself. The main point is to transfer sine commutation. I understand these things have to be changed: 1. Encoder to electric angle conversion by FPGA (configurable parameters, such as scale and encoder offset); 2. computing or table-lookup of sine function in FPGA; 3. remove 3pwmgen.nn.A-value, B-value, C-value and similar pins from hm2 component / driver. LinuxCNC would pass only value (amplitude) to every axis every servo period only. This way commutation would be much faster and would require less host CPU power. What do you think about all this? What are the possibilities? Who is competent enough to make firmware, drivers? I am programming LinuxCNC components by myself, but never touched FPGA or similar programming. Marius -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Custom firmware for MESA and BLDC motors
pushing the servo thread time down to 230us while you sometimes get delays that cause it to be 430us does not seem right. the latency test with a 1ms thread usually gives a max jitter of 20us with well-behaving hardware. if that works correctly down to 250us you would expect variation within 230us to 270us (?), never 430us. There was talk on the list on basing PID-caclulations (D and I terms especially) on actual measured timestamps and not assuming the thread ran on time. I'm not sure if this progressed anywhere. I once tried using current-sensing chips from IRF that produce PWM-output - this could be one option if you want to try a current-loop. Could you please specify which chips you tried? What do they take as an input - PWM, analog ref, ..? IR2175 http://www.irf.com/product-info/datasheets/data/ir2175.pdf you put a current-sensing resistor on the wire going to the motor, and this chip gives out PWM at 130kHz proportional to the current. Sorry I don't know enough about motor control to really say ifhow a drive which closes the current-loop is better/different from the typical PWM-drive linuxcnc setup where only encoder feedback is present. AW -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] convert g1s to g2/3s
On Sun, Jun 16, 2013 at 3:16 PM, Frank Tkalcevic fr...@franksworkshop.com.au wrote: I've added my script to the Wiki, http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinesToArcs It will take a gcode file (only tested with Slic3r output) and convert the many short line segments back to arcs. It can make a huge difference to print speed and file size if there are lots of arcs. Frank, did you come up with the algorithm yourself? or is there a reference (web-link, paper) I could read somewhere? This would be very useful for opencamlib also. For slic3r G-code I guess you can assume all arcs are in the XY plane, for opencamlib I'd like to extend that to XZ and YZ planes also. You have two tolerance parameters. From a user perspective only one tolerance, the maximum deviation from the arc to the programmed g-code lines would be preferable? Is there a maximum and minimum allowed radius for the arc? (a straight line is in theory just an arc with a large radius :) Anders -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Success: Added physical button to Start or Resume program execution.
See also http://www.linuxcnc.org/docs/html/man/man9/toggle2nist.9.html And http://www.anderswallin.net/2010/10/axis-with-pyvcp-pauseresume-button/ Anders On May 20, 2013 12:40 AM, Kip Shaffer k...@shafferhouse.org wrote: Just wanted to share a little success story with you all. This week I added three physical buttons to my mill. They are large, industrial buttons from Allen Bradley that should last forever. They are: E-Stop - Red, latching, easy to hit Pause - Amber, momentary, easy to hit Run/Resume - Green, momentary, recessed The first two are trivial. They interface directly to the appropriate halui pins. Here's the problem. Run and Resume are two distinct operations. HAL must decide which signal to generate based on the current state of the system. In addition, halui must be in 'auto' mode in order to run the program. It must be requested if it is not already selected. Furthermore, timing can be a bit tricky. Continuing to assert halui.mode.auto, halui.program.resume, or maybe even halui.program.run can result in screwey behavior. An ideal solution is to assert these signals only until they take effect. My solution (attached) was to: - Select the appropriate action using 'and' components - Use flipflop components to stop asserting the signal as soon as they take effect - Use the edge component to lock in the decision to ensure one 'run' or 'resume' command from a single button-press event. I posted this on the wiki here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?One_Button_Run/Resume Enjoy! -Kip -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Olinuxino/Beagleboard/bone, Xenomai, SPI?
Hi all, What is the status on small single-board computers like Olinuxino and/or BeagleBoard/Bone wrt. Xenomai and LinuxCNC/HAL? In particular I am looking for a solution with: - Xenomai + HAL for real-time PID loops with 1ms thread - SPI + GPIO for communication with custom made ADC and DAC boards (HAL driver available?) - Small screen or touch-screen for status display - SD-card for datalogging, Ethernet for long-term datalogging to database So far the most affordable solution seems to be Olinuxino: https://www.olimex.com/Products/OLinuXino/A13/ comments? suggestions? Anders -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Poor CV
Can you post the G-code for this somewhere? Do you know if the G-code has strictly continuous direction(tangent) or better yet: continuous curvature (acceleration)? Did you try different G64 tolerances? What tolerance does Mach3 use? Can you log the actual position of the machine and compare LinuxCNC to Mach3 ? Better blending/lookahead is a periodically recurring theme here! :) However the problem is hard enough for the average hacker not to make much progress during a single weekend - and I think that's one major reason there hasn't been much work in this area. It probably requires a focused effort by people who have commercial interest (araisrobo on github?) or in an academic setting (i.e. motivated by getting a degree from it). My suspicion is also that better lookahead/blending will require making some assumptions about the kinematics used. So far there's been only one code-base which is capable of handling all kinematics, but I think the blending problem could be substantially simpler for 3-axis trivial kinematics - which probably covers a large fraction of linuxcnc users. Anders On Sun, Apr 7, 2013 at 12:13 PM, Steve Blackmore st...@pilotltd.net wrote: CV in LinuxCNC still does not work well. Have a look at this http://youtu.be/ph_IVXg1C9Y Identical gcode and machine settings. First clip is LinuxCNC second Mach3. Steve Blackmore -- -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] convert g1s to g2/3s
Let's be clear though that both G64 and the Douglas-Peucker algorithm are just smoothing filters. They neither know nor care that your original curves are composed of circular-arc segments. If it's important to you to preserve their circular-arc character then you need to use a toolpath generator that works from your original 3D model rather than the triangulated surface model that was extracted from the model and transferred to Slic3r via an STL file. I seem to recall the subject of recreating circular arcs from line segments has been discussed on this list in the past but I don't recall any magic solutions being offered. Douglas-Peucker is AFAIK only for simplifying many short line-segments into fewer longer line-segments, within a given tolerance. For arc-fitting one must also specify a [max, min] interval for the radius. Also note that G-code only does arcs in the principal planes (xy, xz, yz) and not general 3D arcs. If someone finds or implements a good arc-fitting algorithm I would be interested. As an example these waterline paths from the Tux model could probably be simplified greatly by arc-fitting: http://www.anderswallin.net/wp-content/uploads/2010/08/tux_offsets1.png IIRC Dan Heeks might have already implemented an arc-fitting algorithm, so it might be worth searching in the heekscad/cnc repos. I'm intrigued by the juxtaposition of the words Slic3r and router. Are you using Slic3r to create 2D contours that you cut with a CNC router or are you using a CNC router with an extruder as a 3D printer? If the former, then you may want to look at so-called waterline milling algorithms used in CAD/CAM to see if you can generate more efficient toolpaths. Our very own Anders Wallin has opined on the subject (http://www.anderswallin.net/category/cnc/cam/waterline-cam/). Note that there's a subtle difference between a Z-slice of an STL model and a waterline milling path. They are identical only for a milling-cutter of zero radius, and assuming the model has no undercuts. The next idea people usually come up with is to first do a Z-slice (corresponding to a zero-radius toolpath) and the offset outwards to get a milling-path. This is correct for a cylindrical tool where the cutter contact point will always be on the circumference of the end of the cutter. (again assuming no undercuts). The correct way to do waterlines with rounded cutters (BallCutter and BullCutter in opencamlib parlance) is to move them along the chosen Z-plane until they make contact with the model. This contact point is usually at a higher Z-coordinate than the Z-coordinate of the tip of the tool. I've been busy with other stuff lately, but I hope to improve opencamlib and openvoronoi as time permits. If there are people willing to work on GUIs and everything else that is needed for a CAM-program then I'd love to collaborate. Anders -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Latency
On Mon, Mar 25, 2013 at 2:36 AM, Dave e...@dc9.tzo.com wrote: Has anyone tried running the latency test on the Intel H61, H77, or Z77 design motherboards using a CPU with the integrated HD graphics? Intel DH61AG + i3 2120T 2.6 GHz LGA1155 http://www.anderswallin.net/2012/12/latency-histogram/ It would be great if there was a latency-test that would automatically upload results + hardware/software-configuration to a web-hosted database... Anders -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] fpga epp data transfer - strange behaviour
Is the Count value going to zero during those glitches? Could you monitor ResetCounterValue also during your test? Could there be some mechanism that causes noise on ResetCounterValue only when you count down? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running LinuxCnc without Mesa cards
On Sat, Mar 2, 2013 at 10:13 AM, Marius Liebenberg mar...@mastercut.co.zawrote: Hi, I need to do a lot of changes to a customer's system that has 5i23 and other cards installed. I dont have a similar installation to work on so my question is, is there a way to run LinuxCnc or just start it up without functionality, without having the 5i23 installed. Something like a dummy component. I need to make sure all the HAL connections are made and are to the right pins. Once that is done I can take the files to their system and test. No, AFAIK. A build-option where the HAL driver could be built in a simulator mode would be nice. All the HAL-pins would be exposed and available for monitoring, but no real hardware would be required. AW -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Servo tuning MESA 7i48 cards
The servo is a current drive with a +- 10 volt input. As there is not much load on the drive so a +-0.4 volt will swing the motor at full speed. Tuning with no load at all might be hard or impossible. Do you have the motors attached to the ballscrew/machine? Full speed at 0.4V command would mean you throw away a factor 20 of dynamic range. I'd suggest you do something to get full speed at closer to 8 or 9 V command - maybe lower the supply voltage to the drives, adjust the max current, or something. It sounds like you have two loops: one in the drive and one using linuxcnc. It's hard to say what is going wrong without knowing more about the system. What loop is the drive closing? with what feedback? What loop is linuxcnc closing? AW -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Linuxcnc on the Olinuxino
After seeing the success of a few other people in getting lcnc running on an Arm / Beaglebone, I thought I would take a shot at doing the same on the Olinuxino, with the intent of driving a 3D printer. I found the Olinuxino attractive because it has 512MB RAM and a 1Ghz processor and 3 I2C interfaces, as well as a companion 7 LCD or LCD touch display. It does not have an immediate interface to get to a Mesa type FPGA device, but I was hoping with a 1Ghz processor I would at least be able to directly drive 3 stepper motors. Nice! This is the first project I've seen with an affordable and apparently good-looking functional touch screen solution. For various embedded projects I've been looking for a board that runs linuxcnc/HAL, with either on-board IO/Microcontroller/FPGA or the possibility to use a MESA card. A touch-screen would be used for UI. Raspberry Pi. + small, cheap - the processor is slow - barely able to boot a standard debian desktop. - There are some touchscreen hacks but nothing universally used good. - two SPI channels, one of which (maybe) goes to touch-screen use. ITX-sized x86 + stock standard x68 - 7 HDMI touch-screens exist (e.g. lilliput UK), but expensive (200 eur/gbp/usd). - expensive (board 100eur, processor 100eur, etc.) + PCI or PCI-E for MESA card For now I am slowly working on the x86 solution, mostly because it is tried tested, but these substantially cheaper ARM alternatives seem to be progressing... Does anyone know what electronics would go between the HDMI-connector of an x86-board, and the 55eur Olinuxino 7 touch-screen? Is it something one could DIY for less than 150eur which is roughly the price-difference to a 7 Lilliput HDMI-interfaced (USB for touch) screen ? Definitely keep us posted on the progress, and latency-numbers if/when you get a xenomai kernel going. Anders -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] PyVCP puzzle
Or is a dual needle display even possible in PyVCP? The attached patch (for master) adds an optional halpin2 tag that meter understands. If supplied it will create a second blue needle, and a hal-pin that controls that needle with the given name. A test-panel I made for this looks like this: (will appear on my blog later this week) http://imagebin.org/240528 Anders 0002-dual-needle-meter-use-with-halpin2-meter2-halpin2.patch Description: Binary data -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Quick Start with Mesa
I'm looking for a page where I can do the initial commissioning. Ie Press a limit switch and see if it comes up. Turn the servo and see if the data is updated. All of this needs to happen without setting the home switches, eStops etc. I used this kind of test-panel with a 5i20 and the old driver and hostmot-4 firmware http://wiki.linuxcnc.org/cgi-bin/wiki.pl?M5i20_Halvcp_Test_Panel You would need to adapt this to use the newer hostmot2/hm2 driver/firmware. With the old driver/firmware the inputs/outputs were pretty much fixed, and so a fixed test-panel made sense. Now with the hm2 driver/firmware everything is very configurable, and one would need a configurable test-panel that is tailored to the firmware used. This would make for a nice contribution to linuxcnc, if someone wants a coding-challenge ! :) I imagine one could write a python-script that takes the same configuration string as the driver (specifying number of pwm/stepgens, encoders, IO etc) and creates the required HAL + XML files for a custom test-panel. Anders -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] PID-control of temperature
By popular demand I have updated my temperature PID-control hack from 2010 http://www.anderswallin.net/2012/12/temperature-pid-control-part-deux/ It uses two parallel port pins, one to measure temperature from a IC555+thermistor sensor, and another to control a PWM-heater. I used it to control the temperature of a 3D printer extruder and although quite minimal (some would say naive!), it seems to work OK. Anders -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] missing man 9 hal
Is this an oversight, or just considered as too big for a man page? hal by itself is not a command you would execute from the terminal. man hal otoh gives a general description of hal. so this is roughly OK I would say. halscope would be an example of a command that doesn't have a man-page afaik. AW -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] What current ITX board?
DN2800MT will install XP, Probably Vista, W7 and Linux with graphics switched off. Enabling graphics in Linux seems to be hit and miss but basically there are no drivers for the Intel GMA 3600 graphics for Linux or XP but XP will run. to which Andy responded I don't understand the problem. I just installed the LinuxCNC 2.5 LiveCD, and it works as expected. What do you mean by enabling graphics? I have only used it on the VGA connector, (plugged into my TV, actually) but I get the normal Axis interface, and can run glxgears, and mouse/keyboard response is entirely normal. I'm curious about the difference between Andy's remark entirely normal and your remark slow and the resolution wrong with the generic driver. Is it related to VGA vs HDMI or perhaps to Andy apparently running Ubuntu 10.04LTS (LinuxCNC 2.5 LiveCD) and you running 12.04LTS? With a 24 screen connected through HDMI the default 12.04LTS install uses a driver where the mouse cursor is flickering and graphics is obviously slow (e.g. just dragging around windows, browsers, etc the screen update while dragging is sluggish). It might be just barely usable, but it's not very nice. Googling for other linux experiences with the DN2800MT seems to turn up a lot of problems and frustration - so it's probably best to avoid boards with the cedarview graphics. Also, I have yet to run a program that obviously runs better in 64-bit versus 32-bit Linux. Is 64-bit really a criterion for you? Not really. I have been using 64-bit installs on laptop/desktop for general work for many years now I think. My desktop does have 16GB of RAM and the laptop 4 or 8 GB. For linuxcnc use 32-bit is probably fine. Aside: Intel has preparing to launch Valley View in 2013. From Phoronix.com, Valley View will see full Linux support and is looking to be fantastic: an Atom SoC with Ivy Bridge graphics. The winds of change keep on blowing. They seem to have ITX-sized boards with LGA1155, using the same DC-input jack. With an i3 processor that should run quite cool also. I think that is what I will try next. AW -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] What current ITX board?
Thanks for that. I haven't been paying attention and wasn't away they had any big boards running off a 12VDC supply. Doing a bit of web-crawling just now I came up with the Intel DZ77GA-70K. Is this what you had in mind? It looks like there's a lot to like about this board. I just wish it were half the price but perhaps there are more frugal choices out there. The one I was looking at (because the local shop has it in stock) was Intel DH61AG http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/desktop-board-dh61ag.html using x86 hardware should be the safest bet, although separately buying the motherboard, RAM, CPU, an SSD disk does add up (compared to Raspberry Pi or BeagleBoard). But I think the ITX-sized x86 solution is realistic and doable NOW, while stable real-time + linuxcnc for the smaller and cheaper SoC is still in the future. Anders -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] power supplies
linear PSUs can be momentarily overloaded quite a bit. That's what I've heard make them preferable for stepper/servo PSUs. The servo/stepper drive will contain more or less circuits for voltage and/or current control, so it's not that important to have a well-regulated DC-rail for the drive. If you oversize a switching-psu sufficiently that should work also. The output of a switching-psu will usually float, i.e. it's not tied to ground, so you should probably look at grounding in more detail with a switching-psu. Finally if you plan on doing some sensitive (mV) measurements (e.g. coordinate-measuring-machine or similar) you will find that with a switching-psu you get noise at 10-100kHz, sometimes as a periodic spike, in your measurement leads. On Tue, Nov 20, 2012 at 1:23 PM, kqt4a...@gmail.com wrote: Would y'all comment a bit power supplies, linear or switching Pro's and con's Do's and don't I see a great many lower priced switching supplies Richard -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] MPG that is compatible with EMC2?
http://www.automationtechnologiesinc.com/products-page/mpgs Take your pick. I use the MPG3, but it now seems they're carrying a 4 axis and a 6 axis USB based MPG. presumably the USB driver for this does not run in real-time? (I'd be careful in trusting the e-stop through USB too much...) Do you notice any lag if you jog back and forth quickly? Could one write a latency-test for the USB-driver, i.e. measure the worst-case performance? AW -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] hello,do u have the linuxCNC with the GUI of Qt?
I have tried to use linuxCNC , and the GUI I need should be Qt, i have tried to manage it myself ,but failed。。。So do u have one for me? thanks for ur help。 Smithy have EZ-trol which is a QT4 GUI for LinuxCNC. I am not sure if it is available except with a machine. http://www.smithy.com/cnc/1315-lathe/features/cnc-control-software When digging for papers or other published material to add as references for the linuxcnc wikipedia page I think I saw one or a few chinese papers that referred to a Qt GUI for linuxcnc. For example: Zhang et al., Development of EMC2 CNC Based on Qt, Manufacturing Technology Machine Tool, 2008, http://en.cnki.com.cn/Article_en/CJFDTOTAL-ZJYC200802046.htm I don't have access to that PDF-paper and I'm not sure if it is in English or Chinese. Anders -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
I updated my HAL file accordingly: loadrt hal_parport cfg=0x378 0xec00 in # Added 2012-Jun-18, NCP some googling suggests that PCIe parallel ports don't have any standard address, and the address may even change at each bootup, or it may be software configurable on the PCIe card. I'm guessing the ec00 above is the problem. Does the PCIe card have a BIOS-like setup menu of its own? Can you see or set the address there? AW -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mesa counter card?
That is why I think that 5i25 card would do much better - less rewiring (actually You might get away with no rewiring at all) and there also is price difference. Plug it straight in pci slot and attach Your existing lpt cables to it. The only thing to do is sort out the firmware - most probably, You will need to tell Mesa's people, which exact pins are stepgen outputs, which pins are encoder inputs and they shall arrange the rest - AFAIK the tool for users to configure the 5i25 cards is not yet available. Very nice! Sounds absolutely perfect. Great price too! How many encoder counts per second does that card do? The docs are over here http://www.linuxcnc.org/docs/2.5/html/drivers/hostmot2.html they say The encoder sample clock runs at 33 MHz on the PCI Anything I/O cards and 50 MHz on the 7i43. without the filtering-mode the quadrature counter needs only 3 clocks to register a change So a change can be recorded at 33MHz/3 = 11MHz, and there are two changes in one cycle, so in theory the max count-rate would be 5 MHz. AW -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] torque-velocity questions
1 - is there some inherent incompatibility between Linux CNC and torque mode servos? 2- is there some deeply buried config parameter that needs to be changed? 3- can somebody point us to a strategy specifically oriented to tuning torque mode servos? 4- any other ideas? Here are some tuning-graphs I did in 2008. These are for brush DC-servos with Pico PWM drives and a Mesa 5i20 card with 4 kHz (IIRC) servo-thread. If I understand correctly these PWM-drives are voltage-mode which is neither speed nor torque, but the graphs might be instructive anyway... http://www.anderswallin.net/2008/04/pid-tunig/ http://www.anderswallin.net/2008/04/x-axis-test/ Someone should make a PID-tuning utility that makes it super-easy to capture these HALScope screenshots together with the PID-parameters used. I think we might see more logs of these tuning sessions on the interwebs then... Anders -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] CAM / G-code Generation
Hi Anders, Do you have the link for the forked currently developed version? Thanks! Playing with PyCam right now. Seems to come a long ways since I last played with it. There's a group of projects on github. https://github.com/Heeks They will differ, more or less, from the corresponding ones on googlecode... For getting g-code and machining done _now_, HeeksCAD/CNC, with possible python mods/hacks, may be the better choice. For the _long_term_ FreeCAD may be the better choice, but generating toolpaths+g-code is very hackish right now afaik. FreeCAD uses OpenCascade+Qt, while HeeksCAD is OpenCascade+Wx. So in theory most HeeksCNC work should transfer over easily. There's a FreeCAD forum at http://sourceforge.net/apps/phpbb/free-cad/ , but I'm not very good at following forums myself so I'm not sure if there's much CAM discussion there.. Anders -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] CAM / G-code Generation
Have you looked at HeeksCAD/CAM? heeks.net Hi Ray, I haven't had time to run my machine in quite sometime, but, HeeksCAD is was what I used last time I needed to make some simple tool paths. When I looked at the current state of Heeks yesterday, it seemed like the author was recommending FreeCAD: I don't have time to administer HeeksCAD properly and I suggest for a more active project you look at FreeCAD. http://code.google.com/p/heekscad/ My understanding is that Dan Heeks wanted to work on the google-code version himself, whenever he has time - he may be busy with other projects. The version of HeeksCAD/CNC on github was forkeddeveloped by a number of users, but that momentum seems to have been lost now. Apparently, Dan Falck got opencamlib running in FreeCAD. I understand that opencamlib is essentially what powers G-code creation in Heeks: http://opensourcedesigntools.blogspot.com/ I think Dan Falck ran some python-scripts on STL-files offline, and then just imported the original STL file together with the toolpath into FreeCAD. There are no 2D operations in opencamlib, so any 2/2.5D operations in HeeksCNC use something else. Libarea is used for 2D offsets. I've been tinkering with a 2D voronoi-diagram implementation called OpenVoronoi which can eventually be used for a number of 2D operations. It would be great if someone would work out how to export triangles (3D) and/or lines/polylines/arcs (2D) from FreeCAD into python (where opencalib, openvoronoi, and libarea can be used), and then how toolpaths produced by the libraries can be pushed back into FreeCAD as new geometry. Dan F seems to have made some progress in this direction. Anders -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Trajectory Planning
[1] http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TrajectoryControl -- This wiki page has notes on the exact-stop trajectory planner http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Tp_Notes The reasoning and math behind the current G64-blending code in LinuxCNC is not well documented.. Improvements for 1) jerk-limited control and 2) better lookahead have been discussed from time to time but so far the commits/patches have been missing.. Anders -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] (no subject)
Renishaw website seems to indicate between 100 and 400 W. The description ytterbium fibre laser would suggest a wavelength around 1064nm (not the CO2 10um usually used for laser-cutters) On Wed, Mar 14, 2012 at 12:19 PM, charles green xxzzb...@yahoo.com wrote: what do you suppose the laser wattage is? This was sent to me by a guy at Boeing. Thought a few of you would appreciate the concept even tho the technology is a bit spendy. ;-) Dave http://www.youtube.com/watch?v=1YgEOsZ8iJgfeature=g-all-ucontext=G2fe384fFWAA -- 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] IRAMS Plan
2012/3/6 Joachim Franek joachim.fra...@pibf.de: FNB41060 - IGBT SMART PM,600V,10A 10 Euro at Farnell I think the IRAMS and this FNB41060 definitely 'solve' the H-bridge part of the circuit. The challenge is to design current-sensing, EMI-filtering, powersupplies, and optoisolation around the H-bridge. I forgot to mention earlier this blog I have been reading which has a lot of motor-control posts: http://scolton.blogspot.com/ AW -- 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] State of Wizards/Druids for simple machining.
I have some small demos of what my CAM-libraries can do over here: https://github.com/aewallin/linuxcnc-scripts I'd be happy to help create wizards/GUIs for these if someone finds them useful. In particular there was interest in v-carving of fonts. The problem I ran into was that truetype-tracer (and the underlying FreeType) does not have kerning-offset, and thus many combinations of adjacent glyphs have overlapping geometry. AW -- 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] IRAMS Plan
Attached is my first pass at an IRAMS circuit. It's pretty much a copy of the IRF datasheet example. The plan is to hook up the digital signals to an FPGA card, Pluto-P if I can find it, or 5i25 if I sell something on eBay. The analog signals are an unknown for now. IRF seems to recommend using a ceramic capacitor with each electrolytic, I need to learn more about this as well as chose a size for the motor input caps. Any suggestions are welcome. IIRC what can cause a sudden death of the IRAMS is overcurrent for some reason or another. To make your design fool-proof you need to sense current, possibly on all three motor phases, and do it reliably and quickly in order to shutdown the IRAMS and/or pwm-source when something bad happens. For permanent magnet servos the current-sensing is just fault-protection. If the current-sensing can be made to work accurately the same power-stage could maybe be used for induction motors with a vector-drive algorithm. Possibly this requires voltage-sensing on the uvw-phases also? With higher voltage/current the IRAMS will require cooling. I used an old cpu-heatsink+fan. You might want to put the psu/power-wiring for this on the IRAMS-PCB also. Optoisolation between the power-stage and the fpga-logic would be a good idea. AW -- 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
[Emc-users] OT: medial-axis pocket milling strategy
As a result of my work with OpenVoronoi (2d voronoi diagram algorithm) I've experimented with a medial-axis based pocket milling strategy. These two videos show the latest progress: http://www.youtube.com/watch?v=_Qr8tZXGXZU and http://www.youtube.com/watch?v=lfIU_gv0iB8 There's a problem with over-cutting when the pocket rapidly widens or narrows. There's also a lot of air-cutting at the end of a cycle in the MA since the algorithm only keeps track of cut/uncut material behind the advancing cut-arc front. When it comes to the end of a cycle it doesn't know that the area in front already has been cut - thus a lot of air-cuts. I'm doing these experiments and toolpaths from python scripts that are undocumented and not very friendly to use. There's some ongoing work on making a CAM-toolbox for FreeCAD. This could eventually make its way there. Or if there's interest in a minimal standalone GUI for opencamlib and openvoronoi then let's do that! Anders -- 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
[Emc-users] Cutsim (was: Re: Feature request)
I don't think that belongs in linuxcnc. It sounds like you would like the cut simulation work that Anders Wallin et al are working on. Check this out: http://www.anderswallin.net/2010/08/octree-animation/ It'd be cool to have a tool like that in another Axis tab... Last time I tried to work on cutting-simulation I tried to do it all in one: OpenGL, threading, double-buffering, QT-gui, rs274-interface etc. Maybe the way forward is to start minimal instead. I trimmed down libcutsim to a bare minimum over here: https://github.com/aewallin/libcutsim This should be mostly standard c++ and only require cmake + boost-libraries to compile. I'd be very interested in working with someone who knows enough about AXIS to get this started. What I think we need: - A tool definition (this can be hard-coded for now, but set by g-code comments eventually) - A stock definition (hard-coded for now, set by g-code comment eventually) - For each line of g-code (or canon-move) a call into cutsim asking to execute that move. This is userspace stuff so no real-time demands please. The trivial approach to subtracting a move from the stock is: (a) subtract a stationary cutter at (x,y,z,a,b,c) from the stock. (b) move cutter along programmed move by a small amount (dx,dy,dz,da,db,dc) (c) while move not done go to (a) - we can do one or many iterations of this loop between OpenGL updates. Or we can do one or many canon-lines between OpenGL updates. - When we call Cutsim::updateGL() it will respond by updating two arrays: a vertexArray and an indexArray. The vertex array holds vertices which are essentially 6-tuples of coordinate and color (x,y,z,r,g,b). The indexArray holds indexes into the vertexArray. Depending on the algorithm these are interpreted as lines, triangles or quads for drawing. For example the first triangle would have vertices: vertexArray[ indexArray[0] ], vertexArray[ indexArray[1] ], vertexArray[ indexArray[2] ] and so on. I got quite lost with immediate-mode, vertex-array, vertex-buffer-object, etc. drawing last time I tried, so it would be much better if someone who has experience with OpenGL would do the rendering part. The vertexArray/indexArray can be accessed from C++ or python. At first I don't care if the view freezes while we run the program, but in the future it would be great to allow rotate/pan/zoom while running (I am not sure what combination of drawing-mode, threading, or double-buffering is needed for this). I'd really like to see this happen, and I know there's a much greater chance of success if we work together and this becomes a permanent part of LinuxCNC - rather than I or someone else going at it alone. Please respond with ideas/comments/patches! Anders -- 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] Cutsim (was: Re: Feature request)
I have only a little experience as a user of cut simulation, but the times I've used it, it's been integrated with the CAM rather than with the machine control. It's when you're designing the cuts that cutsim is most useful, IMO. I wonder if Dan Falck's FreeCAD+OpenCamLib work would be a useful place to add it? Well, one thing is for sure: I will not write a new g-code parser/interpreter. There is about three parts to this I think: - openGL view (AXIS is quite close to raw OpenGL I think, FreeCAD has one based on OpenCascade and/or Qt) - g-code or other input interpreter (LinuxCNC obviously has librs274, FreeCAD could work on some internal CAM-format maybe, but that would need inventing+work) - libcutsim (stock-model, cutting ops, surface-extraction/update) - ui (AXIS has g-code preview, play/pause/stop buttons, etc). From having toyed around with developing a few CAM-algorithms I can say that you can be led into a false sense of security by only plotting static geometry on the screen. Forcing oneself to produce G-code and viewing the motion often reveals small or bigger bugs. So from a CAM-development point of view I think having the simulator work with G-code input is good. So this needs not necessarily be within the framework of AXIS. It may or may not be faster/easier to write a new GUI from scratch that has g-code preview, play/pause/stop, and an OpenGL context with good rotate/pan/zoom etc. for drawing. I've already tried and failed at this second approach, so it's unlikely I will try again (at least until the scars heal, or I forget...:) ) Graphics performance is an obvious concern. With my toy-tests are easily get up to 100-500k triangles, which starts to be slow to draw using naive methods. If it turns out early that AXISs python-based OpenGL will not perform then an OpenGL view in c++ might be required. AW -- 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] Do CAM instead? [Was: New dialects]
Thanks for the heads up. That textual CAM package is very interesting, even though it neither documents our LinuxCNC dialect nor provides a more human readable variant of same. We could change our goal to gcode generation, but that would mean abandoning current goals. The cam-zone blog has some notes on the internal toolpath-representation (CLDATA) that most CAM-systems use. It seems they are all some variant of APT, either ascii or binary, and every CAM-vendor has their own dialect. http://camzone.org/2012/01/14/post-processors-what-you-should-know-about-them/ Anders -- 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] Do CAM instead? [Was: New dialects]
I see a problem with using gcode generating software languages to machine complex geometries. In my world all gcode generating software languages will undercut or gouge the material deemed to be the desired material to include in the desired part. This happens at random times. Usually only when a complex geometry is modified. Sometimes the modification is so minor it is insignificant or so you would think. Simple shapes are hardly ever a problem. Complex shapes may need to have the cutting strategy altered to allow generation of clean g code. Seeing the undercut on the screen or in some verification software is not generally a problem. So, another conclusion from this discussion would be Do Cutsim instead !? I have some prelim work on cutting-simulation http://www.youtube.com/watch?v=1DAvgLCj_RQ , but I got stuck with the GUI, threading, and opengl. Joseph Coffland seems to have independently made great progress at http://openscam.com/ Anders -- 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] US Digital encoders?
I would like to ask, if anyone could provide some recommendations for US Digital encoders - I chose them, because they seem to be next in the line in terms of affordability. I was particularly looking at E7P. I have Keling KL23BLS_115 Nema 23 servo motors: http://kelinginc.net/KL23BLS_115.pdf This image shows US Digital E5MD encoders (keling? DC brush motors via Dan Mauch) http://www.anderswallin.net/2006/12/dc-servos-for-cnc-mill/ They have been in use since 2006 and work well. Most of the videos over here are with this machine (not the most recent ones where you see a white enclosure with a red door, that is another machine) http://www.youtube.com/user/JMI80/videos Anders -- 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] ttt and openvoronoi py-scripts
I tested V-carving yesterday: http://www.anderswallin.net/2012/01/v-carving-test/ It seems to work. The order of the paths is not optimized at all, so the machine does many unnecessary rapid-traverses. There is now a PPA through which the packages are available: https://launchpad.net/~anders-e-e-wallin/+archive/cam after some work on the dependencies etc the packages now seem to build OK. In particular they now work for Lucid/10.04 which is what most people have for LinuxCNC. I've put the python-scripts that produce g-code when opened in AXIS over here: https://github.com/aewallin/linuxcnc-scripts test-reports welcome! Bugs/issues with the underlying libraries to the opencamlib list please: https://groups.google.com/forum/?hl=en#!forum/opencamlib Anders -- 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] ttt and openvoronoi py-scripts
I've hacked together a few scripts that demonstrate some progress with my openvoronoi project: http://www.anderswallin.net/2012/01/emc2-filters/ There is now a PPA through which the packages are available: https://launchpad.net/~anders-e-e-wallin/+archive/cam There are some build-problems on Lucid, which may or may not get fixed before LinuxCNC moves to 12.04LTS... I might get the chance to test the V-carving paths during the weekend. Anders -- 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
[Emc-users] ttt and openvoronoi py-scripts
Hi all, I've hacked together a few scripts that demonstrate some progress with my openvoronoi project: http://www.anderswallin.net/2012/01/emc2-filters/ This is all very experimental and most examples will break even with small changes. The most obvious problem is that openvoronoi prints warnings to stdout, while AXIS takes everything printed to stdout as g-code input. Can anyone suggest a proper logging-library/practice for c++ that I could use? Is there a good library for reading DXF files? With python bindings? To further test pocketing and offsetting I think it would be nice to write a new script dxf2pocket which reads a DXF-file and produces pocketing paths. If there is interest in these small scripts that run from AXIS and produce G-code directly into EMC2 (similar to [1]) I can try to support this, but it's unlikely I will write any GUIs myself. For openvoronoi-specific issues, further discussion can be hosted at: https://groups.google.com/forum/?hl=en#!forum/opencamlib The ToDo list for openvoronoi is too long to quote here. If you are talented at math, geometry, c++, machining, and have some time to spare we really need your help! If anyone is enthusiastic about my ttt C++ port I'd be happy to hand over completing the c++ port and maintaining ttt++ to someone else. Anders [1] http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_EMC_G-Code_Generators -- 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] EMC2 and LabVIEW
Hello gentlemen, We'd like to control a parallel robot with EMC2 and also with LabVIEW sometimes. I just wonder if any MESA FPGA card can be used with LabVIEW, or is there any other card with EMC2 and LabVIEW support? Or some way to connect EMC2 and LabVIEW (that's unlikely). I guess that we should have 2 separate control systems, but if there's a way to avoid it... I've used LabView real-time and FPGA modules on Windows. There is a LabView version for Linux, but last I checked there are no real-time or FPGA toolboxes for Linux/LabView. You could possibly write a Windows driver for a MESA card. I don't know how easy/difficult this would be. If you had this then you could use a LabView real-time program on Windows to control your machine and then have emc2 on Linux use the same card. Possibly with the same FPGA-firmware. I think LabVIEW's own FPGA-toolbox is a wrapper around the freely available Xilinx development tools. It works well with NIs own FPGA-cards, but I'm not sure it's worth the trouble to try to program a MESA card this way. Anders -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Encoder Discs, possible collective order
I have been given a quote for electrochemical machining of an encoder for my project. http://www.photofab.co.uk/index.php/services/chemical-etch-photo-etch/ There is a £95 setup charge, then another £100 for a sheet of parts. I get 25 of my design (75mm dia) on a sheet, but only need 6 or so. The material I want to use is 0.3mm 304 stainless. I can add different designs to the sheet for no extra charge. Does anyone have anything intricate that they need making from stainless shim like this? What resolution can they produce? How do you read the encoder, transmission/reflection of IR-LED or ? Would the pattern produce a square wave-signal, or a sine-wave (which can be 'interpolated' to yield higher resolution) a dream project of mine would be a telescope mount. To minimize tracking error one should measure the rotation directly on the geared axis (not the motor) and one wants maybe 4 million pulses (22 bits) per rev for that. From what I've understood it's done by A/D converting a sine-wave encoder, so if you get e.g. 8 to 10-bits of reliable interpolated data then you want an encoder with 12 to 14 bits of sine-shaped counts, i.e. up to 16k-counts/rev. How big a circle would that require? Anders -- 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] Does emc2 support jogging backward/forward along with g-code?
Does emc2 support jogging backward/forward along with g-code path? (the path is defined by .ngc file) AFAIK, No. Did you have some implementation idea/details for this? AW -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] HeeksCAD and HeeksCNC
ah, this is bad news. I needed the 3D and CAM functions. Most, if not all, of the 3D operations in heekscnc call opencamlib. Opencamlib (https://github.com/aewallin/opencamlib) is a c++ library with python bindings for axial and radial projection of cylindrical, spherical, toroidal, and conical tools onto polyhedral surfaces. The axial cutter-projection, aka. drop-cutter, code has been pretty stable for a while. The radial, push-cutter, code which is used for waterline-toolpaths is not as good. When we have a lot of push-cutter results we need to hook these up in a sensible way, using some kind of area-model, to form the toolpath. What I'm using now[1] is called a ray intersection graph[2] I think, but it seems a quad-tree based approach[3] might be better. I think a lot of 3D and 2.5D capability can be built on top of these drop-cutter and push-cutter low level functions. I'll try to support integration of opencamlib into FreeCAD as best I can. Anders [1] http://www.anderswallin.net/wp-content/uploads/2010/08/weave_input_output1.png [2] http://en.wikipedia.org/wiki/Intersection_graph [3] http://www.freesteel.co.uk/wpblog/2011/11/unit-testing-cam-algorithms-what-could-that-be-about/ -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] HeeksCAD and HeeksCNC
The codebase moved to github some time ago: https://github.com/heeks The google-code page might still have some useful stuff in the wiki: http://code.google.com/p/heekscad/ There's been some activity around FreeCAD also. It is, like heekscad, based on OpenCascade, and has python scripting/bindings: http://free-cad.sourceforge.net/ I've worked on some cutter-projection algorithms for 3D machining (opencamlib), a voronoi-diagram algorithm for 2D machining(openvoronoi), and a cutting-simulation for toolpath verification(cutsim, could/should be integrated into emc2?). All of these projects are more or less experimental (if you're talented at c++, math, geometry, computational-geometry or something similar we need your help!) Anders Hi, I was looking for the above software. The web page still exists, but I coudn't find a place from where to download. Has anybody an idea where it moved or what it happend? Actualy I'm looking for a CAM program that is free or at least afordabel, working and easy to use. Regards Peter Georgi -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] simulator build on Ubuntu 11.10 64-bit
Hi all, I want a simulator-build for playing around with emc2 on 64-bit ubuntu 11.10. Following the instructions on the wiki I do: $ git clone git://git.linuxcnc.org/git/emc2.git emc2-dev $ cd emc2-dev $ cd debian $ ./configure sim $ cd .. $ dpkg-checkbuilddeps I've installed everything that dpkg-checkbuilddeps suggests, but it also suggests tk8.4 and tcl8.4, and installing those seem to create conflicts with tk8.5 and tcl8.5 which I already have. Then: $ cd src $ ./autogen.sh $ ./configure --enable-simulator $ make and I get linking errors: Linking gs2_vfd objects/hal/user_comps/modbus.o: In function `modbus_connect_rtu': /emc2-dev/src/hal/user_comps/modbus.c:945: undefined reference to `g_print' I looked in the 'configure' script around line 4194 for how glib is detected. On my system I get $ pkg-config glib-2.0 --modversion 2.30.0 pkg-config glib-2.0 --cflags -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include $ pkg-config glib-2.0 --libs -lglib-2.0 Help! Anders -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] simulator build on Ubuntu 11.10 64-bit
Don't ask me exactly why, but with these changes I now seem to be able to build on 64-bit Ubuntu 11.10: anders@anders-i7:~/Desktop/emc2-dev$ git diff diff --git a/src/emc/sai/Submakefile b/src/emc/sai/Submakefile index 5edf0d9..d5e6a7d 100644 --- a/src/emc/sai/Submakefile +++ b/src/emc/sai/Submakefile @@ -7,6 +7,6 @@ USERSRCS += $(SAISRCS) # cludge around linking issue in taskclass $(call TOOBJSDEPS,$(SAISRCS)) : EXTRAFLAGS=-Dinterp_new=interp ../bin/rs274: $(call TOOBJS, $(SAISRCS)) ../lib/librs274.so.0 ../lib/libemc.a ../lib/libnml.so.0 \ - ../lib/libemchal.so.0 + ../lib/libemchal.so.0 ../lib/libemcini.so.0 ../lib/libpyplugin.so.0 $(ECHO) Linking $(notdir $@) - $(Q)$(CXX) $(LDFLAGS) -o $@ $^ $(ULFLAGS) -l$(LIBPYTHON) + $(Q)$(CXX) $(LDFLAGS) -o $@ $^ $(ULFLAGS) $(BOOST_PYTHON_LIBS) -l$(LIBPYTHON) diff --git a/src/emc/task/Submakefile b/src/emc/task/Submakefile index d74bc44..330647d 100644 --- a/src/emc/task/Submakefile +++ b/src/emc/task/Submakefile @@ -29,9 +29,9 @@ USERSRCS += $(MILLTASKSRCS) #LDFLAGS += -../bin/milltask: $(call TOOBJS, $(MILLTASKSRCS)) ../lib/librs274.so.0 ../lib/libemc.a ../lib/libnml. +../bin/milltask: $(call TOOBJS, $(MILLTASKSRCS)) ../lib/librs274.so.0 ../lib/libemc.a ../lib/libnml. $(ECHO) Linking $(notdir $@) - $(CXX) $(LDFLAGS) -o $@ $^ + $(CXX) -o $@ $^ $(LDFLAGS) $(BOOST_PYTHON_LIBS) -l$(LIBPYTHON) TARGETS += ../bin/milltask diff --git a/src/hal/user_comps/Submakefile b/src/hal/user_comps/Submakefile index c375acf..4e7b278 100644 --- a/src/hal/user_comps/Submakefile +++ b/src/hal/user_comps/Submakefile @@ -18,7 +18,7 @@ USERSRCS += $(MODBUSSRCS) ../bin/gs2_vfd: $(call TOOBJS, $(MODBUSSRCS)) ../lib/libemchal.so.0 $(ECHO) Linking $(notdir $@) - $(Q)$(CC) $(LDFLAGS) $(MODBUSLDFLAGS) -o $@ $^ + $(Q)$(CC) -o $@ $^ $(LDFLAGS) $(MODBUSLDFLAGS) TARGETS += ../bin/gs2_vfd ifeq ($(HIDRAW_H_USABLE),yes) On Sat, Nov 19, 2011 at 8:21 PM, Anders Wallin anders.e.e.wal...@gmail.com wrote: Hi all, I want a simulator-build for playing around with emc2 on 64-bit ubuntu 11.10. Following the instructions on the wiki I do: $ git clone git://git.linuxcnc.org/git/emc2.git emc2-dev $ cd emc2-dev $ cd debian $ ./configure sim $ cd .. $ dpkg-checkbuilddeps I've installed everything that dpkg-checkbuilddeps suggests, but it also suggests tk8.4 and tcl8.4, and installing those seem to create conflicts with tk8.5 and tcl8.5 which I already have. Then: $ cd src $ ./autogen.sh $ ./configure --enable-simulator $ make and I get linking errors: Linking gs2_vfd objects/hal/user_comps/modbus.o: In function `modbus_connect_rtu': /emc2-dev/src/hal/user_comps/modbus.c:945: undefined reference to `g_print' I looked in the 'configure' script around line 4194 for how glib is detected. On my system I get $ pkg-config glib-2.0 --modversion 2.30.0 pkg-config glib-2.0 --cflags -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include $ pkg-config glib-2.0 --libs -lglib-2.0 Help! Anders -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] simulator build on Ubuntu 11.10 64-bit
On Sat, Nov 19, 2011 at 9:41 PM, Anders Wallin anders.e.e.wal...@gmail.com wrote: Don't ask me exactly why, but with these changes I now seem to be able to build on 64-bit Ubuntu 11.10: I previously copy/pasted the output of git diff, but that doesn't create a valid patch (problems with long lines etc). This is made with git format-patch -1 and should be better: http://www.anderswallin.net/wp-content/uploads/2011/11/0001-changes-to-make-sim-build-on-ubuntu-11.10.patch_.tar.gz AW -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Angular axis A moving, tool not moving in Axis interface
did anyone look into this: http://article.gmane.org/gmane.linux.distributions.emc.devel/4863 ? if AXIS uses gcodemodule.cc for the graphics preview I wouldn't be surprised if A-axis rotations are wrong. Ofcourse if everything is fixed and OK with changes to INI/GEOMETRY then the problem is not in gcodemodule.cc Anders On Wed, Oct 12, 2011 at 3:29 PM, andy pugh bodge...@gmail.com wrote: On 12 October 2011 13:24, Farzin Kamangar farzin.kaman...@gmail.com wrote: Dear EMC users, I have a question regarding the tool movement when angular axis A is moving. There is an ongoing thread about this subject. In short, you need to have the A axis as part of the GEOMETRY spec in the INI file. -- atp Torque wrenches are for the obedience of fools and the guidance of wise men -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- 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] Angular axis A moving, tool not moving in Axis interface
My suggested change is in a function rs274_arc_to_segments which should apply to g2 and g3 moves, I think. But it appears in this case the lack of A-axis motion in preview is due to something else entirely... On Wed, Oct 12, 2011 at 6:51 PM, Sebastian Kuzminsky s...@highlab.com wrote: I just looked at this briefly in sim with the axis 9-axis config. I was typing in MDI g0 commands while watching the gremlin/motion preview. I was using something near the tip of the 2.5 branch. Movements in B rotate the displayed tool around a line parallel to Y, and movements in C rotate the tool around a line parallel to Z, both as expected. But movements in A don't show any tool motion. The coordinate in the DRO changes as expected, but the tool doesn't move in the preview. The patch that Anders suggested has no effect as far as I could tell. On Oct 12, 2011, at 07:07 , Anders Wallin wrote: did anyone look into this: http://article.gmane.org/gmane.linux.distributions.emc.devel/4863 ? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] OpenCNC paper
Hi all, While browsing the interwebs I came across this new paper Performance analysis of cross–coupled controllers for CNC machines based upon precise real–time contour error measurement http://www.sciencedirect.com/science/article/pii/S0890695511001659 or http://dx.doi.org/10.1016/j.ijmachtools.2011.08.015 It uses MDSI:s OpenCNC controller. Does anyone know if there is any common history of the EMC-project and MDSI's open architecture OpenCNC ? Drop me an email if you are interested in the PDF but are not sitting on a campus with access :) Anders -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OpenCNC paper
Yes, some of the early(1993-1994) EMC papers from NIST also use the open-architecture term. A couple are referenced in the wikipedia article: http://en.wikipedia.org/wiki/Enhanced_Motion_Controller A quick google turns up the MDSI page at http://www.mdsi2.com/ which states In 1993 MDSI revolutionized manufacturing with OpenCNC® - the world’s first open–architecture, CNC software not requiring any proprietary hardware. Sounds to me like they mean Open in a very specific and limited sense. It runs on generic hardware. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] No-kidding CAD/Cam package for milling
I've been playing with HeeksCAD/HeeksCNC. I'm quite new to machining, cad/cam etc, so I can't comment on how it compares to other packages. I run it under Ubuntu. It works under windows as well. See http://code.google.com/p/heekscad/ slightly OT, but anyway: everyone who feels confident in c++ and/or computational geometry or is willing to learn, I have a project where the goal is to create a CAM-library for toolpath calculations: http://code.google.com/p/opencamlib/ Some things to work on: - documentation/examples - finish push-cutter (radial tool projection of a cone-shape) - add line and arc generators to the voronoi-diagram algorithm. this leads to a fast and robust 2D offset algorithm. (something the librecad project could be interested in also?) - construction of cutter-location surfaces/meshes. various slicing, cutting, and filtering operations on this surface then leads to more advanced toolpath strategies than the simple zigzag and waterline which are in prototype-stage right now. - cutting simulation. the bare-bones are sort of there but integration with an OpenGL environment of choice as well as interfacing with the emc2 interpreter is missing. Anders -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [OT] CAM Simulation?
Phu... I guess I have to learn some OpenGL. And I wanted to look at OpenCL for tool path generation, single precision floating points would will most probably be sufficient for tool path generation, I guess. Did you think about using the GPU to do the calculations for the simulation? There are one or two papers by Tukora about this: http://www.youtube.com/user/BalazsTukora and http://dx.doi.org/10.1201/9780203859476.ch93 I don't know much about GPU-based algorithms, but I think it's based on doing boolean operations between two tri-dexel models (one for the stock, one for the tool) quickly in parallel. The isosurface algorithm can probably also be parallellized on a GPU. If the opencamlib cutting simulation can be made to run fast enough with straight c++ on a CPU then I'm not so keen on learning OpenCL and introducing special hardware requirements. Right now the stock-update takes milliseconds and triangle extraction tens of milliseconds. For now I'll try to set up a build environment for your libraries. I'm on Windows 7 (64 bit) most of the time. Would you suggest to switch to Ubuntu? I would probably be easier to set-up reverting to compile your libraries, right? Dan Heeks and others have built opencamlib on windows using the visual studio project file in SVN. The free visual studio express does not have OpenMP support (for multi-threading). Using cmake and gcc on linux is probably easier. I have upgraded my machines to Ubuntu 11.04 now. It might be possible to use the same tools on Windows using cygwin, but I haven't tried. Anders -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [OT] CAM Simulation?
Look at what Anders Wallin is doing with opencamlib http://www.anderswallin.net/ Thanks for the link. Look good: http://code.google.com/p/opencamlib/ Hi all, There are about three or four parts (objects) that make up a simulation. Some are sort of ready, some are not. (a) interpreter (read in g-code, call simulator with something close to emc2 canon-commands) (b) stock model. Now I am using a scalar distance field stored in an octree. Some of the better isosurface extraction algorithms store exact intersections as well as normal data in the octree also. (c) surface extraction. This algorithm/object looks at the octree and produces triangles for rendering. The simplest one is classic lorensencline marching-cubes, but there are newer ones that handle sharp edges better. (d) rendering interface. My latest experiment uses a Qt QGLWidget (a wrapper around OpenGL) and an OpenGL VBO to store triangles. The stock model calls deleteTriangle on triangles that are cut, the surface extraction algorithm calls addTriangle to add new triangles. I have not looked at (a) seriously at all. It would be great if someone familiar with the emc2 interp could help. For now (b) stores a scalar distance field, and the updates are done with the tool static, i.e. positioned at some (x,y,z) position. This means that a G0/1/2/3 move should be sampled densely and the cutter subtracted for each sample position. A fancier/faster(?) version would calculate the cutter sweep volume for a G0/1/2/3 move and subtract the whole sweep. This is not trivial for 4/5-axis simultaneous G1/2/3 moves. I have a simple marching-cubes algorithm for (c). Extended marching cubes (Kobbelt) or dual contouring (Ju et al) would be better, but also more computationally expensive. Requires some rewriting of the octree and cutting-volume classes to store 'hermite'-data (exact intersections and normals). Kobbelt has a reference implementation online which should prove useful to at least look at. For rendering (d) I am using QGLWidget just because I got it to work quite painlessly. For emc2 any OpenGL/toolkit would do. I was driving things(c++ objects) from python previously, but now I think that is too slow for rendering and it all needs to be c++. As usual I have a lot of pdf papers about these things if anyone wants to read! :) I am a bit busy now in May but if there is interest, esp. wrt. emc2 interpreter and opengl/rendering on emc2-distro or even AXIS, then it would be great to get something going in June or so. Anders -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT: MPG format
Thanks for all the replies. I'll go with convention then; a rotating knob on the wheel. Throwing the hat over the fence; I'll post back on this within two months on where I've got to. (too many projects..) If you can make an alternative one with a 'hi-fi' look (smooth wheel, no detents(?)), with maybe a push-down functionality (the whole wheel is a momentary-on push-button) then it might be interesting for a lot more DIYers than just us CNCers. AW -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Use of Pico Systems brush servo amps with Mesa 5i20 controller
I believe there are a few people using the Pico Systems brush PWM servo amp with mesa controller boards. We are using this combination on our mill. I'm not using any special boot-up HAL code for the servo amp. When dry-testing the servos on the bench (no load attached), this boot-up sometimes causes the servo to spin in one direction, causing a following error. In practice with a load attached and with a tuned PID-loop there are no problems. I guess the encoder input is noisy enough, or the PID-settings are such, that the drive gets the required boot-up dir/pwm anyway, and with the load attached this never causes a following error on our mill. Anders -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Please contribute to Wikipedia article about EMC2
http://en.wikipedia.org/wiki/Enhanced_Motion_Controller It would be best if you do it while logged on into a Wikipedia account. We need to put up an original page that is at least adequate, so that it would not be removed. someone was asking for third-party references. Digging up scientific papers on the interwebs is what I do for a day job (sort of), so I have now added some to the wikipedia page. I think I will archive the references on my blog, just to keep the links somewhere if the wikipedia page disappears. The pattern seems to be that what NIST created with GM and the Navy in the 1990s is only now being adopted for researchdevelopment en masse in China and the eastern european countries. Anders -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] rigid tapping
Here's our simple solution for the spindle encoder: http://www.anderswallin.net/wp-content/uploads/2008/06/encoder.jpg It's a US-digital encoder which is mounted to a U-shaped bracket which is bolted to the fan-grill on the back of the AC-induction spindle motor. There was a thread on the end of the motor axis, so we extended the axis with a piece of threaded rod. The axis coupler is a piece of plastic tubing. We use an Omron Varispeed V7 VFD which does a decent job of keeping up the torque even at low RPM. With a 1.5kW spindle motor which is 1:1 coupled to the spindle it is possible to rigid-tap M2 through M6 holes in aluminium at 500 RPM. I would not try much bigger taps or tapping in steel with this small machine. Anders I have just completed the conversion of my HERMLE 801 to EMC2. Rigid tapping was the last function to implement. From my experience you need an encoder coupled to the spindle. I used a simple but reliable encoder made by CUI (AMT102, www.cui.com). -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] using EMC for a manual CMM
I think I should be able to do this with the parallel port or at most a Mesa card. Anybody tried this or have advice? having EMC2 display the machine position in DRO-mode should be fairly straightforward, and you could write the coordinates to disk when the user presses a button, or every 1s or something similar. You might have to DIY the GUI for your particular application. Your choice between a parallel port and a mesa card will depend on the maximum pulse rate on the encoders, if you will push the machine around fast so that the pulse rate is 10 kHz or more you will probably want a mesa card or some other fast encoder counter solution. AW -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC as an alternative to Heidenhain iTNC 530, Siemens 840D, etc.
The basic question I guess is would EMC be able to provice the same tool path quality as the (lower end) Siemens or Heidenhain controllers? You should run EMC in simulator mode, and use halscope or halstreamer to record all the joint positions to disk. Then you can analyze this data later for correctness/smoothness. It is fairly easy to choke the EMC interpreter/traj-planner with G-code which consists of many many short G01-segments. It could be argued that these should be filtered to longer lines, arcs, biarcs or NURBS G-code, but if you have a CAM-program that only outputs these short G01-segments this could become a problem. Even with a hobby mill this is an issue. We have 5m/min rapids on our machine and when programming a contouring operation at say for example 2m/min feedrate, if the CAM-program outputs lots and lots of short G01-segments the EMC interpreter/traj-planner will not handle it well and the actual feedrate may be 1m/min or even lower. You should be able to test for this in simulator mode (see above). Improving the trajectory-planner is not an easy task. I think the consensus reached last time we were discussing this is that it is a very hard task indeed _unless_ some restrictions are added. For example restricting traj-planner to only 3-axis trivkins and/or restricting feed-override to 0-100% (not 100%). Also I think there is a restriction of one G-code block (or canon-command) per servo thread cycle. If you run a normal servo-thread at 1ms that means 1000-lines of G-code per second (in theory). If your CAM-program outputs more than this you will get the slowed down feedrate I mentioned above. As mentioned by other posters this is a problem you rarely encounter with hobby-grade machines because it only occurs with bad CAM-code which consists of the many many small G01 segments and with high-speed machinery where you want to cut at 5m/min or 10m/min (or more!). When you have this kind of cash invested in the machine, the tooling, and are under time-pressure to have to run your machine at 10m/min then suddenly I think investing another 10k or 20k in a pro controller is not a problem... (contrast to sitting down, learning all the innards of emc2, learning trajectory-planning math/geometry, and attempting to write a high-speed traj-planner for EMC2) Anders -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Tuning Torque mode drives
I'm working on a servo driven router that has a Mesa 5i20 and 7i33 card. Started with the H2 servo example. I have tuned many velocity mode drives and ever things states torque is easier I have not found that to be true for me. I can not find any info on tuning torque mode systems. Nothing is acting like I'm use to seeing so I have no ideal were to start. I did 5i20-card + jon elson PWM DC-brush drives on a mill in 2008: http://www.anderswallin.net/2008/04/pid-tunig/ take some halscope screenshots and add the PID-parameters and put them on the web if you still have problems. Anders -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Microcontroller motor drive [Was: Resolver to Quadrature Convertor]
in the summer of 2006, having bought those cheap Sanyo motors that surpluscenter was selling then, I thought I had time to complete something like this. And I did get as far as actually rotating the motor with control by emc2/mesa5i20 card http://www.anderswallin.net/2006/06/first-steps-with-brushless-servodrive-microchip-dspic-irf-irams/ I chose a then novel dsPIC because it had hardware PWM-generation and an encoder counter. I chose the IRF IRAMS power-stage because it seemed to be the simplest way of doing things. I didn't plan on a current-loop, but there were current-sense resistors on the powerstage for overload protection. I'd agree mostly with what was posted earlier: the challenge is on the analog side of things, particularly current-sensing and overload protection etc. when dealing with high voltages and currents (your average EE101 class does not teach this...) Anders -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mesa 5i20 5i23
It is kinda an inside joke. It started being just a simple h-bridge using the irf high side drivers. Then I thought I would add cycle by cycle current limit. figured out after a few failures that I needed some sort of blanking circuit. Some where along the way an enable was added. (still only lightly tested) Is this the IRAMS-series chips with most of the driver integrated, and accepts TTL signals as input? I have a few of them which I could play with, but they don't have current limiting so an external current-sense resistor and amplifier is needed. It looked like this in 2006 when I thought I would have time to build my own AC servodrive... http://www.anderswallin.net/wp-content/2006_06servo/powerstage.jpg The IRAMS is bolted to the left side of the shiny heatsink. AW -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Advice on servos
I know I need servos. The only low cost servos I have found so far are from keling. I'm probably going to go with the KL23-130-60 NEMA 23 sized servos. The link is here http://www.kelinginc.net/ServoMotors.html . If anyone knows who else sells low cost servos, I would very much be interested in any info you might have. Brushless is not much more expensive so you could look at those too. The next part is where I am confused. I was looking at the Gecko Drive G320X. Is it correct in thinking this would be used just like a stepper driver with the step, dir inputs and emc would know nothing about the encoder positions on the servos? If you have fast encoder inputs to emc (mesa or similar card), you could wire the encoder signals to emc also. The gecko-drive would still close the loop, but emc would be aware of the position (or position error) of the machine. This is the way most professional big machines do it (I think). The drive is closely matched/tuned to the motor and closes the loop. The motioncontroller just outputs step/dir signals and just to make sure also reads the encoder signals. Instead of the G320X, if i got a mesa FPGA card, could I use any generic h-bridge with the mesa card to control the servo and have the servo encoders read by the mesa fpga card? This is the cool thing about emc, it can close loops in real-time. On my mill I used a mesa card with pico-systems pwm-input amplifiers for brushed motors. Now I'm converting a lathe and the plan is to use a mesa card+ pwm-input brushless amps. This is roughly how my mill setup looks like: http://www.anderswallin.net/wp-content/uploads/2008/09/dc_servo_schematic_2008jan19.pdf Anders -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Atom330 real-time performance
Hi all, I just put together a small emc2 box for my lathe-project: http://www.anderswallin.net/2010/01/atom330itx-computer-for-emc2-lathe-control/ The performance database here http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Latency-Test shows a quite low jitter number of 6000 ns or so. I was getting double that, or 12-16000 ns when running glxgears, firefox, etc. together with latency-test. This is a standard 32-bit 8.04LTS install after which I ran http://linuxcnc.org/hardy/emc2-install.sh Any special tweaks to the BIOS or to Ubuntu which could make realtime performance better? The Atom330 has one CPU, if I understand correctly, but the BIOS has a setting for HyperThreading, so Ubuntu thinks there are two CPUs. Has anyone experimented with HT on/off to see the effect on realtime latency? (would I need an SMP-realtime kernel?) Anders -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Atom330 real-time performance
The Atom330 is a dual-core CPU. interesting, the default Real-Time kernel apparently does not see the second core at all? Since when I look at the resource-monitor there is only one graph for cpu load. So with HyperThreading the Atom330 looks like 4 cores to the OS? Question: do you need that? I don't think so, for a servo machine even 50k ns latency is ok. There are some SMP packages in experimental [1] but they have the disadvantage that you won't always get the latest emc2 version in automatic updates, and if no-one builds it you need to build it yourself from source. Performance is probably good enough already. I'll probably stick to the standard distribution so I get automatic updates. AW -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Interferometric leadscrew measurement/mapping?
A laser interferometer is on my todo list. I've acquired all of the optics on ebay for a total of a few hundred dollars. I've built a power supply. The major part I'm missing is the counting and interpolating electronics with a computer interface. Hi Ken, the heterodyne interferometers I have found described mostly use a two-frequency laser which emits two orthogonal polarizations with slightly (500kHz? or in your case 4 MHz) different frequency. Did you find a Zeeman-stabilized two-frequency laser on ebay? Or are you planning to DIY and put magnets around a normal HeNe tube? Sams Laser FAQ has a description: http://www.repairfaq.org/sam/laserchn.htm#chndzees The other method is to use an acousto-optic modulator to shift the frequency of the light. But the papers I've found use two modulators, and I only have one to spare right now... If I can either find a two-frequency HeNe or DIY with magnets then I'd be interested in testing this, possibly with the m5i20 (already has fpga code for fast encoder counters) for data acquisition. Anders -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Interferometric leadscrew measurement/mapping?
Hi all, I built a simple interferometer for measuring the surface of a hand ground/polished telescope mirror a while ago. Yesterday I removed the expanding lens and used a photodiode to measure the interference fringes. I mounted the back-reflector on a small motorized stage which has ca 100mm of movement range. It worked OKish and I will post a pic and some results soon. With this simple setup there is only one sine-shaped signal so I don't know which direction the stage moves when I see fringes. I am wondering if anyone in the group has experience with a commercial professional interferometer used for measuring machine tools? Any links to sites that explain the principles? or papers? regards, Anders W -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Interferometric leadscrew measurement/mapping?
Happy to see some pic of your's prototype ! I have ever made an prototype interferometer to do measurement of distance. And I have some difficult to have a good signal on photodiode to have stable measurement. one picture and some text is now here. http://www.anderswallin.net/2009/12/michelson-interferometer/ I hope to analyze the data and post a result picture later when I have time. For that i know I think to know in which direction you are going you must detect the front side or down side of interference with two photodiode reading the same interference but with an difference of period T/4 in long ! Looks like absolute encoders ! Yes. You need two signals in quadrature. But how is this typically achieved in a commercial instrument? These things must be very robustly built if they are used in an industrial setting! AW -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] documentation?
I am not sure how to wire 74HC148 Can you show how to connect wires 7-20 to 74HC148 and to 11 pins on 7i37 (00in, 01in, 02in. ………10in) take a close look at the datasheet http://focus.ti.com/lit/ds/symlink/sn74hc148.pdf the 74hc148 has three output bits, you wire these to your m5i20. since it has three bits it can be in 2^3 or eight (8) different states. So you could potentially wire an 8-way rotary selection switch to the inputs, and it will output a three-bit pattern corresponding to the position of the switch. You would then save 8-3 = 5 I/O pins. With two bits you can have 4 states, so for a 4-position rotary switch you would save 4-2 = 2 I/O pins. if you have lots of I/O pins to spare and are using 3 or 4-way rotary switches it may not be worth it to encode the position of the switch with a 74hc148 Anders -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] documentation?
HAL is very much like wiring real electronic components (data-flow, if you want a fancy word LabVIEW and simulink uses...). I think the best representation for our brains to understand and remember these things is not a text file with components and links but a schematic. I tried drawing the electrical side of things here: http://www.anderswallin.net/2008/09/servo-setup/ next time when I have copious amounts of free time it would be nice to work on something that reads and understands a HAL-file (or a running EMC via halshow?) and produces a picture of the connections. There was some work in this direction already; http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Crapahalic and maybe something for drawing HAL-circuits with Eagle? Anders -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Mesa 5i20 vs 22 vs 23 ?
Hi all, I have a mill which runs a mesa 5i20 card and I am now starting a lathe build/retrofit (more on that later!). Compared to a few years ago there are now three or four variants of these cards available: 5i20, 5i22-1, 5i22-1.5 and 5i23. Also, I know there has been some good work on the modular hm2 fpga-code and emc2-driver for these cards. - How stable is the hm2 fpga-code + driver right now? anyone using it routinely for 'production' ? - Any benefits of the 5i23 (400kgate fpga) over the 5i20 (200k fpga) ? - The 5i22 cards are more expensive, have a bit more I/O, but isn't the large fpga overkill for a setup where emc2 runs the pid-loops on the cpu anyway? For the lathe I will have servos on the Z- and X-axes, not sure about DC-brush vs. brushless yet, but Jon Elsons PWM amps work very well on the mill so I am leaning towards them. Then the spindle will hopefully be driven by a big 1.75kW brushless servo. The lathe project also calls for a revolver-type toolchanger which needs one I/O bit for a pneumatic cylinder, and one servo/stepper axis to rotate the revolver. In addition I will need the usual jog-pendant I/O: MPG (thinking about two, separate for X and Z), a few selection-switches, and some buttons. Live tooling is a dream for the future :) Looking at the schematic for the mill[1], I think the lathe setup will be pretty similar and I should be OK with 72 I/O pins. regards, Anders W [1] http://www.anderswallin.net/wp-content/uploads/2008/09/dc_servo_schematic_2008jan19.pdf -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Servo tuning--plot request
On Sat, Aug 8, 2009 at 8:49 PM, Dale Groverdgro...@redcedar.com wrote: I'm writing up a little article on EMC and would like to include a graphic image of EMC being used to tune a servo. Does anyone have a plot (before and after tuning) showing a step response for a servo? I have some images on my website: http://www.anderswallin.net/2008/04/pid-tunig/ http://www.anderswallin.net/2008/04/x-axis-test/ This is not a step response (where you demand infinite acc and vel from the system!) but a response to a G0 move. Anders -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] CAM Paper (octree-cutting) request
I have been reading these about octree-based cutting simulations http://www.springerlink.com/content/d8m1658322091400/ http://dx.doi.org/10.1016/j.jmatprotec.2007.11.092 http://www.springerlink.com/content/l26352242w782n3h/ (email me directly if anyone wants the pdfs) However I would be interested in a paper by the same authors which discusses calculation of the swept-cutter volumes: http://journals.pepublishing.com/content/70342283137l/ I don't seem to have access to this from my campus, so if it's not too much trouble I would ask someone else, who has access, to download it and share. thanks, Anders W -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Servo Control
R/C Servos take a digital pulse input at around 50 (or 100?) Hz. The width of the pulse determines the position of the servo. A width of 1.5 ms is the central position, and 1.0 ms is full left (for example), while 2.0 ms is full right. if you have digital I/O connected to EMC (parallel port or a pci-card) and a machine that can run with a base_period of 25us that would mean around 40 base_period's for the full range of motion of the servo. Do you need more resolution? Some machines may be able to run with a shorter base_period. There might be an existing PWM HAL component you can use to produce this output, but it's not hard to code your own if you need to. Anders Hi, I am planning to build a robot arm which holds a driller. (it means 6dof afaik) Is there a way to write a configuration to control 3 std. R/C servos directly? Where do I have to look? The way which seems easy to me is burning a PIC interface prog which takes parport information and emulates stepper motors. Is there a direct way? As you can imagine it will reduce operation speed of machine too much. Thanks -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] EMC paper
there's a new paper out on desktop parallel kinematic machines which uses EMC2 http://www.springerlink.com/content/j12r46v2v93g5t07/ I have the pdf if anyone is interested. Anders -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] MDF-milling videos
For a model-yacht project, we are making positive plugs in MDF over which glass/carbon-fiber moulds will be laminated. Jari has posted two new videos, they're in my blog: http://www.anderswallin.net/2009/02/milling-mdf/ enjoy, Anders -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] RES: Successful Emc2 conversion (happy
Peter blodow wrote: Hello John, I can't understand all that chat about Mesa 5xxx and 7xxx etc. without knowing what these boards are and what they do. I see that Mesa boards and their names are used widely in EMC. Here in Germany I can't even find the brand name of Mesa in ebay. Please supply a link to descriptions so I can go looking for something comparable on the European market. They are made by Mesa: http://www.mesanet.com/ I don't think there's a re-seller in europe, but the dollar is cheap and I got my board by UPS/FedEx quite quickly. (VAT is a problem, depending on your customs you might have to pay VAT when you pick up the packet) If you want something cheaper also with a programmable fpga then look at the Pluto board. AW -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Anders Wallins site
Hello there, I wonder if there were a way to get that servo schematic of Anders Wallin in readable form, i.e., in high resolution so the small characters are recognizeable? Peter Blodow http://www.anderswallin.net/wp-content/uploads/2008/09/dc_servo_schematic_2008jan19.pdf when printed on an A4 the text can be a bit small, but on a computer the pdf allows zooming in. The original is in CorelDraw (12 or 13, don't remember), and I can email it to anyone who asks nicely. Remember this is just my machine, not a recommendation on how to wire cnc-machines, and not a recommendation on how to deal with safety issues or anything! (anyone who has built a cnc-machine should take this as a challenge to publish their more-better-gooder schematic on the web!) AW -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Inverse deadband - Anders Wallin
I'm using a 5i20 with the PWM amps. there's a schematic of approximately how it all fits together here: http://www.anderswallin.net/2008/09/servo-setup/ The HAL, ini, and pyVCP files are at the end of this post http://www.anderswallin.net/2008/04/emc2-test-run/ they may not be the very latest we use on the mill right now but they should be close enough. Anders, Could you please post your 7i43 HAL file to pastebin.com . I'm following in your foot steps with a 7i43 and one of Jon's PWM AMP's. Your file could save me a lot of time effort and posts. Thanks, Roger -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Inverse deadband - Anders Wallin
Hello Sam, everyone, I don't have a machine with the right ssh-keys installed right now, so if this is useful another developer could check this in. it has been in use on our mill for several months and worked OK. http://www.youtube.com/jmi80 there might be another better name than inverse-deadband ? Anders: I was wondering if you would be willing to commit your IDB hal component. (I think it would be a great addition to emc) http://www.anderswallin.net/2008/04/idb-inverse-deadband-component-for-emc2/ thanks sam -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Tune up- HAL Oscilloscope.
Hi i should be able to go up to +10V to -10V. Am i right? is 1.0 output units means i use only 1.0V out of 10V that system can output? does pic www.conceptmachinery.com/Sh12.jpg looks ok? This looks better, now your Xoutput is not saturating and the error also looks trapezoidal. This is a system you can start to tune - the previous one was hopeless. Check with a multimeter or oscilloscope what you get out from the DAC, and what the servodrive can accept. As someone suggested, there might be a speed/acceleration (or voltage/current) limit in the drive also. AW - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Tune up- HAL Oscilloscope.
Xoutput is again saturating at +1. Did you check that the +1 level is OK, and it shouldn't go to +10 ? If +1 is the correct limit then you are simply asking for too much speed during the cruise-phase. Lower MAXVEL until Xouptut stays below +1 during the cruise-phase (maybe at 0.7 - 0.8 or so...) AW Hi I have another pic http://www.conceptmachinery.com/Sh11.jpg On the graph X pos-cmd commanded position. Xpos-fb Xpos-cmd commanded position and it parallel to Xpos-fb. That what is should be? X output begins ok but ends wrong. Think X output should looks like trapeze. What need to change to make second part of X output looks like first? My current P 230, I 1.8, D0. Also pid.0.error should be similar graph to X output, is this right. When X output become flat so should be pid.0.error become flat. But in my case it is not. What should I change here? Thanks aram - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Pic a servo
There are several systems along these lines that already exist: pico-systems ppmc, mesanet.com's 7i43, and pluto_servo all use the EPP protocol for this purpose, and each one has established its own protocol details. Isn't the parallel-port going the way of the Do-Do pretty soon? I remember when this discussion came up a while ago one option was Ethernet-based communication. There is a 100Mbit or Gigabit ethernet port on all new computers and that won't go away anytime soon (I think). A modular board that has a real-time connection via Ethernet would be nice. Digital I/O, ADC, DAC modules could be added as needed. my 2c, Anders - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] interpolation algorithm
I assume you mean the trajectory control: how to output points in space _and_ time. Interpolating lines and circles in 3d space only is trivial. EMC2:s trajectory controller is not very well documented, especially the interesting bits where G64 blending is done. I tried writing something on the simple G61/G61.1 trajectory controller some years ago: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Tp_Notes I want to know the place where implements interpolation algorithm to controller axes running according a line in 3d space and the circle in 2d space in emc2. And if you don't mind please give me diagrams of the interpolation algorithm. Thank you - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Spindle command voltage
take a look at motion.spindle-speed-out with halmeter. it should have both sign and a value equal to what you program with M4Sxxx. You could then simply scale motion.spindle-speed-out so that your maximum rpm gets converted to a value of 10, and then wire this HAL signal to your DAC. I have been reading the documentation and searching the web site, and it seems that EMC is generally configured for a 0-10v signal to run the spindle with outputs controlling the direction. The mode that I would like to run my Baldor spindle drive in requires that the signal be +/-10v (-10v being full reverse and +10v being full forward). What is the easiest way to get the M04 to output negative voltage. I know that there are a number of ways to do this with relays, but it seems logical that the Motenc board should be able to output the negative voltage for reverse rotation. As I am short on I/O’s, I hate to give up even one if I don’t have to. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC2 capabilities
this is a list of I/O hardware that you plug directly into your computer either via ISA, PCI, or Parallel port. These cards typically are not servo-amplifiers themselves but provide encoder counters, DACs, ADCs, and digital IO. The I/O hardware can then be hooked up to any servo amplifiers, encoders, etc. that are compatible (Gecko, Rutex, etc.etc.). The list of compatible servo-drives etc. would be a very long one - but you may create a new page on the wiki if you feel this is worth cataloging. Shouldn't Rutex be in the HCL? --S 2008/8/31 Anders Wallin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I'm also looking for a hardware compatibility list(HCL) for EMC2 ... if someone can point me in that direction. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Checking MPG operation
Could anyone else with a jog dial check this behavior out and see if your system does it, too? I just wanted to make sure it wasn't a side effect of the low-pass filter or some other aspect of my PPMC driver/boards. My MPG + m5i20 setup works the same as yours, i.e. machine continues to move after mpg-wheel is stopped if the feed-override is lower than 100%. When feed override is 100% my MPG works fine. So it seems this is an EMC issue which needs fixing! Is the way you use a low-pass filter documented in the wiki or in the manual ? I could try that some day. Anders - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Checking MPG operation
If you turn the wheel quickly and EMC can only move slowly, it will keep moving after the wheel stops until it catches up. This is NOT a bug. I am using position-mode, and I am guessing that Jon is too. Bug or not, it is surprising behavior to the MPG/EMC2 user (perhaps not to the EMC2 developer...). Anders - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users