Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- MachCNC
- Messages
Search
Re: Beginner's Guide to OCX Implementation Request
Mark Tucker
--- In mach1mach2cnc@..., Les Newell <les@l...> wrote:
Hi Art,the exe it mostly works. If I try and run the program from within theVB IDE then VB bombs with a protection fault.from VB. Labels don't get redrawn correctly if the main window is resizedor another window is dragged over it. Also when you switch from onepage to another the controls on the new page don't always get drawn andthe controls from the previous pages don't get erased. Forcing arefresh by moving another window over the application sorts it out apart fromthe labels.redraw problems. I also had to use SetWindowHandle to stop everythiggetting drawn on the desktop. Also for some reason I get an accessviolation when I try to call SetProfileName()Les/Art I thought it was my poor vb understanding but i am getting all the faults above of which the first one (vb crashing when in ide is a pain). I have been writing progs and having to compile to exe to check them which does not make debugging very easy.I also can not get the about box to display the license,it displays "demo mode" even though everything is in the same directory (license.dat,Project,ocx). At least i know i am not going mad. Regards Mark |
Re: cnc plasma
--- In mach1mach2cnc@..., "dk32544" <scoutxx@c...> wrote:
If you have a part, say a bracket, but don't have a drawing what'sa good what to get it into mach1? I'm just talking about 1dimensional parts for the plasma cnc I'm building. I've seen different types ofsome reasonably priced hardware that will work? Maybe something I canscanner traces it and feeds it into the computer. Obviously, I'm prettyclueless about this I hope you guys understand what I'm trying to do. Your best bet is take the original part and measure it and draw it on a simple CAD or illustration program. The issue is not ususally duplicating a flat part although you have to cut it flat. Another issue is how you lay it out on your material to cut it. You seldom have something where just one fits on standard stock or even if you do you won't have the right sized stock in house. (#26 in the LAw of OBJECTS) Probing is best used for complex 3D objects that are more difficult to measure and draw. If you are concerned about precision and accuracy then plasma is the wrong tool to use. You could probably lay the original piece down on a piece of paper and trace the outline with a pen. Scan the tracing and do an auto trace using one of the cheap or free packages available. You can get a cut path pretty fast. Plasma is like carving wood with a chain saw, it cuts fast but fine detail is a little hard to produce. I cut a series of brackets for a guy. He brought me a sample and I measured it, drew it in QuickCAD (10 minutes), imported it into the CAM and spent more time figuring out how to get 48 pieces on each 2 X 2 sheet than it did to draw it. Actual cutting time was less than a hour for 4 sheets. If you can use something like CorelDraw (Vector drawing and illustration package) simple shapes using squares, arcs, circles and lines are quick and easy. Export in DXF or HPGL and import into MACH2 and select the right import options, and you have a cut file that will run your machine. Anything you can cut on a plasma table you can draw in Corel in less time than it would take to setup and probe it. Just 2 cents from a guy that spends his time snorting black smoke and metallic dust and dodging showers of sparks. |
Re: still can not clear E-Stop in Mach 2
Hugh Smith
It doesn't sound like you have Estop problems anymore so how about changing the subject line to "I got more toys than you do" so I can delete it before I waste time opening it.
toggle quoted message
Show quoted text
----- Original Message -----
From: tagrace_99 To: mach1mach2cnc@... Sent: Thursday, March 04, 2004 5:50 PM Subject: [mach1mach2cnc] Re: still can not clear E-Stop in Mach 2 What a sick group we are. --- In mach1mach2cnc@..., Erie Patsellis <erie@s...> wrote: > Racks, got one, though it's full of mostly whole house audio and > automation equipment, though there are > 4 pc's in there (one server and 3 mp3 players...) touchscreen computers > in every room (plus extra > home automation computer in the home theater). 15 computers in all... > > erie > > Robin Szemeti wrote: > > >On Wednesday 03 March 2004 21:03, Art wrote: > > > > > >>Ted: > >> > >> > >>>>Is there a prize for the biggest geek among us? > >>>> > >>>> > >> Definitely on the 10 most geeky list in my books...I have only 3 > >>computers and 2 laptops running here.., and the fastest is a 2.3Ghz... > >> > >> > > > >Hmm, 4 machines running in this room, 2 and a laptop downstairs, and a > >whole 19"/42U rack stuffed with servers at a colo facility in London, 2 more > >machines in at a colo in Lausanne ... > > > >You aint a real geek until you have a whole rack ;) > > > > > > Yahoo! Groups Sponsor ADVERTISEMENT ------------------------------------------------------------------------------ Yahoo! Groups Links a.. To visit your group on the web, go to: b.. To unsubscribe from this group, send an email to: mach1mach2cnc-unsubscribe@... c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. |
Re: cnc plasma
--- In mach1mach2cnc@..., "dk32544" <scoutxx@c...> wrote:
If you have a part, say a bracket, but don't have a drawing what's aclueless about this I hope you guys understand what I'm trying to do.Do you mean parts you will be making with the plasma cutter? I.e. someone brings in a sample and says 'make me 10 of these, but I don't have a drawing"? If so, sounds like you need a touch probe. One of these maybe: found it using Google for [cnc "touch probe"]. I've seen others too. Monte |
cnc plasma
If you have a part, say a bracket, but don't have a drawing what's a
good what to get it into mach1? I'm just talking about 1 dimensional parts for the plasma cnc I'm building. I've seen different types of scanners mentioned. I think they were optical or laser. Is there some reasonably priced hardware that will work? Maybe something I can attach to the gantry? The gantry moves back and forth and the scanner traces it and feeds it into the computer. Obviously, I'm pretty clueless about this I hope you guys understand what I'm trying to do. |
Photo's added of my new 4th/5th axis head assembly
Alan Trest
Hi all,
Especially Art, you can get one of these I'm sure. My friendly X-Ray repair guy brought me more treasures yesterday. In the pile of stuff was another vertical tube stand with the collomator head still in place. If you look at my photo album, you will see this is ready made for the 4th and 5th axis operation for a large scale router. Pivots right and left(all tapered roller bearings) as well as 10degrees negative rotation of the cutting plane and +90 in the other direction. Even has a ready made base for mounting a trim router. The back side of the curved moving surface has a curved rack type gear already mounted. Make friends with a Medical repair company guys. There are treasures to be had. Alan T. |
Re: still can not clear E-Stop in Mach 2
tagrace_99
What a sick group we are.
--- In mach1mach2cnc@..., Erie Patsellis <erie@s...> wrote: Racks, got one, though it's full of mostly whole house audio andcomputers in every room (plus extraall... 3 2.3Ghz...computers and 2 laptops running here.., and the fastest is a downstairs, and aHmm, 4 machines running in this room, 2 and a laptop London, 2 morewhole 19"/42U rack stuffed with servers at a colo facility in machines in at a colo in Lausanne ... |
Re: ShopBot conversion.
--- In mach1mach2cnc@..., "podunkmofo822" <podunk@v...>
wrote: Hi all,that this software freakin' ROCKS. I also own a shopbot PRT that's acan be. Shopbot software converses with it's controller via a serialover to step & direction via parrallel?Gavin, I have recently purchased a new ShopBot and have not cut anything with it yet. As soon as I installed the software it became apparent that the thing to do is replace it with Mach2, same as on my home built router. After speaking with Marris Freimanis and Ted Hall about this issue, it seems that the simplest solution is to replace the control box with one using Gecko drives. There may be a market for the ShopBot control box with people upgrading older ShopBots. Steve |
Re: still can not clear E-Stop in Mach 2
Erie Patsellis
Racks, got one, though it's full of mostly whole house audio and automation equipment, though there are
toggle quoted message
Show quoted text
4 pc's in there (one server and 3 mp3 players...) touchscreen computers in every room (plus extra home automation computer in the home theater). 15 computers in all... erie Robin Szemeti wrote: On Wednesday 03 March 2004 21:03, Art wrote: |
Re: still can not clear E-Stop in Mach 2
Robin Szemeti
On Wednesday 03 March 2004 21:03, Art wrote:
Ted:Hmm, 4 machines running in this room, 2 and a laptop downstairs, and aDefinitely on the 10 most geeky list in my books...I have only 3Is there a prize for the biggest geek among us? whole 19"/42U rack stuffed with servers at a colo facility in London, 2 more machines in at a colo in Lausanne ... You aint a real geek until you have a whole rack ;) -- RapidCut CNC Technology CNC Plasma Cutter |
Mastercam question
I know this is slightly off topic, but I was hoping there might be some
experts here. I am creating a toolpath in Mastercam and have the clearance value on my Contour set at 2". However, when I post the output (using the Mach2 post processer as well as others) it starts at Z=0 and goes straight to the XY position of the start of the contour before going to Z of 2". Does anybody have any ideas to what I'm doing wrong? Thanks, -Chris |
ShopBot conversion.
Hi all,
I have been using Mach2 to run my engraver and ,after the initial configuration bugaboos(No fault of the software), I have to say that this software freakin' ROCKS. I also own a shopbot PRT that's a couple of years old and I now see how much better control software can be. Shopbot software converses with it's controller via a serial cable. I was wandering if anyone else has converted a shopbot over to step & direction via parrallel? Thanks in advance, Gavin |
Re: Beginner's Guide to OCX Implementation Request
Les Newell
Hi Art,
There is still something wrong. If I compile the program then run the exe it mostly works. If I try and run the program from within the VB IDE then VB bombs with a protection fault. There are also some major redrawing problems when using the OCX from VB. Labels don't get redrawn correctly if the main window is resized or another window is dragged over it. Also when you switch from one page to another the controls on the new page don't always get drawn and the controls from the previous pages don't get erased. Forcing a refresh by moving another window over the application sorts it out apart from the labels. With Borland C++ builder the IDE doesn't crash but I get the same redraw problems. I also had to use SetWindowHandle to stop everythig getting drawn on the desktop. Also for some reason I get an access violation when I try to call SetProfileName() Les |
Re: Beginner's Guide to OCX Implementation Request
Art
Peter:
If you write an VB application with a button on it that calls StraightFeed ( 10,10,10,0,0,0) in it does it move? If not, send me the application, I can debug such a thing quite easily and see what the holdup is. Send the directorty you use zipped up so the VB application, the .xml file your using are both in a directory. I'll let you know why theres no movement... Thanks, Art www.artofcnc.ca |
Re: Elapsed time
Art
Daniel:
toggle quoted message
Show quoted text
Thanks, I'll look into it, I'm running slowly this week as I have a flu.. Thanks, Art www.artofcnc.ca ----- Original Message -----
|
Re: Beginner's Guide to OCX Implementation Request
Art
James:
You cannot run Mach2 at the same time as your VB application. When you use an OCX, you must have exclusive use of it. Send me an offline message so I can send you a small VB application which uses the OCX, I don't have the source, but it shows the VB interface works. Unfortunatley, I don't use VB at all, only C++, but the ocx shouldn't crash on you in any event, I suspect it may be the SetWindowHandle() routine must be called to set the right interface to your form... Art www.artofcnc.ca |
Re: Beginner's Guide to OCX Implementation Request
Peter,
toggle quoted message
Show quoted text
I was able to get the Master5 ocx to work by naming the OCX instead of: Private Motion As Master5Remote So much for reading books! Thanks for the help! I'll work with the Master5 OCX for now. James Thanks for the post - I think my first mistake was trying to use Master5 |
Re: Beginner's Guide to OCX Implementation Request
Peter,
toggle quoted message
Show quoted text
Thanks for the post - I think my first mistake was trying to use Master5 OCX. I downloaded the demo for Mach 2 Rev 4.0 lockdown to try it out. I created a new form in VB5 and followed your procedure below. I copied the text into VB5 - when I try to run it, VB5 crashes. I've tried it with Mach2 running and not running and have been getting mixed results. When I am able to have it run without crashing, I get no message boxes which tells me something is wrong. I am able to run the OCX driver test successfully and get around 24K pulses. I haven't yet registered Mach2 as I just downloaded it and wanted to make sure I could do what I wanted before I send Art his well deserved money. Could this be the problem? Basically what I want to do is be able to write my own VB code and utilize Art's routines to control the motor and "see" the position through the DRO. I don't think it's out of the question, I just can't get the right format down for getting started. Can I do this with an independent VB5 program or do I need to do it with scripting inside Mach2? That will help me make some decisions. What I'd like to do is create a little doc that shows any other idiots like myself who are interested in getting started exactly how to do it. I want kid's instructions - not expert's jargon (like all of the VB books out there - "first, create an instance of the class so you can initialize the object as private") to be available to everyone who wants to get into this. I'm willing to take a stab at the docs (which would greatly pale in comparison to John Prentice's work) but if I can't get started, I certainly can't tell others how to do it. Any help is appreciated. Thanks, James ----- Original Message -----
From: "Peter" <elasebay@...> 1) Place the OCX on a form, then try to find the OCX on the form, it |
to navigate to use esc to dismiss