开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date   
Macro execution order 2
Hi, Is there a way to make a line of the macro execute before starting the next line? It seems like the macros execute by type of call not the order the lines are entered. Todd
Started by morgtod @ · Most recent @
PCI Parallel Port card 2
To: Steve Blackmore Steve, a week or so ago I posted a message asking for any info on low cost PCI parallel port addin cards. You responded that the Lava card was good and only cost $16. I cannnot find this card anywhere that doesn't charge $30 or more when shipping is added in. Can you please tell me where you buy the Lava PCI card for $16. I need a number of these and I would appreciate the information. Thanks, Tom Moser
Started by (tom) @ · Most recent @
Excellon import was Re: Just an update - DXF layers and elements
Hello Art, Hopefully you can squeak it in... Excellon drill files are pretty basic; your hpgl import could likely be tweaked to allow for their format... BTW, I too think control is control, and cam is cam. Ballendo <snip>with the possible exception of Gerber Drill code at some
Started by ballendo @
Just an update - DXF layers and elements 5
Art wrote: Hi Art: A while ago I suggested you load a DXF file with certain options. Am I to assume (from the above) that you can now optionally turn only certain (entire) layers on? For example, one layer might be the curvey surface of an object, and another might be a drill layer, a third layer might be only a 'helper' layer to draw construction objects. All of these layers should be treated differently. Also, you'd like to let it know which was a 'drill' layer (or 'drill' element, ie an up-and-down movement, not 'follow the contour' movement). The 'helper' layer(s) can be ignored (unless perhaps if you had a 'helper' layer which had your raw stock outline). I also suggested that each DXF 'element' in a complicated drawing could be turned on manually, and the ORDER and DIRECTION (and DEPTH) of the tool could be governed by that manual selection. Here is why: suppose you have a DXF with your complete part all on one layer, but right now you just want to mill the outside contour. Perhaps you'd want to start near the edge of the material (this is not necessarily how the DXF was drawn in the first place) and proceed in a certain direction (ie choice of upmilling or downmilling). By picking the segments you want, in the order you want, you'd get maximum control over the toolpath. Have you given that idea any further consideration? Who else thinks this is a good idea? Doug Fortune http://www.cncKITS.com .
Started by Doug Fortune @ · Most recent @
Am I going mad? 2
Ive been playing with configure output devices and each time I open it and then press reset the mist and flood toggle between Ext Act 2 and 3. I was trying to use it in a macro but at this rate I will never know what pin it will turn on. Dave
Started by pledgy2000 @ · Most recent @
New Macro Commands.
Hi All: I have implemented 2 new Macro commands for those who have the knowhow to use them... BYTE GetPortByte(USHORT PortAddress) SHORT PutPortByte(USHORT PortAddress, BYTE data) GetPortByte will retrieve a byte from a port address. A command like A = GetPortByte( 888 ) will return the byte from printer port 0x378 for example. PutPortByte is the reverse. A = PutPortByte( 889 , 255 ) will put 255 out port 0x379 and retyurn a 1 if successful and 0 otherwise. These commands actually have a powerfull use if you know how to control your IO48 cards or your second printer port. If you don't tell Mach2 to control your second port, you can then use that port as all inputs, all outputs, or a mixture. You can send binary words out the second port. If you have a PCI IO board you should be able to program its configuration and then use it as well for as many outputs or inputs as you like. You will only have access within macro's, but this would be usable for toolchangers and the like to control external events or devices. These were added to allow the possibility of sending speed control words to binary controlled spindles if desired. Thanks, Art Art www.artofcnc.ca
Started by Art @
THC toggle 2
Hi, Is there a g-code or macro function that will toggle the THC on and off? Todd
Started by morgtod @ · Most recent @
Macro info 2
Hi, In a macro, how do you enter text that has no effect on the macro, just explanations of what the line is. Also how do you display info on the screen with out having a question attached, instead of x=question"how many banana's", I want display a screen that says x=4 banana's, enter to continue. Thanks Todd
Started by morgtod @ · Most recent @
Success and Failure :-/ 8
Hi All I finally managed to get a PWM signal to operate properly via an opto. The pulse rates match perfectly, albeit inverted. (That isn't the problem;). Nice square pulses with no spikes or rounding. The PWM on/off time seems perfect, for full speed its high all the time, half speed it's half on half off, etc and seems very linear. What I can't get is a linear voltage to match. I've tried a simple RC circuit and an LM358AN Op amp. I'm looking for 0-10V across the speed range, instead of a linear output it seems to follow a curve? For example, if I pick a 0-1000rpm range, and set 500rpm to give me 5V, at 250rpm it's 2V and 750rpm it's 8V and the nearer the limits, the worse it gets. How are you PWM people getting around this? Are you fudging it and setting a wider speed range than you really want and just using the "linear" bit? Can someone suggest values for a resistor and capacitor, I've tried several without much success. -- Steve Blackmore
Started by Steve Blackmore @ · Most recent @
feed back on driver
Has anyone tried this guys drivers out? Here is an ebay link: http://cgi.ebay.com/ws/eBayISAPI.dll? ViewItem&category=42920&item=2550592527 Thanks, Richard Konnen
Started by rekmac @
THC bug
I ran across this more by mistake than by design. I have modifed my Post to do the following: G70 F84 G90 M05 G4P1 G01Z0.500F40 G00X11.780Y3.789; move to start of cut G01Z0.250F40 ; lower head to .250 (piercing height) G4P1 M03F80 ; Turn on torch, reset speed to 80 IPM G00Z0.135; Lower head into cut at full rapid G01X11.670Y4.013; first line of cut params The above works fine By chance I edited and changed the G00Z.135 to a G01Z.135 and the THC hold does not work. The program takes off prior to the arc being established. So with the THC on the following does not recognize the HOLD. F84 G90 M05 G4P1 G01Z0.500F40 G00X11.780Y3.789; move to start of cut G01Z0.250F40 ; lower head to .250 (piercing height) G4P1 M03F80 ; Turn on torch, reset speed to 80 IPM G01Z0.135; Lower head into cut at 80 IPM G01X11.670Y4.013; first line of cut params Weird huh? The max speed on my Z is 60IPM but why would that effect the program Hold on the THC? It lowers okay but the arc starts about 1/2" from where it should since I have no pause on Spindle Spin up. Normally the THC hold takes care of it. TOM C
Started by caudlet @
DXF imports
Hi, On the DXF plasma imports, it would be nice if a macro ( e.g. m50 something )could be called instead of the m03 m05's that are installed by default. A header and footer line would be very nice also. Thanks for fixin that g28.1 . Todd
Started by morgtod @
Just an update. 3
Hi all: I have dealt with many bugs for the next release and have added some DXF functions such as separate spindle speed, feedrate, and plunge rate for all layers. Empty layers are flagged as well and turned off. Optimization has been made better and more DXF types will load. I still have a few bugs to go before release though, so it will be a few days before 9.0 is released. I am looking for the reported step/dir spindle bug at the moment and will have a couple new port commands for macro's as well with any luck. Thanks, Art www.artofcnc.ca
Started by Art @ · Most recent @
Lathe Function: Dual Path, the easy way
Art, Would it be possible to configure Mach2 so that X axis and one theoretical axis (Y) could be triggered just as Z axis is triggered for threading? If that was possible then I could run two separate Mach2 applications with one being the Z axis motion and the second one being X and Y (theoretical axis) with motion coordinated to the first application by the index pulse from the first. I would then be able to turn shapes other than round such as elliptical piston skirts and camshafts. Servo
Started by Servo Wizard @
Rhino vs. Alibre 2
Hello all, I have a question for any of you that could help. Now I have my mill hardware working with excellent results due to the Geckos (stepper drives) and Art?s soft combination, they are so good that the motivation has increased dramatically and now I am looking to find the soft CAD CAM solution. And here is the question, after researching the web during some hours and reading previous post I end up thinking that an Alibre 3D CAD plus VisualMill CAM or Rhino plus VisualMill would make it for me. I design mechanical pieces and I have been working with Autocad (2d) for time, now I would like 3D solid design. My conclusions have been that Alibre would be Ok. but Rhino is a very attractive solution due to the free surface modeling but what I don?t know is if Rhino is capable alone to create solids with regular shapes also in a practical way. Why I ask this is because I have seen some bundles of both (Alibre+Rhino) together with makes me think Rhino is not so good alone to work 3D apart of the NURBs surfaces. Thank you in advance for your comments.
Started by Luis Serrano @ · Most recent @
A-axis remembering previous moves
Hi Art, Still having some issues with the A-Axis in Mach1/2 If I run a part that ends at 360 degrees and G92 it to zero, reseting will cause the DRO to jump back to 360, if I run the part again then it will jump to 720 and so on for subsequent program runs. It seems that internally the axis is remembering the total of it's previous moves and returning to this value. Regards, Rab
Started by rainnea @
Mach2 crashing system 3
Hi Art Welcome back I'm putting together a new system for my router. It's a Aopen motherboard with a 700mhz intel celeron running Win2K. I installed mach2 rc7 and manually installed the driver. When I tried to open mach2 the splash screen starts up but immediately shuts down the system causing a restart. I tried uninstalling and installing rc3.0 and got the same results. Any ideas on this? Thanks Derek
Started by tig415 @ · Most recent @
Tool change macro 3
Here is the macro that I have made and it seems to work very well. What it will do is retract the spindle to Z-.1 (mach) You change the tool and move it where ever you like. Than it will rappid back to the XYpos and do the height offset for the tool you loaded. I hope you like it Brian M6start tool = GetSelectedTool() x = GetToolChangeStart( 0 ) y = GetToolChangeStart( 1 ) z = GetToolChangeStart( 2 ) a = GetToolChangeStart( 3 ) b = GetToolChangeStart( 4 ) c = GetToolChangeStart( 5 ) code "G00 G53 Z-.1" SetCurrentTool( tool ) M6END tool = GetSelectedTool() x = GetToolChangeStart( 0 ) y = GetToolChangeStart( 1 ) z = GetToolChangeStart( 2 ) a = GetToolChangeStart( 3 ) b = GetToolChangeStart( 4 ) c = GetToolChangeStart( 5 ) code ("G43 Z-.1 H" & tool) code ("G00 X" &x & "Y" &y & "A" &a)
Started by barker806 @ · Most recent @
US polarized AC plugs 3
Hi All, I've just received a couple of Bosch routers from the US, they have polarised plugs, ie. two spades, one wider than the other, could any of the US members tell me which is the Live and which is Neutral ? Do any of the UK members know where I can get some suitable sockets ? thanks, Rab Gordon http://www.rainnea.com/cnc.htm
Started by rainnea @ · Most recent @
Frequency to Voltage - Warning 5
Hi All, A warning to anyone using a LM2907/2917 Frequency to Voltage converter for spindle control. The chip data sheet does not specify an upper frequency limit, I have found that it is very non linear above about 13KHz, I did not realize the problem with Mach1 because I was using a D-FF as a pre-divider, however when I set up Mach2 for a Kernel speed of 35KHz I found that at above half spindle speed I was getting very strange results. The answer was to use the second D-FF on the chip, so there is now a divide by 4 pre-scalar to the FtoV. This modification should be good for M2 up to a Kernel frequency of 45KHz. Apologies to Art for any time he wasted on another non M2 problem. Bernard
Started by Bernard R <[email protected]> @ · Most recent @
Current Image
Image Name
Sat 8:39am