Re: [Emc-users] 5i25 miss-behaving
Greetings > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: 12 November 2015 22:07 > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] 5i25 miss-behaving > On 12 November 2015 at 21:44, Gene Heskett <ghesk...@wdtv.com> wrote: >>> Checking the status in showconfig, it (gpio.003) is an input. And I >>> do not believe I have a separate pullup on the line, that card is >>> AFAIK, doing that 3.3 volts. Any pullups I would have installed >>> would have been to the 5 volt rail. > Are the 5i25 inputs 5V tolerant? -- > atp It all depends! From 5i25 manual 5V I/O TOLERANCE The FPGA used on the 5I25 has a 4V absolute maximum input voltage specification. To allow interfacing with 5V inputs, the 5I25 has bus switches on all I/O pins. The bus switches work by turning off when the input voltage exceeds a preset threshold. The 5V I/O tolerance option is the default and should normally be left enabled. For high speed applications where only 3.3V maximum signals are present and overshoot clamping is desired, the 5V I/O tolerance option can be disabled. W3 controls the 5V I/O tolerance option. When W3 is on the default UP position, 5V tolerance mode is enabled. When W3 is in the DOWN position, 5V tolerance mode is disabled. Note that W3 controls 5V tolerance on both P2 and P3 I/O connectors. W3 also selects the pull-up resistor voltage, When 5V I/O tolerance mode is selected, the I/O pull-up resistors are powered from 5V. When 5V I/O tolerance mode is disabled, the I/O pull-up resistors are powered with 3.3V. John Prentice -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Winter Machining Project
-Original Message- From: Kirk Wallace [mailto:kwall...@wallacecompany.com] Sent: 08 September 2015 17:47 To: Enhanced Machine Controller (EMC) Subject: [Emc-users] Winter Machining Project With Fall starting soon, it might be good to start planning a project to get one through the idle times during Winter. Here is one idea for a project: http://www.my-time-machines.net/Astro_intro7.jpg http://www.my-time-machines.net/my_current_project3.htm And you don't even have to think much - there is a month-by-month account, by the guy who commissioned it, of the build. This is the link to the latest (July) http://www.my-time-machines.net/astro_07-15.htm They did use Wire EDM for some parts during prototyping but they never made it to the actual clock. All the delicate stuff is cut by eye (through a stereo-microscope) with a power fret saw (scroll saw). The 400 year perpetual calendar runs forwards and backwards - in case of meeting a black hole or two?? John Prentice -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Windows
Yes here is a nice example on a Deckel Maho http://www.comtex.ca/Html/photos/12083_4.jpg John Prentice -Original Message- From: andy pugh [mailto:bodge...@gmail.com] Sent: 02 September 2015 10:55 To: Enhanced Machine Controller (EMC) Subject: [Emc-users] Windows They have used spinning windows on ships for decades. But I had never thought of using them on a CNC machine. It looks like someone else has, though: http://www.dqr.co.uk/visiport.html -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Tormach's Unexpected Benefits Of LinuxCNC
John The PathPilot GPL source is available on DVD. Mail a $10 check to: GPL Compliance Division Tormach Inc. 1071 Uniek Drive Waunakee, WI 53597999 Please write Source Code for Machine Controller Software in the memo line of your payment. I think the handling charge above is still correct but you might like to confirm this with i...@tormach.com John Prentice -Original Message- From: John Dammeyer [mailto:jo...@autoartisans.com] Sent: 20 August 2015 17:02 To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Tormach's Unexpected Benefits Of LinuxCNC It's only a surprise if they release 'their' version of what is Open Source Software LinuxCNC to the rest of the world. Which I suspect they won't so it's really just a marketing ploy. John -Original Message- From: Dave Cole [mailto:linuxcncro...@gmail.com] Sent: August-20-15 7:25 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Tormach's Unexpected Benefits Of LinuxCNC snip -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] 2.6.4---2.5.4
Aram See below Problem is that when i click F1 - off e-stop, i should be able to pick axis -- X Y Z, able to type in in MDI , AND after i push F2 machine power up and after i click on Y axis jog - (any increment ) tham machine should move. that is how 2.5.4 works on my computer. And on my computer for 2.6.4 nothig is same. in live CD - F1 - e-stop off ,and i can no pick axis X Y Z they are frozen not pickable, and i can open MDI but i CAN NOT type there anything. -- I do not know what you mean by pick axis -- X, Y, Z but your workflow with f1 and f2 is unusual. Most people clear the Reset/Estop (f1) and the immediately Power up the control (f2). Then you can Home, issue MDI commands, keyboard jog etc. Attempting anything before Power Up (f2) is not expected to work - perhaps some things did with 2.5.4 and this is the confusion. I don't have a setup to try this at present. 2.6.4 works fine for me (using the f1, f2 workflow described above). John Prentice -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Problem getting latest LinuxCNC RT-preempt version from Buildbot
I am trying to get a built copy of the rt preempt system from Master/(aka 2.8 pre?) via the buildbot as described at http://buildbot.linuxcnc.org/ I have sources.list.d file setup including the line deb http://buildbot.linuxcnc.org/ wheezy master-rtpreempt The package manager returns the error: Failed to fetch http://buildbot.linuxcnc.org/dists/wheezy/Release Unable to find expected entry 'master-preempt/source/Sources' in Release file (Wrong sources.list entry or malformed file) Some index files failed to download. They have been ignored, or old ones used instead. Indeed the list in ../Release has an entry 'master-rtpreempt/sources/Sources' but not the one indicated in the error. Is this a problem in my setup or inconsistency within the buildbot's data? John Prentice -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Nooby trouble with Mesaflash and 7i80
Greetings Running LinuxCNC 2.6 Wheezy install with all notified updates applied and latest Mesaflash (well apt-get says it's latest) Linux networking is turned off and 7i80 directly connected to Ethernet port with patch cable. Mesaflash segfaults on anything other than -help. Here is dmesg (old cruft cleared) = john@Maxdata-Linux:~$ mesaflash Mesaflash version 3.0.0 (built on Jul 15 2014 18:57:58 with libpci 3.1.9) Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB boards (C) 2013-2014 Michael Geszkiewicz (contact: mic...@wp.pl) (C) Mesa Electronics Try 'mesaflash --help' for more information john@Maxdata-Linux:~$ mesaflash --list Segmentation fault john@Maxdata-Linux:~$ sudo dmesg [ 2418.897026] mesaflash[21519]: segfault at 0 ip b7669bd1 sp bfb5168c error 4 in libc-2.13.so[b75ea000+15f000] john@Maxdata-Linux:~$ Any assistance would be most welcome as I am stuck. John Prentice -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Nooby trouble with Mesaflash and 7i80
Peter, greetings Hmm thats a month earlier than the version I get with apt-get install if I type mesaflash --list I get an error saying unrecognized option --list so I think you have an old version Apt-get install insists I am up to date so I totally removed the mesaflash package (with Synaptic) but now cannot find the mesaflash package in any of the repositories I have set up in Synaptic - including LinuxCNC buildbot. So I thought I would try to compile a new one. I downloaded the software for 7i80 from the Anything I/O page of the Mesa website which has an executable but it seems to be a version dated April 2014 so even older. I have not yet compiled that source as it is bedtime but there must be an easy way to get the latest binary version that I am somehow missing. A detailed set of steps would be much appreciated. John Prentice -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] In/Out pin on Hostmot2 Encoder component
Seb - thank you HAL IO pins are strange and apparently very rare beasts which don't map easily in my mind to the wire -- signal analogy. If we review HAL (and its documentation) I wonder if IO pins should be deprecated. A two signal handshake would seem more transparent and allow general interconnection of components rather a special purpose connection such as is used between encoder and axis for resetting counts. Thoughts anyone - perhaps I have totally missed the point. John Prentice -Original Message- From: Sebastian Kuzminsky [mailto:s...@highlab.com] Sent: 08 October 2014 22:25 To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] In/Out pin on Hostmot2 Encoder component On 10/8/14 3:18 PM, John Prentice (FS) wrote: Can anyone give an example snippet of HAL to explain how one might exploit this. I cannot wire a signal to set it True (not surprisingly as it is an output). I must be missing something obvious here and need guidance. Look at the hm2-servo sample config: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=configs/by_interface/ mesa/hm2-servo/hm2-servo.hal;h=50a630a0ab84497fbef5c2927a20acfa3510fa56;hb=r efs/heads/master#l231 -- Sebastian Kuzminsky -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] In/Out pin on Hostmot2 Encoder component
John, thank you for your elaboration. Two points interleaved below: snip To extend the wire-signal analogy, I think of I/O pins as tri-stateable signals. I don't really get this analogy as there is also a memory hiding somewhere for when everyone it tri-stated. It feels more like a wire with some sort of latch with weak pull-up (and perhaps pull-downs?) on its output. I.e. it remembers the state imposed on it by anything bussed onto it when the driver turns on a strong 3-state buffer They have two possible uses: 1) as a one-wire handshake, where component A asserts the signal to request an action, and component B clears it when the action is done. 2) to allow multiple components to drive a signal signal. #1 is the index-enable case. It could be replaced by a two-wire handshake, but motion and all the encoder drivers would need to make the change at the same time, and it would require changing existing configurations. There is one caveat to that replacement. The existing one-wire handshake works even across thread boundaries. In other words, a component running in one thread (or even in user space) can request an index capture from an encoder driver running in a faster thread, and be assured that the encoder driver will capture the index position once and only once. That is because the very act of acknowleding the request also clears the request. If the handshake was split into two wires, a request and an acknowledge, then the requestor MUST see the acknowledge and remove the request before a second index pulse occurs, or the index position will be captured twice. In our normal configurations, the requestor is motion, and it is running in the same thread as the encoder driver, so this doesn't matter. But it is very handy to be able to test an encoder by manually setting the request and seeing that when an index pulse occurs the request is cleared. If doing things manually, there is a very good chance that two (or more) index pulses will arrive before you manually clear the request. It was actually trying to do a manual test that got me into this trouble. I think one needs a special comp with an IO pin to connect to the index-enable to something like a pyVCP button. Is the fundamental concept we want for REQ not an edge-input? The receiver latches this and clears the latch when the action (e.g. count reset by the index) is performed. The requester then has to see an ACK signal, deal with the data, and eventually drop and re-raise the REQ. #2 is not currently used by LinuxCNC to my knowledge. One example that I had in mind for it was a FAULT or ESTOP signal that could be driven by any of multiple components to force a shutdown, without having to OR together a bunch of individual signals, one from each module. This is more like an open-collector than a tri-state output. Each component that might detect a fault would drive its I/O pin to the faulted state when a fault condition exists, and would not drive it at all otherwise. One component would be responsible for driving the signal to the not faulted state only one time when the user attempts to reset the fault. This wired OR would look neat in the HAL but unless faulting pins (e.g. limit switches) are to be forced to use the mechanism we need an understanding of what an IO pin connected to an input pin does (c.f. a tristated output connected to a TTL input without pull-ups/pull-downs would have an indeterminate value). The limit switch example seems to require making the GPIO pins of Hostmot2 be IO in case they are to be wire-ORed. This seems much more complicated that a multiple input OR - which is perhaps why it is not currently used. Anyhow I think I must code a one-shot, whose output is an IO, to exercise the encoder index-enable input. Thanks again John Prentice -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] In/Out pin on Hostmot2 Encoder component
Andy and John Thanks TRISTATE_BIT looks great for the job of kicking an encoder index-enable. John Prentice -Original Message- From: John Kasunich [mailto:jmkasun...@fastmail.fm] Sent: 09 October 2014 19:58 To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] In/Out pin on Hostmot2 Encoder component -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] In/Out pin on Hostmot2 Encoder component
Greetings The Manpage of Hostmot2/Encoder defines a pin: (bit in/out) index-enable When this pin is set to True, the count (and therefore also position) are reset to zero on the next Index (Phase-Z) pulse. At the same time, index-enable is reset to zero to indicate that the pulse has occurred. Can anyone give an example snippet of HAL to explain how one might exploit this. I cannot wire a signal to set it True (not surprisingly as it is an output). I must be missing something obvious here and need guidance. TIA John Prentice -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mixing BLDC and brushed motors
Greetings to anyone who compiles Mesa bitfiles -Original Message- From: Peter C. Wallace [mailto:p...@mesanet.com] On Thu, 4 Sep 2014, John Prentice (FS) wrote: Date: Thu, 4 Sep 2014 22:44:13 +0100 From: John Prentice (FS) j...@castlewd.freeserve.co.uk Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Mixing BLDC and brushed motors snip Not sure if theres a standard bitfile for that but its easy copy-paste a pinout up and make one I have a spare 7i40 so I think I ought to learn how to do this - I see resources on the web that will start me going. Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan 2) boards? What OS would you run it on - I feel concerned that it is so old that it will give trouble on my Win 8.1 (64 bit) system. I can run some Linux flavour in a V-Box to provide any environment to best suit the app. I think 10 is the latest that supports Spartan but 9.2 is my preferred version (before they broke the editor) The short question is: What is the best location for downloading Mesa source? The full story is: Following the link on the 5i20 entry on the main website gets me to a source ZIP which seems to have two files missing from the project (irqlogic.vhd and dpll.vhd) and fails to synthesise - the log is in first half of attached PDF. A Google for inputpinspermodule gets me to this post http://tinyurl.com/o3h4lra and Peter's link to http://freeby.mesanet.com/hostmot2.zip gets a source which, while still missing files (see screenshot at end of attachment), will create a bitfile (for an arbitrary version) once one has added InputPinsPerModule.vhd to the library. I want to be sure I am actually starting from the definitive source code before I risk any changes to make a custom combination of features. TIA John Prentice JAP-ISE-troubles.pdf Description: Adobe PDF document -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Mixing BLDC and brushed motors
Greetings This is probably a question for PCW but others might know or have dome it. I am looking at a small machine design where two axes will be BLDC motors and one (or perhaps two) brushed DC. The BLDC motors suit a 7i39 very well (interfaced by a 5i20). Are there any problems in using just two phases of another 7i39 to drive the brushed motor? I presume that one would drive, say A, with the desired level (positive or negative) holding inputs B and C at zero - i.e. no bldc component is needed. The ideal card for the brushed motor would be a 7i40. Would it be practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist in the 5i20? If so does a BIT file exist with this combination. TIA John Prentice -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Steppers losing position
Greetings -Original Message- From: Viesturs Lācis [mailto:viesturs.la...@gmail.com] 2014-09-04 18:16 GMT+03:00 alex chiosso achio...@gmail.com: If the holes are deeper doesn't it means that the motor is making more steps and not less ? Is it possible that you have extra steps due to noises or bad connections PC --- BoB --- Gecko Drive ? Yes, as I said, motor is drifting in particular direction, which may change (not always), if system is restarted, but the direction of drift does not change, once the system is running - if it gradually goes up, then it does so; if down, then it keeps getting deeper. There is no BoB, step/dir signals go directly from 5i23 to Gecko. Two thoughts - sadly neither addressing the direction of drift constant for a given boot symptom: (a) It is not possible to infer if steps are being lost or gained from a series of holes. Noise might give additional steps - but IMO this is unusual - but this might be when going down when holes get deeper or going up when holes get shallower. (b) It might be worth checking that the 5i23 pullups are set to 5volt for the connector you are using. The 5i20 manual says that, with 3v3 pullups, optos connected to a 5 volt rail may not fully turn off. John Prentice -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Mixing BLDC and brushed motors
Peter thank you -Original Message- From: Peter C. Wallace [mailto:p...@mesanet.com] Yes you can look at the 7i39 as 6 individual 1/2 bridges and drive 3 DC motors from one 7i39. if a brushed motor was connected to half bridges A and B, I _think_ what is needed is to drive A with the PID output and B with -PID output. You can also dedicate one 1/2 bridge output as a 1/2 way up reference and then run up to 5 small dc motors (1/2 voltage 1/5 current) from the other 5 1/2 bridges Ingenious - but it leaves one short on encoder interfacing. I will try the A and B with ++Pid-out and --Pid-out The ideal card for the brushed motor would be a 7i40. Would it be practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist in the 5i20? If so does a BIT file exist with this combination. Not sure if theres a standard bitfile for that but its easy copy-paste a pinout up and make one I have a spare 7i40 so I think I ought to learn how to do this - I see resources on the web that will start me going. Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan 2) boards? What OS would you run it on - I feel concerned that it is so old that it will give trouble on my Win 8.1 (64 bit) system. I can run some Linux flavour in a V-Box to provide any environment to best suit the app. Do you have a link to a document showing the compile workflow for your firmware? A few years ago I have written standalone FPGA and CPLD code for Xilinx - albeit in Verilog so hope not to prove a total nooby. TIA John Prentice -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] connecting logic components inputs without creating signals
Greetings -Original Message- From: Jeff Epler [mailto:jep...@unpythonic.net] I have written 'anonymous net' support in branch jepler/anonymous-net Here's how I describe the new functionality: halcmd: allow net command to create anonymous nets Anonymous nets are named 'n$0', 'n$1', and so forth. This usage is not ambiguous, because until now it was an error if the first argument of net had the same name as a signal. However, any hal file that explicitly uses signals with names starting 'n$' will need to be rewritten to use a different prefix before it can use anonymous nets. I think this will contribute greatly to the maintainability of HAL files, especially for complex systems with multiple HAL files for operator controls and tool changers. It has always been a problem to me knowing if something lexically remote and unexpected (an input pin of course) is hooked onto a given signal name because of their global nature. One can of course inspect the running system but how much better it is to be able to desk check things too. I am however worried about the disambiguation. I assume you mean: This usage is not ambiguous, because until now it was an error if the first argument of net had the same name as a *pin*. While the system will easily know this, the human reader will not easily discern the situation. Many comps have pins that are seldom used so the human reader will not instantly recognise if an anon-signal construct is intended or not. Is there any reason not to make this explicit by a command like anet (standing for automatic/anon net) which will only have a list of pins (conventionally or perhaps mandatorily) starting with the output pin? John Prentice -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] losing hair rapidly here, lcnc is not working as advertised in man pages.
Greetings -Original Message- From: Greg Bentzinger [mailto:skullwo...@yahoo.com] Sent: 16 August 2014 20:46 To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] losing hair rapidly here, lcnc is not working as advertised in man pages. snip Andy - I think the best way to get people to swallow that bitter pill would be to add naming enforcement to the 2.7 release. Everybody is dying to get there hands on it and ring the new bells and whistles, perhaps make that part of the price of admission. I think backwards compatibility trumps regularity. One might add new conforming COMPs but the old ones need to live (for a good while) as there are enough unknowns at an upgrade without having to rewrite halfiles. Knowing these things are irregular should just strengthen the RTFM reflex. The lut5 man page is pretty clear: === : : PINS lut5.N.in-0 bit in lut5.N.in-1 bit in lut5.N.in-2 bit in lut5.N.in-3 bit in lut5.N.in-4 bit in lut5.N.out bit out : = John Prentice -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Crackling motors using Beaglebone
Jumping in - I have had this with the MachineKit. No noise but as I had the 'scope on the signals I spotted the fidgeting Dir. I had no pulses on Step line, just Dir hunting. I was worried that it might stop the stepper drivers going to reduced current mode but with the ones I was using this was OK. Best wishes John Prentice -Original Message- From: Stephen Dubovsky [mailto:smdubov...@gmail.com] Sent: 22 February 2014 16:33 To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Crackling motors using Beaglebone Are steps also being generated (back and forth) or is just the direction line toggling (w/ no steps)? On Sat, Feb 22, 2014 at 10:56 AM, Mark Tucker m...@rmtucker.f2s.com wrote: I seem to remember there being a fix for this around v2.3 or something to stop the stepper motors hunting.which i assume must have been a parameter to set the tolerance for acceptable position. Does this not apply when using hardware generated pulses? I will have to leave the beaglebone on the bench until charles has time to sort this one out. I don't think it is doing any damage but it really does sound awful. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Crackling motors using Beaglebone
Mark Not Geckos here but a Leadshine 3 phase stepper motor driver. I think John K has covered more bases than I ever could. In essence I see it as the accumulator counting up and down but not overflowing so a step never gets emitted but the sign of the error is changing so Dir follows this. Best wishes John Prentice -Original Message- From: Mark Tucker [mailto:m...@rmtucker.f2s.com] Sent: 22 February 2014 18:08 To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Crackling motors using Beaglebone John I don't suppose you are using Gecko's? As Jeff mentioned earlier it seems like a Gecko driver does not like the Dir line wiggled about in that fashion. Why it should make a noise beats me,but i can assure everyone that the drives are running without these noises on a pc setup and have been for many years. Also if the machine comes to a halt and the motor hunts because it is not in the exact position ie 1/2 step out,The step line would also be stepping to adjust the position. Or am i not grasping this? -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Machinekit Gui
Charles, Philipp, Mark- greetings http://www.tormach.com/store/index.php?app=ecomns=prodshowref=30616 It is configured with a geometric speed law on the spring-loaded ring. You can jog at full rapid speed slowing to a crawl allowing touch-off to a tenth very quickly and safely compared with an MPG or keyboard. Nice unit...I forgot about those. Do you have configs available to get it working with LinuxCNC or does it Just Work? It's not clear from the product page if I can just buy one and use it with a generic LinuxCNC install, or if it only works with Tormach machines. I have access to some similar control panels (jog-shuttle with T-Bar and a bunch of buttonsdid I mention my day job is HD video editing equipment?) and it might make for a pretty nifty control: The Contour product is of course aimed at video editing but does CNC very well as it is practically impossible to accidentally move the machine. Joysticks are a bit too easy to knock for my liking. Seb wrote a component that uses the Linux HIDRAW driver to get the button clicks as HAL Booleans; the Ring is encoded as -7 to 7 for the 14 speeds and stop; the inner wheel gives a signed count updated on each click. This is in the current LinuxCNC releases and so Machinekit. man shuttlexpress gets its doc. I have a very simple COMP that translates the ring position number to an arbitrary range of speeds defined by 7 input pins, latches the buttons for axis selection and supports different step sizes. It can be done in HAL but IMO the C is much more transparent. Thus device does not need a Tormach machine tool to be useful. The Tormach version has silk screened labels but is internally the same as the stock unit sold by Contour. Best wishes John Prentice -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Machinekit Gui
Greetings Charles wrote: It looks good, but for some reason the CPU usage on my BeagleBone is around 50%! I don't know if this is specifically BeagleBone related, or perhaps due to the fact that I just pulled the configs/sim/gscreen and share/gscreen/ directories from Master (skipping anything else updated outside these two directory trees). Regardless, it seems responsive enough when I use keyboard jog, so I'll try and get it working with a real configuration and try moving motors. I am working with a custom GUI in GTK2 including Gremlin on my BBB. The following are anecdotal observations. I would love to properly profile the running code bit do not yet see how to use the available tools (e.g. cProfile) (a) Gremlin needs lots of CPU - I don't know whether it is screen rendering without the hardware accelerators that is the culprit. (b) Showing the nicely shaded cylindrical tool is costly. If I cheat, and make it appear a negligible length/diameter one, then CPU drops by about 10% (c) I have GCode display in sourceview widget. If code (e.g. engraving) is very long then moving the active line in this seems very expensive. (d) Data which is display only, e,g, Distance To Go DROs, implemented as labels are much cheaper than general ones that can accept input like the machine-axis DROs. (e) The GUI is surprisingly useable at very low rates of updating the toolpath, G code and even axis DROs. 1 second is OK. This makes significant average CPU savings. The this low rate is tested when running a real machine. The audio/visual feedback from the hardware makes the system feel snappy even though the screen is lagging. Tests with no machine are misleading. A BBB ought to be plenty powerful enough. Perhaps the proper GPU graphics will fix things. It would be nice to design an experiment to dummy out the graphics work that could be done by hardware or to verify in some other way that there are not other bottlenecks. Best wishes John Prentice -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Encoder Index Support Survey
Greetings I am very happy with Peter's comments on the handling of Index and polarity. On frequency, my calcs. are like this: Lathe: Spindle speed up to 3500 RPM. Threading and tapping will be slower than this but very handy to have actual spindle speed display of whole range. Encoder at 500 lines (gives 0.18 deg resolution) and easily sourced. A/B pulse train 29.2 kHz though on some encoders Index can be very narrow. In this case, if one does need it, a hardware latch with control by A/B would not be hard. Mill: Potential spindle speed 12,000 RPM. With 500 line encoder = 100 kHz so probably necessary to limit display of actual speed or use 100 line encoder with a software quadrature decoder. I would like to have a driver that presents the data from the one hardware decoder that is visible on the 'bone headers. That would easily do very high speed spindles. 100 line MPG is a walk-in-the-park but nevertheless will be very useful. Best wishes John Prentice -Original Message- From: Charles Steinkuehler [mailto:char...@steinkuehler.net] Sent: 26 January 2014 17:54 To: EMC2-Users-List Subject: [Emc-users] Encoder Index Support Survey I'm working on adding software encoder support to the BeagleBone PRU code. Counting up/down is easy, but I'm wondering how to deal with the index pulses. Both the Mesa VHDL code and the existing software encoder component have quite a variety of options, and I'm wondering if it is necessary to support them all (more options = longer code = lower operating frequency). If you use encoders on your machine, what options do you have set for the HAL component, and (if you know) what is the maximum pulse frequency for your machine? -- Charles Steinkuehler char...@steinkuehler.net -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Machinekit Gui
-Original Message- From: Charles Steinkuehler [mailto:char...@steinkuehler.net] Sent: 26 January 2014 13:01 One comment I'll add is the gremlin back-plot display seems to interact with the X-Server and add significant lag to keyboard jogging (at least the way it's setup by default). Switching away from gremlin (ie: the DRO tab in Axis) restores the keyboard's normal response when jogging. With your updates, do you still see the keyboard lag, or does reducing the load from gremlin help this issue? With slow refresh on Gremlin my keyboard jog response is fine. I don't however know if my GUI has jog problems with the default 50mS refresh as I do all my actual jogging with the Contour Jog/Shuttle http://www.tormach.com/store/index.php?app=ecomns=prodshowref=30616 It is configured with a geometric speed law on the spring-loaded ring. You can jog at full rapid speed slowing to a crawl allowing touch-off to a tenth very quickly and safely compared with an MPG or keyboard. I will edit Gremlin and give keyboard control a try tomorrow. Best wishes John Prentice -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT, Pic controller? needed for high school play
Greetings I'm told I need a pic controller for this and the engineer where I work says he'll put it all together and program it, but I need to find it and buy it first. Any help I can get on this will be greatly appreciated. I suspect there is a misunderstanding as what you say sounds high risk. Choosing the hardware certainly requires a detailed understanding of the interfaces to your lights, spark generators and actuators. As an EE, I would not like to be given an arbitrary PIC (chip or development board), and driver boards and try to put them together for a one-off project. I too vote for a small PLC - I have not done a detailed search but you might need 24 volts (two batteries) to have the widest choice. John Prentice -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Trouble with a USB device on Machinekit BBB system
Greetings - From: Jeff Pollard [mailto:xylo...@hotmail.com] Sent: 24 September 2013 21:51 To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Trouble with a USB device on Machinekit BBB system I was able to get a USB numeric keypad working for jogging by following the examples on these two pages (particularly the second link by Ed): http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant and http://softsolder.com/2013/02/25/linuxcnc-hal-pin-names-belkin-nostromo-n52- speedpad/ Jeff, thanks for these links with some very useful USB tools/stuff. I think I have discovered my problem with the BBB. The ShuttleXpress is a rather odd USB device and needs it data handling in the raw (with hidraw driver). The current BBB MachineKit kernel does not have this driver. Best wishes John Prentice -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Trouble with a USB device on Machinekit BBB system
Greetings This is probably a simple Linux issue but I am stuck. I want to connect a Contour Shuttle Xpress as a jog controller. This has worked fine with Ubuntu but BBB does not like my recipe. When I plug in the device it shows up in /dev/usb and is reported by lsusb as (in this case Device 7) Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 007: ID 0b33:0020 Contour Design, Inc. ShuttleXpress Bus 001 Device 004: ID 04f3:0103 Elan Microelectronics Corp. Bus 001 Device 005: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB I have a file /etc/udev/rules.d/99-shuttlexpress.rules whose content is SUBSYSTEM==hidraw, ATTRS{idVendor}==0b33, ATTRS{idProduct}==0020, MODE=0666 But this does not seem to be applied as there is no hidraw folder containing the device in /dev or /dev/input Does anyone see what I might be doing wrong or how to debug the situation? Thanks John Prentice -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Terminal environment on BBB was RE: BeagleBone Image Available
Charles, greetings What is the full name/path of the script(s) for setting up the environment that you run on starting terminal windows on the BBB? The GUI I am trying to run has some additional/conflicting path info. and I need to integrate them. Thanks John Prentice -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Terminal environment on BBB was RE: BeagleBone Image Available
Answering my own question I found the running of rip-environment.sh in .bashrc Best wishes John Prentice -Original Message- From: John Prentice (FS) [mailto:j...@castlewd.freeserve.co.uk] Sent: 18 September 2013 15:08 To: 'Enhanced Machine Controller (EMC)' Subject: Terminal environment on BBB was RE: [Emc-users] BeagleBone Image Available Charles, greetings What is the full name/path of the script(s) for setting up the environment that you run on starting terminal windows on the BBB? The GUI I am trying to run has some additional/conflicting path info. and I need to integrate them. Thanks John Prentice -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Image Available
Greetings I have run a real machine and made chips with the BBB and MachineKit package. And very impressive and promising it is even with a 750 kB engraving job. Trying to get beyond the basic integration shows my poor Linux fundamentals :=( (a) Having used the bootable SD card I can remove it and boot the original system from the BBB eMMC but other SD cards will not show up under it in a df listing. I wanted to make a new bootable SD to work on while also retaining the known simple configuration that works. Is this change to original system behaviour expected and if so how is it reversible? (b) I am bemused at where the magic numbers connected to steppin and dirpin in HAL come from (e.g. the comment the actual pin used and 0x4c make no sense to me: #P8.43 PRU1.out2 setp blah blah .stepgen.00.steppin 0x4c I have looked for a pattern with this BeBoPrBr example and all the tables including considering the 0x800 bit and the excess 32 coding for PRUs but cannot see any pattern. I want to add another stepgen to drive the machine spindle. The B axis seems in place in the .dts file but what goes in the HAL? (c) Straight Linux problem: I cannot work out how to Mount USB sticks in the running system under XFCE/Thunar except logged in as root. Thunar says Not Permitted and unlike under Gnome you cannot run things like Thunar or medit with sudo from a Terminal. Google was not my friend on this occasion giving lots of recipes in fstab but no explanation of principles. (d) Similarly I can only shutdown/restart Linux by logging out of linuxcnc and logging in a root as the buttons are greyed out when user linuxcnc. (e) finally and this may be a step too brave at present, I wonder if anyone has tries/succeeded to run the filesystem off a USB drive (probably a harddrive) using pivot root. The hope was to get better performance, particularly in development systems as I would like to install some user Comps. Thanks in anticipation John Prentice -Original Message- From: Charles Steinkuehler [mailto:char...@steinkuehler.net] Sent: 02 September 2013 23:39 To: EMC2-Users-List Subject: [Emc-users] BeagleBone Image Available I have a new version of the MachineKit image for running LinuxCNC on a BeagleBone available: -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Making a BBB interface cape - was BeagleBone Image Available
Greetings -Original Message- From: Charles Steinkuehler [mailto:char...@steinkuehler.net] There are far too many pin naming schemes for the BeagleBone, including two new ones used by the LinuxCNC Beaglebone code. Short answer: Read the code (sorry!) Medium answer: The PRU code uses an integer value that equals the kernel GPIO number plus 32 (so that zero means don't twiddle *ANY* pins!). The values are also extended, and what would be the non-existing GPIO bank 4 means Use the PRU direct I/O pins. The hal_bb_gpio pin numbers is: 1xx = P8 2xx = P9 xx = connector pin number Long Answer: I really need to make a blog page about pin numbering. There's some data in Brandon Heller's post about home/limit switches: http://bb-lcnc.blogspot.com/2013/07/adding-homelimit-switches.html http://bb-lcnc.blogspot.com/2013/07/adding-homelimit-switches.html I'll try to get something posted tonight... -- Charles Steinkuehler Thank you for this information. After some code reading the .dts file for the BeBoPr-bridge got me to the existing pinouts for stepping. For new inputs, I need to work through Brandon's stuff on my system. The para: We'll use X-Max, the limit switch closest to the PWM outputs at the edge of the BeBoPr. According to the BeBoPr manual, the BeagleBone black manual (BBB_SRM.pdf pg 80), and tracing the board traces, the X-max input switch is pin 32 on connector 8 and gpio0.11. has me puzzled. I cannot find the BeBoPr manual anywhere on CircuitCo and have not got one (or a Bridge) to trace tracks :-( The .dts file suggests Brandon's numbers are non-Bridge and X-max will be P8-9 (gpio2.5) Finally a detailed question: I notice on the 'scope that the DIR lines have random looking waveforms (around 500 Hz - but different patterns on each axis) after a keyboard jog has stopped. An axis DIR goes quiet (at LO) after a G-code move of the axis. Is this behaviour intentional? If not might it hide a bug on Setup/Hold times of the DIR line - I ask as in another life I have been bitten by the small, but very nasty to find, loss of position errors that invalid timing can produce on some stepper drivers? Best wishes John Prentice -- 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=58041391iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] BeagleBone Image Available
Greetings Charles - thanks for all the work on this. The install (via the Windows route) went very well except for my issued Linux on the BBB complaining about the verbose switch in the wget call for downloading the bootloader. I edited this out of the shell-script and the SD card setup was fine. LinuxCNC/Axis comes up as advertised when using an HDMI cable and monitor. Now I am going to build an prototype cape to do voltage level changing to get step/dir signals out and machine status and limit switches in via a D25 connector. I am going to start configuration using the BeBoPr HAL and INI. Can someone please help me understand how the hal_pru_generic driver/comp, called with a number of stepgens= and pwmgens=, ends up mapping the generated signals to hardware pins on the BBB headers (or chip)? Similarly how does the hal_bb_gpio mapping work? TIA and apologies if I am missing something obvious. John Prentice On 09/02/2013 03:38 PM, Charles Steinkuehler wrote: I have a new version of the MachineKit image for running LinuxCNC on a BeagleBone available: Image: http://bb-lcnc.blogspot.com/p/machinekit_16.html Announcement: http://bb-lcnc.blogspot.com/2013/09/new-machinekit-image-available.ht ml This is a fairly significant change from the previous versions, as I am now building the kernel fully from source (pulling in the required Xenomai code from git) and I have switched to the unified-build-candidate branch of LinuxCNC (which is going to become 2.6?). -- 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=58041391iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] G76?
Gene, greetings -Original Message- From: Gene Heskett [mailto:ghesk...@wdtv.com] Sent: 20 January 2013 05:30 Has anyone cut any threads with g76 lately? I fired off a routine that 4 months back worked great, carving a 1/4-28 thread for me several times last fall. Tonight, without any changes in the .hal file that would affect threading ops, still set to make a 1/4-28 SAE thread, and it came out at about 24 tpi. And I haven't a clue. My encoder still has 39 slots. Etc, etc. I am on the bleeding edge development branch. This is a stab in the dark. I have been bitten with coarse pitch threads caused by the Z ais not being capable of meeting the required rate for the pitch and spindle RPM. I had an error in VFD scaling and spindle was running a lot faster than I commanded. It is a pita that LCNC does not complain about the impossible motion but just limits on the set Z max-vel. John Prentice -- 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/learnmore_123012 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Milling arbor adaptor
Greetings -Original Message- From: andy pugh [mailto:bodge...@gmail.com] Sent: 03 January 2013 11:45 I have a 1.25 bore gear hob, and a 1 bore horizontal milling arbor for my milling machine. I am trying to figure out how to make an adaptor. The ideal thing would have an internal keyway and an external key, but I can't off-hand think of a way to make that with sufficient guarantee of concentricity. The Plan B is a machined sleeve with holes for pegs which can engage both keyways. Not having ever used a horizontal milling arbor, should there be a full-length key? Mine appears to only have one very short key. The arbors I have used typically have a long key going through all the spacers. A short key might wander axially under extended heavy cutting. If you turn the OD and bore the ID of your adaptor then the straightness of the arbor is probably a bigger error than your adaptor's concentricity. I don't think the keys matter that much - unless I misunderstand the question. John Prentice -- 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/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] For anybody considering upgrading their motherboard in the next few months.
Greetings -Original Message- From: Joseph Chiu [mailto:joec...@joechiu.com] Not sure about the tablet side of the equation -- but if you want to give exploded diagrams, you might consider 3D PDFs which can be opened by Adobe Reader. But beware 3D PDFs have been dropped in Acrobat X John Prentice -- 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] Brushless Servo Selection?
Fruit machines?? What is a fruit machine? Do you know what we call them in the US? Dave Slot Machine or One arm bandit I think. Fruit machine is from graphics commonly used on the rotating drums. I note the supplies are multi-output switchers. The cross-regulation between different outputs might be a problem John Prentice -- 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] OT: 3D Printer Mods?
Greetings - Original Message - From: Viesturs Lacis viesturs.la...@gmail.com 2012/5/30 Roland Jollivet roland.jolli...@gmail.com: The thing is, what do you do with these parts? While I fully appreciate the value of the learning, especially for children, people using EMC are perforce versed in CNC milling. Yes, can I ask 3D printer owners to share the practical use of those prints? snip I just would like to understand, if it is something more than just look, how nice is this. We use Stratasys FDM printers in our Mechanical Engineering undergraduate course. Two photos of second year work linked below: The helical gearbox is a project to consolidate CAD experience and investigate architectures that would allow a gearbox to be designed that can run with the lid removed. About 10 hours of work including peer reviews and submitting a design history file. www.nottingham.ac.uk/~epzjap1/Misc/HelicalBox.jpg The filament winder uses servo control of thread tension, a 1:4 ratio spur gearbox, all shafts with ball bearings. Each student designs from the ground up and manufactures the parts using CNC milling, FDM and manual machining/fitting. Entire project, including control system, is 60 hours. www.nottingham.ac.uk/~epzjap1/Misc/BernieWinder.jpg So RP allows production of machine elements that actually work and in timescales and costs that fit into a Mech Eng degree programme. It does not put wise heads on young shoulders but they are wiser than people who have not manufactured their mistakes. John Prentice -- 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] hal 'net' command puzzler
Gene - greetings As an aside, as many nets are best written on one line, inventing the signal name is tedious. It would suit me to allow a wildcard, * or whatever, as signalname and HAL would invent a unique internal name for its own purposes. John Prentice While that might be kewl, how the heck would us humans trace it? You just see the pins connected together on the line of text. An analogy in our electrical world is that you need wire names (more often numbers in my work) between modules or boards but don't need them inside a unit as the connections are intimate, generally obvious and often very numerous. I know that PCB layout systems generally enforce naming of everything but this too is cumbersome (e.g. for xtal oscillator, compensation RCs tied to a chip) The more names I type the more typos I make - but as I say it is only an aside while we were exploring HAL. John Prentice -- 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] hal 'net' command puzzler
From: andy pugh bodge...@gmail.com Every net command is followed immediately by a signal name. That is, a name you have chosen yourself, to make sense to you (or to confuse yourself horribly in the future, if you so choose). You can uses the same signal name on as many net commands as you like. But being a signal name it needs to be the first term after the word net Every net command with the same signal name will pass the same value to every HAL pin listed in the command. And that value will be from the one, and only one, output pin that appears in one of the net commands. I use the mental model that the signal is a wire and the signalname defined after net is the heatshrink sleeve printed with its name. The wire loops its way round pins (i.e. terminals) but, as the order of writing does not matter, the HAL is essentially a schematic not a wiring diagram. Of course woebetide the person who wires the outputs of more than one totem pole gate (or push-pull amp) together. HAL gives you an error if you try it and this prompts you to include a selector, or tri-state bus arrangement on the drivers. As an aside, as many nets are best written on one line, inventing the signal name is tedious. It would suit me to allow a wildcard, * or whatever, as signalname and HAL would invent a unique internal name for its own purposes. John Prentice -- 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] Relay driver not working
Greetings From: andy pugh bodge...@gmail.com A dozen or so shorted I/O lines is unlikely to cause FPGA damage (ask me how I know) My 7i43 survived having _all_ the pins on one connector shorted to GND. It's distressingly easy to do if you crimp the ribbon cable a bit wrong. Apologies if it is too obvious, but some might not have seen this simple IDC cable tester. I test every cable I make now my eyes are not so good. Take a pin header with the required number of pins - one sawn out of a scrap PCB and cleaned up will do. Run a length of bare copper wire along the even pins and solder it to each pin. Plug in the cable to be tested. Connect one probe of a bleeping multimeter to this wire and run the other probe along the odd pins. A bleep will indicate a short which is bound to be between adjacent wires - i.e. odd and even pin. A quicker version that does not identify where the fault is, is to wire the odd pins together and have the meter across the two wires. Of course, open circuits are harder to do but less common in new cables. John Prentice -- 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] C Compiler - MPLAB
Greetings - Original Message - From: Dave e...@dc9.tzo.com On 4/16/2012 5:00 PM, Stephen Dubovsky wrote: As far as I can tell, ARMs are in a different class. (Price, complexity, performance, etc.) There are dozens of companies making thousands of ARM processor variations. One will have the peripherial/memory flavor at the price point you need. The code is mostly compatible from the top to bottom of the cortex line (and *WAY* more than porting from TI to AVR to PIC, etc) Stephen OK... I'll bite. What kind of software tool chain and hardware is good to get started on a NXP LPC or similar Arm? I am not an expert - in fact only just round the next corner from you. I followed this path: (a) Arduino UNO/Mega - limitations of the 8 bit data. (b) Netduino (Atmel AT91SAM7X512) C# in Microsoft VisualStudio - hopeless speed on interpreted C# and difficulty of adding native code without expensive Kiel tools. (c) Netduino with IAR Embedded workbench - chip programming by USB but no debugging (d) Atmel AT91SAM7x-EK - same processor albeit smaller memory - JTAG connector and a minimal debugging serial port. In-circuit programming and debugging by SEGGER J-Link (I got the SAM-ICE customised version but that might have been limiting for the future) over the JTAG plus printf to the serial port. IAR is free for limited code size and non-commercial use. So far I have found experimentation very pleasant. Be interested to read others comments. John Prentice -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT RELEASED: LinuxCNC 2.5.0
- Original Message - From: Viesturs Lacis viesturs.la...@gmail.com I think you maybe don't have the spaces in the right spots? Indeed - exactly the trouble. Thanks I was trying to come up with a joke, related to LinuxCNC not willing to work on Your PC, because some Mach-related things are already there (at least icons on desktop say so), but You managed to solve the problem faster, so I will try some other time :)) LOL. I was however confident that LinuxCNC, who is such an open and confident girl, would be OK with the occasional two-timing user. She has been giving me a hard time recently when I call her EMC2 by mistake. With a clean install even that should be behind us :=) John Prentice -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Downloading Release 2.5
- Original Message - From: Peter Blodow p.blo...@dreki.de Gentlemen, I would like to download the new release as a live CD with Lucid Lynx and LinuxCNC 2.5 as I did before with Hardy Heron and V. 2.3. When I go to the LinuxCNC.org download site I get offered the live CD ISO-file ubuntu-10.04-linuxcnc2-i386.iso, but I can't find confirmation that it really contains the new release of LinuxCNC. What is the contents of this ISO file, just Ubuntu or also LinuxCNC V. 2.5? That file is live CD for Ububtu Lucid Lynx and LinuxCNC 2.5 John Prentice -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] RELEASED: LinuxCNC 2.5.0
From: Chris Radek ch...@timeguy.com Subject: [Emc-users] RELEASED: LinuxCNC 2.5.0 LinuxCNC 2.5.0 is released! You will not get an automatic update from EMC 2.4 to LinuxCNC 2.5. To update your Lucid or Hardy machine to 2.5, you need to take a few steps, documented here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5 Be sure to check the Changes to your configuration section at the bottom of the page. I am having trouble following the process in the link with Lucid. On the Reload step I get: the screen at www.castlewoodconsultants.com/Misc/Upgrade2-5Trouble.jpg Can anyone help? John Prentice -- 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] RELEASED: LinuxCNC 2.5.0
Subject: Re: [Emc-users] RELEASED: LinuxCNC 2.5.0 On Mon, Apr 02, 2012 at 02:04:10PM +0100, John Prentice wrote: I am having trouble following the process in the link with Lucid. On the Reload step I get: the screen at www.castlewoodconsultants.com/Misc/Upgrade2-5Trouble.jpg Be sure you have typed the line exactly like deb http://linuxcnc.org/ lucid base linuxcnc2.5 I think you maybe don't have the spaces in the right spots? Indeed - exactly the trouble. Thanks As I have had stuff downloaded at various times from Buildbot and git, I think I will wait for the 2.5 Live CD and start over - after upgrading I still have innumerable folders/files with emc2 in the name. The rebranding has been tough to follow with my incomplete understanding of where everything goes. A clean filestore will help in the long run. John Prentice -- 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] RELEASED: LinuxCNC 2.5.0
- Original Message - From: Chris Radek ch...@timeguy.com snip The upgrade should just work no matter what you have had installed, unless you've used packages from master/2.6 (in which case 2.5.0 is a downgrade you need to do manually). The only thing you have to do is move your configurations in your home directory from ~/emc2 to ~/linuxcnc (just rename that directory). Also, the new CD image is up already. I did try 2.6 so the downgrade is the issue there. I must be being blind but I cannot see how to get the 2.5 Live CD from any links on linuxcnc.org Home or Downloads. It is difficult to tell what versions are referred to but the Getting Started Guide link by the ISO download on http://www.linuxcnc.org/index.php/english/download/21?task=view is for 2.4. Perhaps I am seeing old cached web pages but Ctrl-F5 has not helped. John Prentice -- 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] RELEASED: LinuxCNC 2.5.0
Thanks to both. Installing now. John Prentice - Original Message - From: Sebastian Kuzminsky s...@highlab.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Monday, April 02, 2012 4:38 PM Subject: Re: [Emc-users] RELEASED: LinuxCNC 2.5.0 Charles is exactly right, the ubuntu-10.04-linuxcnc2-i386.iso file is the updated Lucid Live CD with LinuxCNC 2.5.0. The 2 after linuxcnc distinguishes it from the EMC 2.4 Live CD. -- 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] Smart-serial and 7i43
Greetings And now what? I ran all these commands: cd src ./autogen.sh ./configure make make install-menus sudo make setuid They all completed successfully - I did not see any warning messages. But in Applications - CNC I have 4 items - Getting started guide and 3 manuals - Hal, Integrator's and User's manuals, their icons are question marks and nothing happens, if I try to open HAL manual, remaining 3 docs do appear. But I do not see a way to run the LinuxCNC. No menu entries... Also in terminal from home directory typing linuxcnc and hitting enter returns error message that such a command is not found. Viesturs Viesturs I think I can help with that one. cd to the directory where you did all your compilations e.g. emc2-dev or linuxcnc-dev $ . scripts/rip-environment $ linuxcnc First line after prompt is dot space scripts etc John Prentice -- 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] (OT) Film Emulsion for Encoder Wheels?
Greetings snip .If it's not centred properly you will get linearity errors in the movement you want to control. You certainly do On the plotter this problem is solved in software. After replacing the encoder a calibration routine prints thin lines and the plotter scans back these lines and obviously calculates the date need to linearise the encoder readout in software. That sounds difficult if the only motion system you have is the faulty one - the ultimate bootstrap. Of course Joseph Whitworth refined his early leadscrews by measuring errors and compensating when cutting the next one but an independent measuring technique was needed. John Prentice -- 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] OT - decal/paint printing. Re: Piccolo
I've never used it and I see from the website that the cost could mount up (maybe you could amortize the cost over a group of like-minded enthusiasts?), but the DecalProfx product from PulsarProfx (www.pulsarfx.com) explicitly states Make REAL dry-transfer (eg. rub down) decals with no visible carrier in about 8 minutes. Simply print using a BW laser (or copier) and snip I think link is www.pulsarprofx.com The one above is something else! John Prentice -- 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] OT-bandsaw
- Original Message - From: andy pugh bodge...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Thursday, February 16, 2012 7:41 PM Subject: Re: [Emc-users] OT-bandsaw On 16 February 2012 19:22, dave dengv...@charter.net wrote: I have a cheapie horizontal bandsaw that has performed decently well for 10 years or so and just recently started sheddinga the blade after a few turns. I wonder if the blade might have overheated and is now conical? Mine has an adjustment on the idler pulley tensioning mount (two set-screws) to alter the alignment of that wheel's axis. I can move my blade across the face of the wheel adjusting these. John Prentice -- 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] parsing the current language dialect, and describing as EBNF
From: andy pugh bodge...@gmail.com To: emc-users@lists.sourceforge.net Sent: Monday, February 06, 2012 8:03 AM snip However I see no reason why we shouldn't consider starting from scratch with a new machine-control language, possibly based on Python syntax. I would prefer to see that translated directly into motion commands in LinuxCNC rather than into any sort of G-code, though. However, fun though that might be, I doubt it would reach completion, or gain any sort of market acceptance outside a very small subset of LinuxCNC users, and almost certainly wouldn't expand outside our project. I agree with Andy's last paragraph. There are, however, pursuasive reasons for a change from G-codes if we could allow the machine tool to understand enough about what it is doing to be (self-)adaptive. There is a current example in cutter wear compensation. The machine (if fitted with laser metrology) or operator (with a micrometer) can adjust the control to compensate for a tool that is wearing - no need to re-CAM the part!. Generally though the control dumbly obeys orders (from the CAM) - e.g. executing lots of line or arc segment with no notion they define the wall of a pocket. As we know, trouble comes if G42 comp is on and a sharp internal corner shows up. There has been international work on a project (STEP-NC) that aims to give enough information about the design intent of a part so that the control can optimise finish, metal removal, accuracy, or, WHY depending on the stiffness of the machine, how blunt the tooling is, variations in the workpiece etc. This is very ambitious and I have no idea if it is still active or got stalled but a higher level machining abstraction could make it worth passing on the obvious advantages of the familiar G-codes. John Prentice -- 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] OT about product names was - About the board, .....
Have you ever wondered about the strange made-up names of many commercial products---notably pharmaceuticals, which are as numerous as software? The companies use computer programs to generate and test candidate names for appropriateness in various languages (sometimes they have missed this one big time), potential trademark infringement, etc. Choosing an initialism or acronym based on beginning letters of a catchy phrase is typically a non-starter for them. Famously Rolls-Royce Motors following the Silver Ghost, Silver Spirit, Silver Shadow, etc coined the Silver Mist. Babelfish translating mist to German is quite polite; our continental members may be more graphic! The image for R-R was not what was desired. GM (Vauxhall) had problems in Italy with a neat compact the called the Nova John Prentice -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT about product names was - About the board, .....
Babelfish translating mist to German is quite polite; our continental members may be more graphic! The image for R-R was not what was desired. I mean, of course, translating Mist from German. -- really must Think before Send GM (Vauxhall) had problems in Italy with a neat compact they called the Nova John Prentice -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT Fusee (was question about tapered threading)
- Original Message - From: John Thornton bjt...@gmail.com IIRC Jeff Eppler cut a fusee for a mousetrap powered car... John Sadly a fusee for clock work needs a curved profile to match spring forces rather than straight line. I think they are hard to cut on a CNC lathe although reasonably easy to mill with a 4th axis - apart from the required overhang on a small diameter mill. Ian Wright may have thoughts. John Prentice -- 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] question about tapered threading (etc)
- Original Message - From: Kent A. Reed knbr...@erols.com Several items were called out recently as being show stoppers for LinuxCNC. I do not aspire to learn the inner workings of LinuxCNC well enough to contribute to discussion of the first item, No jog on feedhold. However, the second item Taper thread pitches are measured along the hypotenuse ??? is an issue I think this bear of limited brain ought to be able to understand without being a LinuxCNC guru. (a) The jog in feedhold really is a significant pain. You do need to move the tool away from the work when milling or turning stringy materials. Even something simple like deep-drilling with pecks can snarl up the tool with swarf. Of course the general solution could be very complex (e.g. if offsets were to be changed while feedheld) but some simple rules would cover a lot of cases without obvious risks to a thinking user. (b) For most practical tapered pipe threads no one will notice the pitch error. On one hand I think it is unusual CNC behaviour in threading (so possible difficulties for CAM users without a special postprocessor). But on the other hand the case of the angle not being small but being 90deg does appear to allow cutting of scrolls - has anyone ever tried this? John Prentice . -- 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] 2.5 run-in-place or not
Subject: Re: [Emc-users] 2.5 run-in-place or not well, since people keep tripping over this glade install path issue I looked into it and it seems it can be fixed: === Glade 3.3.3 === ... - Defined environment variables GLADE_MODULE_PATH GLADE_CATALOG_PATH, catalogs will be searched in GLADE_CATALOG_PATH and widget libraries/support modules in GLADE_MODULE_PATH. - Tristan Van Berkom ... I'll see how we can massage this into rip-environment so glade does the right thing when running RIP -m Michael, greetings The odd thing is that rip-environment seems to do the right thing with the CATALOG_PATH if [ -z $GLADE_CATALOG_PATH ]; then GLADE_CATALOG_PATH=$EMC2_HOME/lib/python/gladevcp else GLADE_CATALOG_PATH=$EMC2_HOME/lib/python/gladevcp:$GLADE_CATALOG_PATH fi I get a host of errors strating with a load of No icon named . when trying to run glade-manual.ui in glade 3.6.7 Anything you can turn up would be very handy. A jepler says, RIP seems to be the default compile but I have no idea how to turn it off! John Prentice -- 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] Help with a GladeVCP startup error message
Greetings Am 21.01.2012 um 18:49 schrieb John Prentice: Another oddity is that Glade will not open glade-manual.ui as it says it cannot find the gladevcp catalog.. this a different issue - glade expects the catalog file under /usr/something and the catalogs arent installed when using RIP Do you think a clean Ubuntu install and pull then compile of 2.5_branch would be the best course? I suggest you remove the existing emc2 packages and configure for normal install (not RIP) glade should work then, and likely the import issue goes away - having two different versions of emc installed in different places on the same machine is usually asking for troubles - Michael Oh dear - I am just discovering how little I understand. Working on Lucid 10.4.3 I removed the installed EMC2 (2.4.6) with the package manager and rebooted for safety. Pulled from 2.5_branch - lots of changes as everyone has been very busy with the new name! Did a make clean Then, following the wiki page, did cd src ./autogen.sh ./configure make make install-menus sudo make setuid I realise that I do not understand the following from the wiki page: 2.5. Building emc2 (realtime) If you have already installed EMC from the Live CD do not use --prefix/make install. Use the 'run in place' method (the default) instead. On Michael's advice I don't want RIP but as it is default how do you avoid getting it? Wiki suggests you need --prefix/make install but where should this be put? I can run the compiled version by using . scripts/linuxcnc but when I quit LinuxCNC the terminal closes instantly. dmesg does not seem to have anything about this. What mght be happening here? I will now try gladevcp - the whole point of this exercise - but feel very in the dark about the compilation so any explanations very welcome. John Prentice -- 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] Help with a GladeVCP startup error message
Greetings Returning to working with GladeVCP, I have pulled 2.5_branch from git yesterday and compiled it Run-In-Place After a bit of trouble that running EMC gave me 2.4.6, I saw the program naming email and tried linuxcnc which runs 2.5 fine Following instructions in http://www.linuxcnc.org/docs/2.5/html/gui/gladevcp.html $ cd configs/sim $ emc gladevcp_panel.iniwith a change in folder for the gladevcp_panel.ini and linuxcnc for emc I get: = john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$ linuxcnc gladevcp_panel.ini LINUXCNC - 2.5.0-pre2 Machine configuration directory is '/home/john/emc2-dev/configs/sim/gladevcp' Machine configuration file is 'gladevcp_panel.ini' Starting LinuxCNC... Traceback (most recent call last): File /home/john/emc2-dev/bin/gladevcp, line 44, in module import gladevcp.makepins File /home/john/emc2-dev/lib/python/gladevcp/__init__.py, line 1, in module from hal_pythonplugin import * File /home/john/emc2-dev/lib/python/gladevcp/hal_pythonplugin.py, line 17, in module from hal_gremlin import HAL_Gremlin File /home/john/emc2-dev/lib/python/gladevcp/hal_gremlin.py, line 21, in module import gremlin File /home/john/emc2-dev/lib/python/gremlin.py, line 14, in module import emc ImportError: /usr/lib/python2.6/dist-packages/emc.so: undefined symbol: _ZN3NMLC1EPFilPvP3CMSEPcS5_S5_ii commandline:0: gladevcp exited without becoming ready Embeded tab command halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 73400474 -u hitcounter.py manual-example.ui exited with error: 1 Shutting down and cleaning up LinuxCNC... Cleanup done EMC terminated with an error. You can find more information in the log: /home/john/emc_debug.txt and /home/john/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$ = The undefined symbol looks totally implausible. dmesg has nothing unusual. Suggestions on where I might have gone wrong would be much appreciated John Prentice -- 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] Help with a GladeVCP startup error message
From: Michael Haberler mai...@mah.priv.at snip it looks like you have an existing emc installation and the python code picks up emc.so from that installation if it is run-in-place, it shouldnt import emc.so from /usr/lib/python2.6/dist-packages/ did you run . emc2-dev/scripts/emc-environment? - Michael Michael - thanks for the reply. I think the environment setting script is emc2-dev/scripts/rip-environment now and I had run that just before the quoted stuff from the terminal. Here is the contents of my emc2-dev/scripts/rip-environment www.castlewoodconsultants.com/Misc/rip-environment The modules seem to be being loaded from the right place until emc.so I will have to re-read the search path rules in Python as it is a bit of a black art to me. Another oddity is that Glade will not open glade-manual.ui as it says it cannot find the gladevcp catalog.. Do you think a clean Ubuntu install and pull then compile of 2.5_branch would be the best course? John Prentice -- 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] Does emc2 support jogging backward/forward alongwith g-code?
- Original Message - From: andy pugh bodge...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Saturday, December 03, 2011 1:26 PM Subject: Re: [Emc-users] Does emc2 support jogging backward/forward alongwith g-code? On 3 December 2011 13:11, Yishin Li y...@araisrobo.com wrote: approach #1: * have negative request-velocity for BACKWARD motion of current TC * replace tc-queue with circular buffer for bi-directional move * figure out how to feed the bi-directional circular buffer approach #2: * have negative request-velocity for BACKWARD motion of current TC * a dedicate FORWARD-tc-queue for FORWARD motion * a dedicate BACKWARD-tc-queue for BACKWARD motion This ties in rather tightly with the jog/touch-off while paused issue and the difficulty with run from line both of which I think are being looked at by other people, though I don't know if any coding has been done. I have been thinking about it, and I think that the second idea is probably best, a fixed history queue that describes the path that exists in the metal, and a more flexible, re-computable future queue that depends on the G-code not yet run. The future queue has to be re-computable, as so much can change, including the whole flow of the G-code, depending on variables and offsets changing. Run from line is a particularly interesting puzzle, but not directly linked to your question. I think that you would probably want to link this into adaptive feed and feed over-ride, simply allow these to go negative. -- This functionality ought to be very useful if implementing a Wire EDM machine when recovering from a short or even broken wire.. Best wishes John Prentice -- 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] 3d PDFs was Re: Engaver Tool Changing
Greetings Andy Pugh wrote: If you click the jpg and have a recent version of Acrobat youshould get a 3D-viewable model. However, I have no idea how widespread the 3D PDF format is, it was just what was available on my machine when it was running Windows and modelling in Alibre. This functionality was in Acrobat 9 and, I think Acrobat 8. The standard free Adobe Reader - though not all plugins - will render the 3d views. You can rotate, section -based on an offset from any of the principal planes - and even rotate the cutting plane. Most such PDFs include the model tree in which you can hide parts of the assembly (e.g. a cover). Example at www.castlewoodconsultants.com/Misc/Example3DPDF.JPG With Acrobat 9 Professional you open a document with whitespace to place the 3D model, use ToolsMultimedia3D Tool and drag a rectangle, you are prompted for the name of a .u3d file to display in it. The .u3d file comes from your 3D CAD package. I use Pro|E where it is a FileSave As a Copy but Google suggests Alibre and Solidworks both export in this format too. The CAD feature tree becomes the tree in the .u3d file. The bad news is that Adobe have dropped the functionality in the latest version (Acrobat X) John Prentice -- 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] PID BLDC
Viesturs, greetings - Original Message - From: Viesturs Lacis viesturs.la...@gmail.com As I wrote, I was trying to get servo motor turning. I was opening EMC, trying to jog motor, failing, closing EMC, changing some settings in HAL file and then running EMC again to see, if there is improvement. I had made 10 attempts. Sorry this is no help with your 7i43 trouble but when you get it going I have a suggestion to make tuning easier. I wanted to test some very high resolution linear scales to close servo loops. I made the trivial modification to the PID component to change the Gains from Parameters to Input pins and used HAL to wire the gains to scale controls on a pyVCP. I added a unit step button to the VCP. That way you have instant tuning of the PID values and can even rescue an unstable situation by dragging the sliders. I hope you find the 7i43 trouble soon and that this idea might then help. John Prentice -- 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] Variable axes acceleration
- Original Message - From: Steve Stallings steve...@newsguy.com Accomodating a variable acceleration limit would seem to be fairly complex. Perhaps there is a solution that would offer some of the benefit without as much pain. Since rapid moves are done without cutting loads, perhaps we could have a separate set of acceleration and velocity limits that are used only for rapid moves. This would offer some improvement without a major rewrite of the trajectory planner. Regards, Steve Stallings On a related topic I have wondered if it would be possible to have a second set of following error settings for rapids. I feel in my tuning that I sacrifice rapid performance to avoid errors that really only need to be tight during cutting. John Prentice -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] HAL and INI file settings for Tool length Probing.
Greetings There is the Tormach TTS scheme that might be adaptable to a tool changer. Maybe magnetic rings could hold the holder while transferring it to the spindle. First I declare an interest as I do work for Tormach. The current design of TTS geometry allows for a tool changer. There is a power drawbar and changer sold for the PCNCs. How easy it would be to fit top something else I cannot say. http://www.tormach.com/document_library/Datasheets/DS32279_ATC.pdf John Prentice -- Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Controlling Pgain etc. pins on PID component
Andy, et al On 23 August 2011 20:20, John Prentice j...@castlewd.freeserve.co.uk wrote: I cannot net the output of my Scale to the pid.nn.Pgain pin as it is I/O. Is there a simple way to deal with this that I am missing? One solution would be to create a very simple hal component with an input pin that writes direct to an IO pin. There may be neater and/or easier ways. Please could you amplify that writes direct to an IO pin? I have been reading the source of a few components (from and2 to bldc) but I have not found much documentation on exactly how the magic works. I am not actually convinced that I really know the difference between a component Parameter and a Pin. PID seems to be documented in different places with the gains sometimes called Pins and sometimes Parameters. In a wild moment I wondered about changing the gains to Inputs but am not confident on recompiling components. BTW bldc is driving my motors like a champ. I had to resort to trying all patterns. Looking at the hall outputs and using a battery A-B etc did not find the correct pattern. The other trick that helped was to ignore the encoder (with T parameter) until motor would rotate. There are a lot of things that can be wrong between the patterns and the A/B connections on the encoder! Thanks John Prentice -- 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] On the status of BLDC component and Hostmot2
Andy, Peter W- greetings Thank you for info on the firmware naming. Andy: What is the best place to find the mapping between the configuration tags for bldc and the personality word whose bits are used in the pin definitions to define the existence of some pins? Best wishes John Prentice -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] On the status of BLDC component and Hostmot2
Andy, greetings There is an SVTP7_7i39 bitfile which I believe should arrive with a apt-get install emc2-firmware (and which you might already have) The current release (2.4.6) has the bldc_hall3 component, but doesn't seem to have the three-phase PWM Hostmot2 function so you will need 2.5 to use the 7i39. I have installed the emc2-firmware package and in the 5i20 folder the changelog for firmware release 0.8 says there is a 5i20/SVTP_7I39.PIN The actual file installed is SVTP6_7I39.PIN. The changelog says there is a ti23/SVTP6_7I39.PIN. I take it that ti23 is a typo for 5i23. Now for some wild guessing on naming. SV starts ever name, TP = three phase, 6 is a version number and 7i39 is the daughter board expected. If 6 is the version then it sounds as though the released firmware is behind the version (SVTP7_7i39) to which you refer. Release was December 19 2010 by Jeff Epler. I have not yet found where the actual bit files (and VHDL stuff) are stored. Any advice/help welcomed - I have so many unknowns that I at least want to start with the latest versions of everything. Thanks John Prentice -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] On the status of BLDC component and Hostmot2
Greetings I have an XY stage with Heidenhain linear encoders and BLDC motors on its screws. The encoders have built in interpolation giving a 0.08 micrometre resolution. I have a Mesa 7i39 on its way. There was a lot of BLDC work done by Andy Pugh around the turn of the year but so far as I can see everything is now very quiet. If I pull 2.5-pre and compile it should I have everything needed (including a bitfile for Mesa 5i20)? The motors are Elcom/Pittman Nema 23 frame (5111D008) - So far Google has not helped much! I plan to test initially with a rotary encoder as runaway on the XY table would be nasty. Does anyone have any additional advice? John Prentice -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] On the status of BLDC component and Hostmot2
snip Rather than download/compile, you can install the precompiled package from the buildbot, which is probably easier: http://buildbot.linuxcnc.org/ Do you have Hall sensors on the motors? Andy, greetings Thanks for the suggestion of Buildbot. The motors do have Hall sensors. I thought that I would start gently with trapezoidal drive, then close the position loop with the encoders and finally see what happens to performance using sinusoidal. The encoder resolution is so high (effectively 25,000 counts per rev) that it seems there could be lots of traps. The XY stage is obviously from some semiconductor fab. line, made by Newport, very stiff mechanically. It must have been servo controlled originally though I have no original electronics. Finally a really dumb question. The 7i39 has SENSE A0/A1 and SENSE B0/B1 outputs to FPGA board and these signals are on Pins 4/5 of the encoder interfaces. What are they for? Best wishes John Prentice -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Myford
Peter et al Peter Blodow andy pugh schrieb: http://www.ppauctions.com/eshots/20110825/ Notification of a sad end to a company that has served many home 'shop machinists over the years. It is a shame it could not be sold as a going concern. John Prentice (about 10 minutes drive from the factory) -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT -- Ethernet thermometer?
Greetings A thermistor interfaced to an x-bee wireless module might work well for the Hay and Chickens. http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-series1-module.jsp#overview You might need to throw in an Arduino or perhaps a USB adaptor at the computer end. John Prentice - Original Message - From: Igor Chudov ichu...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, July 22, 2011 8:56 PM Subject: Re: [Emc-users] OT -- Ethernet thermometer? Andy, I want to measure temperature in my chicken coop. There is no pc there. But there is ethernet and 115v AC. On Jul 22, 2011 2:49 PM, andy pugh bodge...@gmail.com wrote: On 22 July 2011 18:39, Igor Chudov ichu...@gmail.com wrote: I would like to buy a thermometer that could serve the reading of ambient temperature over Ethernet. Is there any way you could use USB? http://www.phidgets.com/products.php?category=6product_id=1124 -- atp Torque wrenches are for the obedience of fools and the guidance of wise men -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ 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
- Original Message - From: Igor Chudov ichu...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Tuesday, May 31, 2011 1:20 PM Subject: Re: [Emc-users] No-kidding CAD/Cam package for milling Ries, thanks. Creo Elements/Pro is a full CAD/CAM package and has EMC2 compatible output. Right? Igor - pardon me jumping in here Creo Elements/Pro (was Pro|Engineer Wildfire 5.0) will generate good G-code for all sorts of milling up to full 5 axis stuff. It has a generic post processor with a menu driven confguration program to configure the details of the G-code output. This program allows you to define the architecture of your rotary axes - trunnion, wrist etc. For the brave, there are other tools that allow you to control the code in very detailed ways (e.g. FIL) Commercial seats of this product is not cheap and the educational versions are limited in CAM capability. The learning curve is steep. There are many historical GUIs in the software. There is a lot of stuff on U-tube but it mainly relates to Wildfire 4.0 (or earlier) The NC Manufacturing module GUI has changed dramatically for Creo/Elements Pro. Undergraduate students, who use Pro|E CAD regularly, can machine their first part after about 6 hours of study. Workflow for prototyping shops is very good, as the manufacturing model is fully associative with the 3D part modelled in the CAD parts of the package. Change a pocket size or depth, re-run the creation of the CL data and G-code files and it will cut the new part. CAM solutions based in importing IGES are a problem as you often have to redefine all the cutting sequences for the new version of the file. You also get a version of Vericut which gives an accurate preview of machining including possible interference of tool holders with stock or fixturing. HTH John Prentice -- 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] tool offset compensation and gouging
From: andy pugh bodge...@gmail.com On 4 March 2011 17:29, Igor Chudov ichu...@gmail.com wrote: Everyone knows that milling out concave corners with a round end mill leaves round corners, why warn about it? Devils Advocaat Because you are asking for a square corner, and not getting it. You should know that you are going to have a rounded corner, and the G-code should determine what the corner radius should be, not the interpreter. However, it is so long since I used cutter comp that I have forgotten what the actual behaviour is. I can see arguments both ways, but anything which stops folk with braindead postprocessors blaming the EMC2 devs gets my vote :) -- atp Perhaps speaking from ignorance, but my belief was that an inside corner being rounded to tool radius is not warned about, it certainly isn't a gouge - i.e. a cut beyond the programmed face - but that the warning relates to the case of a sequence of short line segments in a corner; when, with limited lookahead, steps would be done which crash the outgoing face of the corner before the planner even knows there is a corner coming up. One probably does not hand code this except by accident or in very odd geometry but CAM is very prone to do it when approximating curves. In the CAM case if one makes the CAM output tool centreline data it has the benefit of knowing all about the geometry so will turn early enough to avoid a gouge. One can still apply wear compensation - the crude requirement becomes that the wear value is small compared with the line segments. John Prentice -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gladevcp problems
From: Steve Blackmore st...@pilotltd.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Saturday, January 22, 2011 9:11 AM Subject: Re: [Emc-users] Gladevcp problems Trying again this morning I get steve@steve-micro:~/emc2-dev/lib/python/gladevcp$ gladevcp gladevcp-test.ui (gladevcp:1688): libglade-WARNING **: Expected glade-interface. Got interface. (gladevcp:1688): libglade-WARNING **: did not finish in PARSER_FINISH state GLADE VCP INFO:Not a libglade project, trying to load as a GTK builder project RTAPI: ERROR: could not open shared memory (errno=2) Segmentation fault steve@steve-micro:~/emc2-dev/lib/python/gladevcp$ Then trying to load gladevcp-test.ui in the glade3 application gets Failed to load /home/steve/emc2-dev/lib/python/gladevcp/gladevcp-test.ui The following catalogues are unavailable: gladevcp Steve Blackmore -- Steve, greetings Just a data-point. EMC2 cloned from Master on 15 Jan onto a clean machine set up by Lucid Live-CD EMC install in Autumn. Compiled emc2-dev with run-in-place. Today Ran EMC2 and loaded the Touchy config. OK. Closed EMC CD to emc-dev/lip/python/gladevcp$ Then gladevcp gladevcp-test.ui. Gives a Parser warning etc. as your post but no RTAPI error and displays the test panel whose widgets work. John Prentice -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Gladevcp problems
- Original Message - From: Michael Haberler mai...@mah.priv.at I updated http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2 sections 2.12 and 2.13 -m Michael I cannot seem to get the last item in the new list gtksourceview2 - Couldn't find package Best wishes John Prentice p.s. The long lines are not printer friendly with my browsers. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] scale/encoder
Stuart Apologies if this is stating the obvious, but the existing board almost certainly uses the amplitude of the Sin/Cos to interpolate the basic counts and so get a useful accuracy out of the scale. Heidenhain often have a ruling of 20 micrometres so with quadrature, discarding the analogue information, you only get 5 micron resolution. John Prentice - Original Message - From: Stuart Stevenson stus...@gmail.com To: EMC2-Users-List Emc-users@lists.sourceforge.net Sent: Friday, October 29, 2010 5:58 PM Subject: [Emc-users] scale/encoder Gentlemen, I have a manual CMM with scales. The display box is very old and almost functional. I would like to replace it with EMC2. Simple enough except for the scale feedback. The scale feedback is four sine waves at 0, 90, 180 and 270. These are, I think, approx 1 volt magnitude. What can I use to get this into EMC2 in a usable fashion. The original display has an 'amplifier, check, divide' board. I don't know the resolution of the sine wave. I have an sn7404n chip and a couple germanium diodes hooked to a bread board. I don't see anything out of the chip. I was expecting a pulse that would allow me to determine the resolution. At this time I have exceeded my electronics capabilities. Is there a chip or reasonable board I can use to change the sine waves to pulse or quadrature? thanks Stuart -- dos centavos -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] OT Transatlantic Terminology Re: Does EMC support Multi-Core?
snip * Is this just an American colloquialism? I suppose in other parts of the English-speaking world one would say dustbin diving? Skip diving is the usual terminology in UK as a dustbin is more like a trash can rather than a dumpster. John Prentice -- 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] Lathe ATC integration
- Original Message - From: Chris Radek ch...@timeguy.com snip I admit that I don't quite see how these tool changers are supposed to work. When the stepper backs up against the stop, doesn't it stall and lose position? Is there some kind of feedback available? When you start up, how do you know what position it's in? I have never seen a machine with a tool changer that operates like this. Boxford in UK used this for small and medium sized changers. For an 8 position turret you have a ratchet with 8 teeth and a spring-loaded pawl. Assuming you know where you are now (say tool 2) and each click needs 100 steps. To move to tool 5 you output 330 steps. You now know that ratchet is about 30 steps after a click. Send 40 reverse steps. The stepper stalls, as you say, but you are in the known position for tool 5. Next move to say tool 6 just outputs 130 steps forward and 40 back. John Prentice -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] threading Z oscillation depends on encoder PPR
Andy Pugh wrote: snip An alternative might be to keep things much as they are, but to have a parameter in the G-code for how much run up it has. It then becomes a somewhat simpler trajectory planner issue to get to the thread start at the right speed next time the index comes round on the unloaded spindle and only then to enter the current position-feedback mode to stay on-pitch and allow for spindle velocity changes. I think that might actually be the essence of how Chris' patch works, though that just waits to get a better spindle speed estimate I think. Greeting to all This may be another data point. Another PC based controller produces pretty decent threads even on a low powered spindle like the Tormach Duality with only one pulse per rev. by not attempting to solve the general problem. The threading code (G32) watches index pulses until it sees several with a consistent timing. That gives the spindle speed and with the requested pitch (F word) gives the Z feed in units/min. Now the Z (and X for tapered threads) trajectory can be planned from the current Z position. On seing the next index the trajectory runs. To get a clean start one cuts a few threads in air over the acceleration period. So there is no exact thread position on the stock - it all depends of the acceleration - but multiple start threads work out fine by keeping the same spindle speed and starting with Z 1/2. 1/3 etc. of a pitch greater. The actual code does a running correction, if the spindle speed droops, effectively by using the feed rate override logic . I think it might be better to recognise a rise too as an overcompensated spindle drive can speed up on taking the cutting load - but that is a detail and was not done as FRO upwards could at one time violate the motor tuning parameters. This is by no means an electronic gearbox but needs no tuning and is surprisingly effective for turning even long threads. John Prentice -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] limit switches
Stuart, greetings - Original Message - From: Stuart Stevenson stus...@gmail.com Sent: Monday, September 21, 2009 4:31 PM Gentlemen, The Cinci was set up to use home switches. I am now using the limit switches for homing. I did this to better match the homing cycle to other machines in the shop. snip Pardon me coming out of lurk mode to offer a comment. While seeing the advantage of direction sensitive disable to allow easy jogging off the limits, personally I would want to treat limit switches on a big machine like your 5 axis Cinci in the same way as E-stop - i.e. not rely on software (or indeed perhaps silicon) to stop motion (ISO 13850:2006). Best wishes John Prentice -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Speaking of metric
Ed Nisley wrote Given that money is power, I propose we measure report all financial changes in decibels. Hearing The Dow was down 3 dB yesterday wouldn't be very disturbing, would it? Your previously extortionate 20% credit card rate would drop to a mere 0.8 dB. Easy as falling off a log. John Prentice -- 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] spindle motor broke down, any(complete spindle) replacement suggestions?
I have a nice 400 Hz washing machine motor that does 17,000 rpm that I pulled out of a dumpster, that I have been saving to pair up with a nice high speed spindle. I have test run it on a Danfoss vfd and it was reasonably well balanced at top speed. Like this: http://cgi.ebay.co.uk/Hoover-Washing-Machine-HNL-7146-Motor-and- Brushes_W0QQitemZ190299650744QQcmdZViewItemQQptZUK_Home_Garden_Washing_Machines _Dryers_Parts_Accessories_ET? hash=item190299650744_trksid=p3286.c0.m14_trkparms=72:1686|66:2|65:12|39:1|24 0:1318 Tom The one linked to looks like a DC commutator motor (the vendor mentions brushes) - which was what our old washing machine had. At any event you might have to beware of duty cycle issues with these motors. Even a long spin is a short time compared with a mould machining session. John Prentice -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Slow axis router
Aaron, greetings I am not a real woodworker but I know from hand routing experience that too slow a feed gives burning especially on endgrain of hardwoods. You need plenty of chips flying off because most of the heat from cutting is carried away by them. I think you need to start from the manufacturers feed/speed advice for the tooling and materials you want to use to set the required max. cutting speed. Rapids can affect the length of a job too of course but not the quality. John Prentice - Original Message - From: aaron Moore aaronmo...@linuxmail.org To: EMC userslist emc-users@lists.sourceforge.net Sent: Friday, January 02, 2009 6:07 PM Subject: [Emc-users] Slow axis router Hi Having built a 1.5 m x 1.5 m CNC gantry router used for woodwork, I am still amazed that it works as well as it does, however I am now thinking that the axis should be moving a little bit faster ( I recently costed a job that would have taken 15 hours to cut which seems a bit excessive). It is set to run at 15mm per second max velocity, above that speed the steppers start screaming and miss stepps. I know that the screws, bearings and drive nuts are not that well aligned and whip about abit. I plan to fix that soon, but I would like to know what sort of speed I should aim for. Is there any one out there with a similar set up who could tell me what max speed they are working to. All the best for the new year Aaron -- Powered by Outblaze -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Testing
Risto I am aware of the process in general, I currently have Mach and Visualmill 6 std for cam but it only supports 3 axis, Eventually I'll be needing 5 but a commercial program would make too big a hole in my assets. Solidworks, which I am using for designs, does not support dxf. If you use Solidworks and produce a 1:1 drawing of a suitable view of the part without a page title block, dimensions etc. you can Save As in DXF format. The files import into 2.5D CAM packages like SheetCAM fine. You probably want to shuffle with layers to machine the features to the depths you want. John Prentice -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] EMC Fest
Hey you guys on the web-cam at Galesburg it's time to wake up - 17:55 UTC on 20th here at present - you need to work up an appetite for the BBQg John Prentice - Original Message - From: Jon Elson [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Monday, June 16, 2008 6:35 AM Subject: Re: [Emc-users] EMC Fest Jeff Epler wrote: On Sun, Jun 15, 2008 at 11:02:05PM -0500, Jon Elson wrote: Great! Where's the webcam? http://linuxcnc.org/compile_farm/festcam.shtml HUH! Bunch of pikers - where the heck are you? All I see are empty chairs! Jon - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Threading without feedback?
Sven Not sure about what was posted as the link is rather generic. Mach3 uses an index sensor (slotted disc and opto) to get angular orientation and speed. Could not work with just a VFD as you need to know the angle to start each pass. But threads are pretty good with the simple opto gate or even reflective sensor. John Prentice Guys, Out of curiosity, can an EMC lathe make threads without spindle feedback? On cnczone.com a guy posted pictures on a thread made with Mach without spindle feedback, only a VFD as speed controller. They looked truly good. I know there are problems with it (torque figures, exact positioning, RPM loss etc), but is it possible with EMC? Regards, Sven -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Interactive machining
Greetings Steve et al Congrats. on election result (to you and others of course) I'd say that flash, although it's more or less fine for media, has no place in the requirements list for EMC2 :) There are any number of fine programming languages and environments to use for the UI. I'm not sure what you'd use to make a flash presentation on Linux anyway, and I wouldn't want to be beholden to Adobe to make updated versions for my OS (which they don't - I use a 64-bit version of Linux, and they don't seem to like supporting 64-bit OSes on anything but PowerPC macs AFAICS). No, I accept the current problem in a Linux environment but things do change surprisingly quickly sometimes. Flash player penetration is very high in the parallel universe. Reliance on Adobe or any one vendor is unhappy but Sothink and SWiSHMax both offer very capable development environments. On a technical level, I'm not sure what facilities Flash has for actually doing things that aren't media or web-related anyway. It is not the time/place to be dogmatic as I cannot show a demonstration, but there *are* two aspects I think Flash offers (a) A framework for design of very interactive graphic interfaces (e.g. the label for an Axis DRO that opens up to show scaling, offsets applied etc. when it is clicked) integrated with (b) A powerful and well structured script programming language. The difficulty in applying Flash is that the documentation/tutorial material is highly orientated to the web design aspects and the terminology is thus foreign. The ability to instantiate graphics objects, which can be movies, as buttons, text, DROs, etc. with overideable inherited properties is, however, a very powerful tool. On a more general point, we have come to accept heirarchical dialog systems as the norm. So many application program dialogs are modal and we while away our lives clicking OK/Done etc. When I started using Solidworks and Pro/ENGINEER I was blown away by the benefits of the implied OK in Solidworks. As an example, you place a dimension and a panel comes up for entering its properties. This panel has an OK and a Cancel button but if you just click on the sketch then OK is assumed and you can place another dimension. This works wherever there is a reasonable assumption. Where the implication is risky you need a positive confirmation of OK. Pro/E on the other had pendantically wants confirmation at every step (and in Wildfire 2 at least different modules ask for it in different ways and on different parts of the screen). The available computing power seems to offer scope for increased safety and ease of use in HMIs provided the development tools are available. /mini-rant John Prentice - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Interactive machining
Greetings head_above_parapet From: Andre' Blanchard [EMAIL PROTECTED] At 10:39 AM 8/20/2007, you wrote: I beg to differ. snip The work offset numbers are available in EMC but, how to access the tool table values in EMC? These move around a lot on different machines but are usually around #2000 or #1 depends on if you have type I or type II offsets. snip Machine position information. Preceding block endpoint, #5001,#5002, etc.. Current machine coordinate, #5021,#5022, etc.. Work coordinate, #5021,#5022, etc.. snip And while EMC can do some of this the syntax is often very different making running a program written for a Fanuc on an EMC machine a challenge. Also gives part programmers one more reason not to like EMC based machines, which makes them less likely to get purchased in the first place. If one could make a control that would run code unaltered from a Fanuc then it might be useful. I suspect the truth is the best that is possible is to run code for a Fanuc xxE Rev d.q Option 3 and that is hard and has little general applicability. As soon as one conteplates modifying legacy programs full of # parameters one is doomed. Is anyone left of this list who literaly programmed a real program in binary/octal/hex machine code without the benefit of a symbolic assembler? The nearest I came was keying the standard PDP8 boot loader. I submit one should not contemplate extension of the # parameter mechanism. So what is needed? Probably many things are useful but I suggest two that are different in kind. (a) Interactive CAM. The distinguishing feature is that the result of using such a system is a G-code program or program fragment. There are plenty of exemplars both in commercial machines and PC controllers. In essence one defines the desired cut(s) by choosing from standard operations like pockets, facing, PCD circles, standard panel apertures etc. and/or teaching by recording jogs. Such a system have very little interaction with the control beyond being easy to initiate, have a neat way of loading the generated code and perhaps picking up DROs for teaching. The author of this type of program needs access to tools to implement a GUI for his/her users and the ability to write to a part program file. (b) Interactive machining. Here the distinguishing feature is that the thread of code run by the user actually controls the machine. This allows two things. Firstly the control flow of the user program depends not only on user input but on the machine state (e.g. the tripping of a probe, the input power to the spindle). Secondly it can take place whilst a G-code program is loaded - so is useful for tasks like semi-automatic stock preparation. The author of an Interactive program needs access to tools to present the GUI at the user side, the ability to issue commands to the machine (say in the form of G-code strings) and to read the current state of hardware and software (offset systems, modes, speeds etc). This is a tougher call. head_even_higher These interfaces feel to me to be much like interactive web page designs. Flash (and its support tools) seems to be a strong contender (very powerful graphics - static and dynamic, a form of object orientated programming, surprisingly efficient) although the Linux world seems currently rather deprived on implementation. /head_even_higher/head_above... John Prentice - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [Fwd: Jog wheel ?]
Jeff Comments below: - Original Message - From: Jeff Epler [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, June 15, 2007 5:48 AM Subject: Re: [Emc-users] [Fwd: Jog wheel ?] Here at the CNC workshop I had an opportunity to plug in a device which identifies as I: Bus=0003 Vendor=0b33 Product=0020 Version=0117 N: Name=Contour Design ShuttleXpress The bottom of the device says Shuttle Xpress Model No. S-XPRS S/N: 0 0 4 7 x x x and there doesn't seem to be a date code. While this device is recognized by hal_input, it behaves very oddly--the way it operates is at odds with other similar devices. I don't think this device would be useful with emc without device-specific hacks, and even then it would be problematic. Read on if you'd like a longer explanation. snip I got some good advice from Emc-developers earlier in the year about driving this device but never did manage to get it going with EMC2 because of the sort of strange numbers your test have just shown. However, although I think the hardware is idiosyncratic, it does generate sensible values for buttons, inner wheel and the spring loaded ring under the built-in HID driver of Win Xp - two wrongs make a right do I hear :=) In particular you do get zero reports, For instance, imagine you use the shuttle to jog in one of 8 slow speeds. When you let go of the shuttle, it snaps back to the unreported zero position, but there's no report for that. There's no guarantee it reports 1 either. So you can't tell for a few seconds (until a report of a held position would have arrived) that you've returned the shuttle to home. Do you want your machine to keep jogging for 5 seconds after you stopped? A resounding No!. The jogwheel already isn't very useful due to its small number of reports per revolution (10), and the fact that 1 report out of 256 is lost (what's worse, the lost position will be at varying positions of the spinner since 256 is not a multiple of 12). As a result of this experience, I do not recommend the Shuttle Xpress to anyone who hopes to use it with emc2. I must, however, disagree with this conclusion. If it could be interfaced it would be a valuable jogging tool. If you program the 7 (forward and reverse) speeds of the ring in geometric progression to 100% of rapid speed it turns out to be very ergonomic. You can jog end to end of a big table (or big Z) at high speed and end with a very gentle touch to the time honoured Rizla. The inner wheel is then useful to put on a few thou of cut with a few clicks. I know of people who use the ring speeds for manual machining - say facing off stock with a fly cutter. Two of the devices driving X and Z of a lathe are very good for tool setup work - quicker than conventional MPGs because of the geometric range of speeds - and perfectly usable for manual turning like facing off a length of stock. Now the product is not IP65 protected and would not survive a pallet lifter driven over it but at the price and as it uses no precious I/O pins I believe it is worth the effort of getting it to work. John Prentice - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] scaling G code
Greetings A modal scaling code (G51?) is certainly useful and fairly easy to define in terms of its effect on X, Y, Z etc. coordinates submitted to the interpreter. One does have to beware of what happens to arcs with unequal, say, X and Y factors. Rotation seems to me much more difficult to specify because of jogging and because of work offsets. Does the X jog move the table left and right or in such a way that only the X DRO alters? Is the rotation about 0,0,0 in the current cosys, the G54 cosys or the G53 cosys? I think that funny things happen to datums whatever option is chosen. John Prentice From: John Kasunich [EMAIL PROTECTED] Subject: Re: [Emc-users] scaling G code Jon Elson wrote: Ray Henry wrote: Now fifw, it seems to me that it's time to modify the interpreter to allow for a modal scaling g-code. Oh wow, cool idea! If we're going to do that, 3-axis rotation would be a good thing to put in at the same time. Then, you could scale/rotate the moves to fit the part, rather than try to align the part to the machine. The big boys all have this, and the math is almost trivial and very localized. You just run the time-honored translation matrix on all input coordinates. Jon You volunteering Jon? That would be a good thing to work on while you are at the CNC workshop. ;-) Regards, John Kasunich - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Stepper resonance?
Jack Do you have a link to the Geckodrive list? Google Feeling Lucky for Geckodrive Yahoo gets you to it - like it does to most things ;=). John Prentice - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Newest 5i20 FPGA code
Seb if none of these are what you want then yes you need to write your own VHDL. Yes, that's what I need to do.. I downloaded the Xilinx developer code. Wow - there's a lot of it, but it seems it caters for all of their products. Can anyone help kickstart my vhdl tinkering by a quick description of the development process to create the .bit files that you load onto the Xilinx chip on the Mesa board? That is a tall order and I am afraid I am only going to give a superficial idea - I hope it is not insulting. You essentially provide two inputs. A source file of the hardware description language and a set of constraints. In the simplest form these constraints are the mapping of HDL signal names onto physical pins of the chip and defining the electrical characteristics (e.g. LSTTL, pullups etc.) of the pins. The Xilinix ISE automates the workflow when you have this data by double clicking on any stage in the Process pane.. I have uploaded a short movie of this at www.castlewoodconsultants.com/Misc/ISEWorkflow.wmv I am afraid I use Verilog as HDL so cannot give you a VHDL example with which to play. John Prentice - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] OT - Re: EMC Supported Boards and more
From: Len Shelton [EMAIL PROTECTED] To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net Sent: Sunday, April 01, 2007 6:00 AM Subject: Re: [Emc-users] EMC Supported Boards and more snip Mach's going that way slowly... No - Mach jumped in bed with Gecko. When I asked about whether there was an API for other hardware manufacturers to build devices like the G100, I was moderated off the list. Len Could be some misunderstanding here. I will contact you off-list about your experience with moderation but it is very strange that you were removed from the Mach1Mach2CNC Yahoo! list for asking about APIs etc. To my knowledge, as a moderator for more than 3 years, only a very few spammers have ever been removed. The driver for the G100 has evolved over several iterations but at all times the source of it has been publically available. Although it would be a daunting task to emulate a G100, drivers do also exist for ncPod (http://ncpod.oemtech.com/) and Galil controllers and Art Fenerty will support anyone wanting to add a controller. Of course, how technically satisfactory this would be depends on the match of Mach3 architecture with the interface to the motion controller. Finally, a personal observation. The division of intelligence between the user machine and a controller is a particularly challenging problem because of the conflicting needs to lookahead and buffer motion to provide responsive jogging and feed-hold. Doing as much in one place (e.g. the PC) has a lot of attractions! John Prentice - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [Fwd: Jog wheel ?]
Jeff Thanks - it's tough becoming a newbie again :=) I noticed that with a standard system plugging in the shuttle wheel gives a new input device mouse2 and the jog ring works like the scroll wheel. I set up the rule (including == in the pattern!) and get no error message. However I get no new device other than mouse2 So I set up a shuttle.hal file with:loadusr hal_input mouse2 (it is in group plugdev) and put HALFILE = shuttle.hal in my EMC2 .ini file No errors starting EMC-AXIS (from Trunk) (although there are if one misspells as laodusr - so I must be executing it :=) The odd thing is I see no new Signals nor indeed any input component in MachineShow Hal Configuration Can you suggest: (a) how to stop the device being automatically seen as a mouse and (b) what tests I can do to see what I might be doing wrong with my hal_input Thanks John Prentice - Original Message - From: Jeff Epler [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, March 09, 2007 9:57 PM Subject: Re: [Emc-users] [Fwd: Jog wheel ?] Based on the vendor and product you showed me, I would try creating /etc/udev/rules.d/shuttle.rules with the line SYSFS{idProduct}==0020, SYSFS{idVendor}==0b33, MODE=660, GROUP=plugdev then unplug and re-plug the device, and list the directory /dev/input to see if there is a device with group 'plugdev', which should be readable by your user. Then try loadusr hal_input ShuttleXPress and try 'show pin' to see what hal_input found You shouln't need a -ANYTHING flag. The only real use for that is if you want to control keyboard LEDs but not use keyboard keys: loadusr hal_input -L keyboard (it looks like the documentation for -KRAL isn't quite right, aside from being confusing -- -K covers keys and buttons, contrary to what I wrote in the manpage) Jeff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [Fwd: Jog wheel ?]
Hi, - Original Message - From: Stephen Wille Padnos [EMAIL PROTECTED] snip You're probably thinking of the Griffin PowerMate: http://www.griffintechnology.com/products/powermate/ It used to be available in black as well, but it looks like it isn't any more. Although it's probably a quadrature encoder inside, I think it's only 32 counts per rev (at 4x). I believe that X (Linux) gets events like a keyboard, so it may work with the input driver, possibly after some modifications. It has 5 basic operations: rotation CW or CCW, button press (and release of course), and rotation CW/CCW while the button is pressed. It's not RT in any case, so it could be used with halui or a GUI, but not as a jogwheel as Andy was wanting. and I believe the encoder is metallic contacts. If you want a very controllable movement for jogging to a touch, rather than one click is a thou, for manual machining it is worth looking at: http://www.contourdesign.com/shuttlepro/shuttlexpress.htm 5 buttons (axis selection?), a spring loaded ring with 7 steps each side of centre (continuous jog at 7 different speeds - make them geometric ratios), a centre jog wheel (coarse steps but fine for the last few thou). I removed my real MPG from a mill in preference for this $60 device . You can whip from and to end of end to end of an axis at full rapid but slow to a kissing touch with great safety. IMO a case of not having to emulate how handles connected to the old racks of TTL controlled machines :=) Not done it with EMC2, but device is a well behaved HID (Vendor Id 0x0B33, Product Id 0x33) so it might not be too hard. Don't bother with the driver that comes with it (Win only I think anyhow). I would send someone $60 to buy a wheel if that got us a HAL module for it (seriously). John Prentice ps its brother Shuttle Pro has more buttons but I don't think I would remember which does what and no easy way to label them :=) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] [Fwd: Jog wheel ?]
Jeff Thanks for this suggestion. It shows the power of such a modular system - I am conditioned by too many special cases :=) I was using EMC2 2.0 under Ubuntu so I decided it would be best to compile Trunk - just completed OK. less on /proc/bus/input/devices has the Shuttle as: I: Bus=0003 Vendor=0b33 Product=0020 Version=0117 N: Name=Contour Design ShuttleXPress P: Phys=usb-:00:1d.1-2/input0 S: Sysfs=/class/input/input6 H: Handlers=mouse2 event5 B: EV=7 B: KEY= 1fff 0 0 0 0 0 0 0 0 B: REL=180 I am struggling with the -KRAL switches and the Input Specification syntax. How does -B for buttons fit in? Could you give me an example of a suitable Input Spec to map my two HID axes and 5 buttons? Similary I am in trouble with the udev. The udev manual pages are too general for me and I cannot see how to relate your SYSFS example in hal_input doc. to the data I have. A bit of hand-holding would be much appreciated. I will post a wiki page for others who expressed interest when I get it going. Thanks John Prentice - Original Message - From: Jeff Epler [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, March 09, 2007 1:56 PM Subject: Re: [Emc-users] [Fwd: Jog wheel ?] John, I can't make any promises, but I believe that hal_input, which will be a part of emc 2.2, will support most HID devices recognized by Linux. How's your Linux and emc expertise level? You should be able to try out this driver with emc 2.1 by copying a few files from the development version: hal_input.py (copy to /usr/bin/hal_input, and chmod +x): http://cvs.linuxcnc.org/cvs/emc2/src/hal/user_comps/hal_input.py?rev=1.11;content-type=text%2Fplain linux_input.py (copy to /usr/lib/python2.4/site-packages/): http://cvs.linuxcnc.org/cvs/emc2/lib/python/linux_event.py?rev=1.5content-type=text/plain There is a manual page here: http://linuxcnc.org/docs/devel/html/man/man1/hal_input.1.html Once you've installed the driver, the trick is to first find out how to give the device proper permissions (section PERMISSIONS AND UDEV in the manual page), and second to find out how to tell hal_input to use that device (section INPUT SPECIFICATION in the manual page) Jeff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Lap Top IBM R51 with EMC2
Have you checked the port address? My R51 did not use 0x378 by default. Be interesting to see how you get on then. I had problems with Mach3 on R51 as the power control features under Windows were much too clever. EMC2 might go well as it is a nice laptop. John Prentice Hello KOCABAS wrote For my milling machine I am using Toshiba Laptop with parelel port. It's Okey For my lathe machine I tried to use second Laptop IBM R51 with parelel port but I couldn't do it. Signals doesn't go to driver box. What I have to do ? Thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Which cad software?
Roger, greetings rogerb wrote: Could be a little of topic but I'm looking at getting a mini mill for the shop and would like to go from drawing to tools. I run linux on my computer and have win 2000 running under vmware.I have used a few different softwre packages and they seem to suck (turbocad acad,varicad,qcad).I want to use the mini mill to cut patterns so 2d is the easiest to work with for me. Any suggestions are appreciated. Let us assume we want to keep costs down so OneCNC etc. are out. I think this means you need to choose decent CAD and then CAM: (a) I am afraid, professionally, I use Solidworks to model the whole part and then make a drawing of the view corresponding to the 2.5D milling at one setting on the machine. I export this as a DXF. The design intent in the parametric nature of the original model is invaluable in design iterations. The drawing side of Turbocad offers some parametric features too. TurboCADCAM integrates a 2.5D CAM package quite elegantly but it is not robust and crashes really annoy me. The secret of success drawing with Turbo, IMHO, is customizing the toolbars to suit your worflow. It has so many bars with many flyouts that it is hard to use. Customized for 2D engineering drawing it is fine. The problem is you have to learn it before you customize :=) (b) Having got a DXF and this must be clean (i.e. not containing duplicate lines, little gaps in paths etc. - and coming from the solid more or less ensures this) my 2.5D CAM tool is SheetCam (www.sheetcam.com). This is simple but powerful. It will go round a path with inside or outside offsets and leaving holding tabs, cut pocket with islands, drill automatically identifying holes by their diameter and generate code for a reversing tapping head. Above all it is very robust and well supported. Usual disclaimer here for SheetCam although Les Newell is a friend with whom I have worked on various projects. John Prentice - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Jogging peripharals was Re: adding 2nd parallel port
Chris If I was making a pendant I'd sure want a jogwheel instead of plus/minus buttons. It takes the same number of inputs and works much (much!) better. I have a real jogwheel but one of these days I'm going to try one of the little toy knob encoders from mouser etc - they're meant to be volume controls or something, but they might still be more useful for jogging than two buttons. The digital pots do work OK for FRO and the like - IMO not enough pulses per rev for MPG jogging. Have a look at: http://www.contourdesign.com/shuttlepro/shuttlexpress.htm It is designed for video editing ($59.95 list in US). USB interface. I have it set up with the spring loaded shuttle ring for continuous jog (it will do different speeds depending on the distance you turn it) and the inner jog wheel does steps. First four buttons select X, Y, Z, A axes. Fifth button cycles the step size (in range 0.1 to 0.0001) Very intuitive and fast for setting up a machine. Not so good for manual machining like you might do with a calibrated 100 click Fanuc MPG. The bad news for this list is that it is on Mach3 ;=) I still have little Linux sys prog experience (and actually not much with USB on Windows) - but the default Windows driver sees it as a standard HID (vendor ID 0xB33, Product 0x32). The Ring value has a range on +/- 7 so gives quite sensitive continuous jog speed control. If someone made a HAL driver for it, it would, I think,be easy to plug into EMC2. John Prentice - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users