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
Drawings of SILENT violin
Paul Gubbels
I notice that some need an explanation of what a silent violin is.
Well, its a violin without an closed wooden sound body (dont know the correct English word) Sound is like an old transitorradio It has the contours of a normal violin and a normal neck. It is used for study purposes. Drawings of a normal violin are welcome too. Paul -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.3/350 - Release Date: 05/28/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.3/350 - Release Date: 05/28/2006 [Non-text portions of this message have been removed] |
Re: Mach 2- Mach 3
kenlambert2003
--- In mach1mach2cnc@..., art <fenerty@...> wrote:
throws in a big loop from no where . I use a thumb drive for file transferand I tested to make sure the file wasn't corrupt on the thumb drive Itis kinda puzzling sense all the other ones seem to work fine, anyIdeas on either question would be helpful. KennethoverMake sure you use 1.90.xx versions, many fixes have been added the last coupel months for radius comp thanks to ROb having usedit quite abit.of fixes seemed to havecompensation users..computer and it shows to cut this part just fine in simulation but i am not sure of the version , I will check it and see , my machine comp is not online so it may need updated thanks
|
Re: Version 1.90.040 Online../glut32.dll
afn09556
Hi, Carl
toggle quoted message
Show quoted text
I posted the file you need in Files LazyCam folder it's glut32.dll. Download it to your Mach3D1,90.040 folder where the lazycam and Mach Icon's are that's the file you need. Hope this helps, Chip --- In mach1mach2cnc@..., "carlcnc" <carlcnc@...> wrote:
|
Lazycam Ver 2.51
afn09556
Hi, Art and Brian
Lazycam layer control, nice from Layer Control on off generate's g-code for layer that's on. Shading of layer's in pulldown nice, is it intended to not turn off layer's when g=code is generated. Lot's of progress really nice. Hear are some item's to look at though. File: Test55.dxf located in Yahoo Files Lazycam Folder. Load Options, Keep Layer as is (Checked). Click on Box to move leadin then click on Bull's eye Origin to move leadin, Errors to error report Lazycam shuts down. If I zoom in some times I can move origin or leadin/start but not offtin and if I reset origin with Layer/Object Property Drawing Origin enter new value, Liadin can be moved then the origin can be moved with min xy button or origin value change but not with mouse click and move. Click on Triangle set to outside leadin right side of triangle leadin is inside also on outside leadin rt.side is inside. There backward's Posting Option: unchecked Spindle speed, It gen's spindle g-code Posting Option: unchecked Z plasma, No display of Cut for first cut due to No G01 generated. Posting Option: unchecked Spindle and Z plasma, No display of Cut for first cut due to No G01 generated. No direction arrow's for Cir's One other item if you load a DXF with lines and curves continues from start to end it generates leadin points at each change even though it's a continues cut, is there a way to remove them. Thank's Chip |
Re: Version 1.90.040 Online../glut32.dll
Art
all I find on the web for glut32.dll is really aimed at those of you who know what you are doing,ie. terms like "build" "compile" etc they mean zip[pun intended] to an old carpenter like me. how do us "un-initiated" simple users get this file in /on our system so we can play with the LazyCam 2.5?? thanks Carl |
Re: Loosing pulses- Correction
John
A few more observations from testing the old model of CNC4PC card.
1. Some pin outputs perform much better than others. For example I tested the same servopack with same cables and same motor on two different pins. On one case after several experiments I lost no pulses on the other I lost about 2 or 3 for every thousand. 2. I use a Dell Dimension and the logic ground pins 18-25 on the parallel port are definitely connected to the earth. This completely screws up the Yaskawa recommendations to segregate Earth ground from signal ground. 3. The suggestion to use a UPS will help isolate the logic ground from Earth and prevent ground loops IF one cuts down the earth pin on PC plug that connects to the UPS. This ofcourse will cause your electrician and your insurance and other safety authorities to frown!!! 3. Digikey sells a true optoisolator that can isolate ground loops for DB25 connectors but unfortunately it has only four channels and it good only for serial ports. 4. Yaskawa allows to jog the motor using a hand terminal. Things work fine but when I put the osciloscope on any terminal pin including earth ground and signal ground I get this huge pulses at ~17KHz even when the motor is stoped. I can pick this huge pulses with the scope even on a thick copper wire that I am using to connect to earth! When one hooks up all 5 motors on the breakout out board the pulse stream combinations that I pick from the ground terminal can be seen filling the whole scope screen. The fact that I am losing pulses only on a few channels and not on all of them may indicate that the performance of the old CNC4PC card is marginal and the improved model may do the trick. I also ordered 200 ferrite clipons! John --- In mach1mach2cnc@..., Steve Blackmore <steve@...> wrote: earth wiredin the power supply. Do you think this could help John?It may, but impossible to say without knowing how everything is including the mains supply and going over everything with a meter.good way Ivoltage regulator in the computer (and breakout board), but the aresee it, the problem is really related to how the servos drivers uphooked up.I may be.I also have a fully optoisolated board that isolates the grounds be ain the board. If someone thinks using one of these boards could problem,solution, I could send one for testing.The board I made for my lathe is totally isolated on inputs/outputs which in the end turned out to be a faulty driver, but it did provethat whatever was making the stepper move was not coming in from the PCside. money on what was a 5 minute fix!Both machines have earth bonding. All mains inputs to PC, VFD's etc allhave filters on. 5V & 12V power supplies are double insulated with no |
Finding files for use with VCarve Wizard
mikeg53549
I know a few of you men including Art got a copy of VCarve Wizard, what
program(s) are you using to make the .EPS files to use with this program suite? Very nice software but I need to make my own designs, artsy kind of stuff. Carving letters is not a problem here. Also looking for someone that has this program suite in the Wisconsin area. |
Re: Mach Turn
Hey Steve,
Thanks for posting the example. That is what I wanted to show him....I had just never done it! Mike --- In mach1mach2cnc@..., "John Stevenson" <john@...> wrote: turning wood columnsNow you are talking about me. I need a simple package for problem is that Iand spindles. I am building a 4 axis mill and the software wide and a pitchneed to do rope twists. Think threading with threads up to 6" profile will beof 3" to 18". The thread tool path is simplified because the cutting wizards cancut with custom router bits though I suspect that the thread could do thebe modified to do the spiral cuts and the slot cutting wizard have looked at wayfluting cuts. Any suggestions appreciated all the packages I to do can be done by hand easier than a program.too much extra baggage attached. toatl length is 24" or two pitches. zero the a xis and repeat.
|
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
Rich Wildey
Hi...
toggle quoted message
Show quoted text
Just as an FYI - I have the same problem after upgrading to the .040 release today. I will check on the web for the ALL as suggested.. Thx. Rich. To: mach1mach2cnc@...: fenerty@...: Mon, 29 May 2006 17:40:11 -0300Subject: Re: [mach1mach2cnc] Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..Hi Chip: Hmm. Weird. I guess me and brian missed that because we have glut. In the meantime, a google search will let you download glut.dll, its a normal Windows DLL that the web will provide, Ill check on the static bindings for LCam to be sure it gets compiled in in future..Thanks,Artwww.artofcnc.caVideos And Support Forums Map: Original Message ----- From: "afn09556" <afn09556@...>To: <mach1mach2cnc@...>Sent: Monday, May 29, 2006 5:25 PMSubject: [mach1mach2cnc] Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..> Hi, Art and All>> Just downloaded V.040 Lazycam won't run, Error Msg. glut32.dll not> found. Re-installed dident help.>> Thank's, Chip>>> --- In mach1mach2cnc@..., art <fenerty@...> wrote:>>>> Hello All:>>>> Version 1.90.040 is online. This'll be along one.. and a full systems>> check of the new SDK..>>>> 1) LazyCam 2.5 is in this release. From this release forward,> release notes>> will accopany each LazyCam release, but this version is aimed at> fixinf a>> plethora of small items in previous releases. Chain selection,> layering and>> such have all had fixes done to them. A new LazyCam video will hit> tomorrow>> or so..>>>> 2) PlugIn availablility. PlugIns are located in the C:\Mach3\PlugIns> folder.>> Included is a basic configurable JoyStick plugin. The menu item>> Operator/Plugins will allow fo rcnfiguring and turning PlugIns on or> off.>>>> 3) Mach3 - SDK (Software Developers Kit) is online in the downloads> section.>> ITs in the MAch4 section, but is actually the Mach3 SDK.>>>> SDK:>>>> There is a new video online showing how to use the SDK , and it> has a>> blank skeleton for starting a PlugIn project, as well as the source> code of>> the new JoyStick PlugIn. The Video is truly required watching for> aspiring>> PlugIn developers. The projects included will start anyone off in the>> Plug-In realm. A few notes on PlugIns, and MacroPump PlugIns.>>>> PlugIns can be redundant (multiple versions) , so it is possible> to have>> up to 100 MacroPumps running at once, all doing Various Jobs. It is> simple>> to turn on , or off, (see the new operator menu item..PlugIn> control) any>> plugIn or number of plugins. If one should decide to use SDK PlugIns as>> MacroPumps, they will run faster, be much more robust, and are> easily turned>> on, or off, during a Mach3 session in real time. As such, if your a C>> programmer using Visual Studio youll probably find they are pretty> easy to>> write. However, if your a VB programmer or Borland user, Im afraid I> cannot>> help much, I use only VS2003 these days. BUT, the interface should> respond>> in a similar way.>>>> The JoyStick example PlugIn is not a full blown Whizz-bang> control, it>> gives basic and configurable access to a joystick to show> programmers HOW to>> do such a job. (But I find it usefull, so the JoyStick plugin is in the>> release verison, you dont need the SDK to get it. )>>>> PlugIns can do almost anything within reason, including movement,> Jogging,>> GCode moves, monitoring or changing of DRO's, buttons, ect.. Almost> anythign>> in the VB scripter can be done in one way or another, and they run 1000>> times faster than a Script does. A MacroPump implemented in a PlugIn> can be>> expected to do a much more reliable job at a much faster rate. A> PlugIn is>> free to instantiate its own threading system, so the upper limit of> a loop>> can easily be made higher, and run at speeds up to 100 times a> second. Be>> aware that the timing considerations are unknown at this time in> terms of>> effects to MAch3's timing. The driver will be unaffected though by any>> timing constraints from the plugins. At worst, you will slow down> the GUI.>>>> I have used quite a few SDK's over the years, and I always find> them very>> difficult to start up, so I have included 2 example projects, one a> blank>> starter folder for rolling your own plugin, the other a developed> JoyStick>> control to show how to use the skeleton. The Video though, is pretty> much>> required watching to get full advantage. Please remember an> important point,>> an SDK is for programmers, it is not for the faint of heart, or> those that>> want to simply add a fast macropump script. (Unless they are qualified>> programmers. :) ) It is out of the scope of such things for me to> support>> all types of interface C++ questions on how to set a variable and> such , to>> use the SDK, it should be second nature to you what the difference> between>>>> Engine->Axis[0].MaxVelocity = 3 and>> Engine.Axis[0].MaxVelocity = 3 IS.>>>> DLL's are not great PlugIn type environments, you cannot bind a> C++ class>> across the DLL boundies without reducing them to COM expansions ,> and this>> is out of the scope of adidng a plugIn capability. I decided to go with>> Function Pointers for getting access to the Mach3 Core for such> things as>> GetDRO() and SetDRO(), but Ive tried to make the function pointer> interface>> fairly transparent to the user of the SDK, so calls like SetDRO( 2,> 1.3345)>> are the norm. You can ignore the mechanics of how those calls> actually make>> it to Mach3, unless you use Borland or CV compilers, in which case> youd have>> to investigate the Pointer passing methods I have used. Since the> Classes>> cannot be exported properly to the SDK, I have made the pointers to> those>> classes available to the PlugIn. You may use the pointers for all> structures>> and variables, but one rule remains in effect, you cannot call a Class>> function from the SDK. For example, you can use>>>> if( TrajectoryPlanner->RegenNeeded ) DoFoo(); where DoFoo() is a local>> function, but you cannot do.. TrajectoryPlanner->RunFile();, I have> made the>> variables and structures available, hundreds of them, but the functions>> remain inviolate to the PlugIns, no internal Mach functions can be> called,>> except as from local PlugIn Fucntions such as DoButton( 801) . The> codes>> correspond to the Wiki published codes for the Led's, buttons, and> DRO's.>> Your compiler will complain terribly if you try to call a function.> The .h>> files included with the projects are there to allow for comments to> show up>> and Variable lists to show up as shown in the video, but you may as> well>> ignore the Function declarations.>>>> It is in the domain of the Author of a PlugIn to determine if he> releases>> the source code for his work, most of mine will be Open Source, and> will>> serve as examples of how I attach to various subsystems within> Mach3. Over>> time, this will hopefully provide an example library of things a> plugin will>> do. The programmer is expected to name his work, so we know what the> plugin>> does, and Id appreciate if all plugins put a version number of what> Mach3>> version they were created with in the name. (Something I didnt do,> but will>> in future. ) A name return (shown in the video) of soemthing like..>> "JoyStick- A.Fenerty May2006 Ver.1.90.40" would be great and I will>> personally name mine in a similar fashion from this point forward,> that way>> if one is troublesome, it give us some hint as to what>> version the plugin originally worked in, and help me keep all of them>> working by allowing me to troubleshoot why a particular one may or> may not>> function.>>>> I will try very hard to answer any developers questions as to "What>> variable would tell me "this" or "that" , but Id appreciate if the> questions>> are not too low level like "How do I make a variable in C", this SDK> is, as>> I said, for people that know how to program. I will be adding systemic>> variables to allow a plugin to turn off behaviour like stopping the> screens>> from opening at all, to allow for MAch3 to be used as an invisable> back end>> to any movement application, and such things will appear over time. The>> PlugIn SDK itself will likely need very few updates, as I have> included a>> hug amount of power in it as it stands. (Just be carefull what you> attempt.>> :-)>>>> The Video shows how to easily debug and trace whats going on, the>> examples show how to Jog and such, though Im sure they will generate> a lot>> of questions. I will likely be slowly removing some Mach3 functions and>> changing them to PlugIns, things like THC control, woudl be much better>> handled as plugins, and the more I remove from Mach, the more stable> and>> faster it becomes. (and smaller), so many things in my opinion woudl> be best>> taken out and placed as plugin's. This would also clean up the> screens quite>> a bit and give a central location that easy to remeber for> configuring such>> things.>> My vision of the way Id like things to work is to have a webpage> full of>> plugins that add things like THC, JoySticks, USB controllers, G100, TCP>> hardware,gamepads, Ipacs.. etc..etc.. etc.. thus leaving the core> modules>> as sparse as possible and leaving any side-effects to affect just the>> plugins in use. As I say, there is a tremendous amount of power in> this, but>> Ill add more as required to give access to all fucntions and> variables I>> can, this is just the start of a long road of additions to give a> diverse>> assortment of hardware. Its pretty easy for example, to add a USB> printer>> port for IO. (I think Ill order one of those Ebay 10$ cables that go> from>> db25 to USB so I can add a bit more IO at a low price.>>>> On a side note, any programmer usually hates for others to see his> source>> code. Moreso for a person like myself who is not a trained> programmer, I am>> a self-taught hacker, so anyone who finds my code rather simplistic and>> see's me making improper assumptions, please feel free to suggest to> me how>> I can do it better. I learn as I go in most things, and C++ , though> Ive>> been at it awhile now, is a complex environment and theres alot of> ways to>> do things, I rarely follow convention simply because I dont know>> conventions. I do it as I see it fitting into the solution I require.>> (Consider that a disclaimer as to the sometimes implausable way I> program.>> As of now, my code will be laying about alot.. I shudder in> embarassment.>> :-) )>>>> For the programers among you, have fun, welcome to the core.... :)>>>> Thanks,>> Art>> www.artofcnc.ca>>>> Videos And Support Forums >> Users Map: >>>>>>>>>>> www.machsupport.com - Web site Access> Yahoo! Groups Links>>>>> www.machsupport.com - Web site Access
SPONSORED LINKS Craft hobby Hobby and craft supply Cnc controller Mach2 Machine controller YAHOO! GROUPS LINKS Visit your group "mach1mach2cnc" on the web. To unsubscribe from this group, send an email to: mach1mach2cnc-unsubscribe@... Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. |
Re: Mach Turn
Art do you have any prints of what you want....or is that what the
cad is for? I'd be willing to help if I can. I have Rhino, and Bobcad/cam V 17 for cad. I use Madcam for cam. If you are using a form cutting bit like Magnate sells you can pretty easily write the code by had. If you don't have cad of any kind, contact Robert Schutz at ob.com and see what kind of package deal he would give you on Rhino and Madcam. Madcam does not currently have automatic 4th axis but is is quite easy to rotate the parts in Rhino for indexing. I am told that automatic 4th axis is coming, but no date. Updates are free, support is free and good. BTW Robert is a reseller, but normally has some of the best prices around. Mike --- In mach1mach2cnc@..., "Art Ransom" <akransom@...> wrote: do. I plan on using the Magnate router bits, The problem is Cad software I need to design parts for CNC version of the Legacy. Art Ransommemory serves correctly) uses specially made router bits for making ropeturning wood columns and spindles. I am building a 4 axis mill and thethreading with threads up to 6" wide and a pitch of 3" to 18". The threadtool path is simplified because the profile will be cut with customrouter bits though I suspect that the thread cutting wizards can bemodified to do the spiral cuts and the slot cutting wizard could do thehave looked at way too much extra baggage attached.site link.for now, but itaround the £900add either 3dfor, 2.5D.specifically say it's 2.5Dall milled parts are still made up of 2.5D operations, I wonder ifthey ever use the program to it's full potential.---- ----------Terms of Service.---- ----------controller Mach2 Machine controller---------- YAHOO! GROUPS LINKSof Service. ----------
|
New section added (Dedicated to SDK plugin development)
In an attempt to try and keep all SDK plugin develpoment discussion in the one section and build a resource for others, I have created a new catagory in the online forum. It may take a habit change in order to remember to use it, however in the long run it will become a great place, as a database of questions and answers, and will reduce the need for the same questions to be answered repeatedly. Regards Benny |
Re: Mach 2- Mach 3
art
Hi Ken:
if I switch from mach 2 to mach 3 do I have to totally reprogram my machine? And I have a problem on my machine comp , I did a program forUnfortunatley, yes. The setup files are not compatable.. some parts and it runs fine on my office comp and runs fine with NC backplotter program but when I load it in my machine comp it throws in a big loop from no where . I use a thumb drive for file transfer and I tested to make sure the file wasn't corrupt on the thumb drive It is kinda puzzling sense all the other ones seem to work fine, any Ideas on either question would be helpful. Kenneth the last coupel months for radius comp thanks to ROb having used it quite abit.Make sure you use 1.90.xx versions, many fixes have been added over As problems are found in comp they are fixed, and the last round of fixes seemed to have worked out pretty well. I do recommend 1.90.xx for Radius compensation users.. Thanks Art www.machsupport.com - Web site Access Yahoo! Groups Links |
Re: Mach4 feed rate problem
art
Hi Johnny:
toggle quoted message
Show quoted text
Its likely a setup issues. Im finding thast seemingly certain mixtures of accel/vel seem to create the trouble. Havent had ti here as yet, but all development has ceased until the Next firmware is out and the G100 switches to a plug-in for Mach3. Actually, the plugin work has already begun. Screwmapping and softlimits ar enot yet active, they will be pretty much last before activation. I suspect highly speeds of 1600IPM are the cause of some math issues in there, but Ill track them down as soon as the plugin gets goin, this entails a cleanup and rewrite to make it all neatly tie together. Does it do this if you program it for 400IPM or so? We're seeing very accurate Feedrate s here in all tests.. Thanks, Art www.artofcnc.ca Videos And Support Forums Users Map: ----- Original Message -----
From: "Johnny" <nukeitout@...> To: <mach1mach2cnc@...> Sent: Monday, May 29, 2006 4:46 PM Subject: [mach1mach2cnc] Mach4 feed rate problem I am having a few problems with Mach4 and the Grex. I am running a program at 80 inches/min. The feed rate I see is 147.76 inches/min. I don't have my feed rate overridden, it is set at 100%. When I jog it jogs at full rapid no matter what my jog feed rate is set on. The rapid it jogs to is 1432 inches/min which is higher than my maximum jog rate of 795 in/min. I don't currently have my Grex hooked up to my machine. I can see the toolpath being followed in Mach4 and it seems to be doing a fine job of it. I have checked the location of where the computer told it to go and where it actually is and it is not off. I have the Grex set up like I would put it on my machine. I have my rapid moves set to 795inch/min, axis accel to .0703, and 3556 steps/unit for each axis. Am I having problems because I have the settings to high for the beta version? My machine is capable of moves up to 1600 inches/min with less than a second to reach full speed (yes, I'm using servos). The soft limits don't work. Are they turned on yet? The screwmapping doesn't seem to be turned on either. Please advise. I can't wait to get this control onto my machine. I'm using Mach2 now and can't fully exploit my machine capabilities. Thanks in advance and have a great week, Johnny www.machsupport.com - Web site Access Yahoo! Groups Links |
Re: rpm macropump
Hi Gary,
toggle quoted message
Show quoted text
You can't use the existing RPM DRO. Hou will need to use the screen builder to add in a new DRO and write the RPM from the ModIO to that. Cheers, Peter. gary burke said: Right now all i want to do is read in the rpm and desplay the rpm in the |
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
Hi, Art, Lazy cam now works with the glut32.dll , but it still crashes when using a bmp file, says MachManip MFC application has encountered a problem and needs to close, then Lazy Cam shuts down.
art <fenerty@...> wrote: Hello All: Version 1.90.040 is online. This'll be along one.. and a full systems check of the new SDK.. 1) LazyCam 2.5 is in this release. From this release forward, release notes will accopany each LazyCam release, but this version is aimed at fixinf a plethora of small items in previous releases. Chain selection, layering and such have all had fixes done to them. A new LazyCam video will hit tomorrow or so.. 2) PlugIn availablility. PlugIns are located in the C:\Mach3\PlugIns folder. Included is a basic configurable JoyStick plugin. The menu item Operator/Plugins will allow fo rcnfiguring and turning PlugIns on or off. 3) Mach3 - SDK (Software Developers Kit) is online in the downloads section. ITs in the MAch4 section, but is actually the Mach3 SDK. SDK: There is a new video online showing how to use the SDK , and it has a blank skeleton for starting a PlugIn project, as well as the source code of the new JoyStick PlugIn. The Video is truly required watching for aspiring PlugIn developers. The projects included will start anyone off in the Plug-In realm. A few notes on PlugIns, and MacroPump PlugIns. PlugIns can be redundant (multiple versions) , so it is possible to have up to 100 MacroPumps running at once, all doing Various Jobs. It is simple to turn on , or off, (see the new operator menu item..PlugIn control) any plugIn or number of plugins. If one should decide to use SDK PlugIns as MacroPumps, they will run faster, be much more robust, and are easily turned on, or off, during a Mach3 session in real time. As such, if your a C programmer using Visual Studio youll probably find they are pretty easy to write. However, if your a VB programmer or Borland user, Im afraid I cannot help much, I use only VS2003 these days. BUT, the interface should respond in a similar way. The JoyStick example PlugIn is not a full blown Whizz-bang control, it gives basic and configurable access to a joystick to show programmers HOW to do such a job. (But I find it usefull, so the JoyStick plugin is in the release verison, you dont need the SDK to get it. ) PlugIns can do almost anything within reason, including movement, Jogging, GCode moves, monitoring or changing of DRO's, buttons, ect.. Almost anythign in the VB scripter can be done in one way or another, and they run 1000 times faster than a Script does. A MacroPump implemented in a PlugIn can be expected to do a much more reliable job at a much faster rate. A PlugIn is free to instantiate its own threading system, so the upper limit of a loop can easily be made higher, and run at speeds up to 100 times a second. Be aware that the timing considerations are unknown at this time in terms of effects to MAch3's timing. The driver will be unaffected though by any timing constraints from the plugins. At worst, you will slow down the GUI. I have used quite a few SDK's over the years, and I always find them very difficult to start up, so I have included 2 example projects, one a blank starter folder for rolling your own plugin, the other a developed JoyStick control to show how to use the skeleton. The Video though, is pretty much required watching to get full advantage. Please remember an important point, an SDK is for programmers, it is not for the faint of heart, or those that want to simply add a fast macropump script. (Unless they are qualified programmers. :) ) It is out of the scope of such things for me to support all types of interface C++ questions on how to set a variable and such , to use the SDK, it should be second nature to you what the difference between Engine->Axis[0].MaxVelocity = 3 and Engine.Axis[0].MaxVelocity = 3 IS. DLL's are not great PlugIn type environments, you cannot bind a C++ class across the DLL boundies without reducing them to COM expansions , and this is out of the scope of adidng a plugIn capability. I decided to go with Function Pointers for getting access to the Mach3 Core for such things as GetDRO() and SetDRO(), but Ive tried to make the function pointer interface fairly transparent to the user of the SDK, so calls like SetDRO( 2, 1.3345) are the norm. You can ignore the mechanics of how those calls actually make it to Mach3, unless you use Borland or CV compilers, in which case youd have to investigate the Pointer passing methods I have used. Since the Classes cannot be exported properly to the SDK, I have made the pointers to those classes available to the PlugIn. You may use the pointers for all structures and variables, but one rule remains in effect, you cannot call a Class function from the SDK. For example, you can use if( TrajectoryPlanner->RegenNeeded ) DoFoo(); where DoFoo() is a local function, but you cannot do.. TrajectoryPlanner->RunFile();, I have made the variables and structures available, hundreds of them, but the functions remain inviolate to the PlugIns, no internal Mach functions can be called, except as from local PlugIn Fucntions such as DoButton( 801) . The codes correspond to the Wiki published codes for the Led's, buttons, and DRO's. Your compiler will complain terribly if you try to call a function. The .h files included with the projects are there to allow for comments to show up and Variable lists to show up as shown in the video, but you may as well ignore the Function declarations. It is in the domain of the Author of a PlugIn to determine if he releases the source code for his work, most of mine will be Open Source, and will serve as examples of how I attach to various subsystems within Mach3. Over time, this will hopefully provide an example library of things a plugin will do. The programmer is expected to name his work, so we know what the plugin does, and Id appreciate if all plugins put a version number of what Mach3 version they were created with in the name. (Something I didnt do, but will in future. ) A name return (shown in the video) of soemthing like.. "JoyStick- A.Fenerty May2006 Ver.1.90.40" would be great and I will personally name mine in a similar fashion from this point forward, that way if one is troublesome, it give us some hint as to what version the plugin originally worked in, and help me keep all of them working by allowing me to troubleshoot why a particular one may or may not function. I will try very hard to answer any developers questions as to "What variable would tell me "this" or "that" , but Id appreciate if the questions are not too low level like "How do I make a variable in C", this SDK is, as I said, for people that know how to program. I will be adding systemic variables to allow a plugin to turn off behaviour like stopping the screens from opening at all, to allow for MAch3 to be used as an invisable back end to any movement application, and such things will appear over time. The PlugIn SDK itself will likely need very few updates, as I have included a hug amount of power in it as it stands. (Just be carefull what you attempt. :-) The Video shows how to easily debug and trace whats going on, the examples show how to Jog and such, though Im sure they will generate a lot of questions. I will likely be slowly removing some Mach3 functions and changing them to PlugIns, things like THC control, woudl be much better handled as plugins, and the more I remove from Mach, the more stable and faster it becomes. (and smaller), so many things in my opinion woudl be best taken out and placed as plugin's. This would also clean up the screens quite a bit and give a central location that easy to remeber for configuring such things. My vision of the way Id like things to work is to have a webpage full of plugins that add things like THC, JoySticks, USB controllers, G100, TCP hardware,gamepads, Ipacs.. etc..etc.. etc.. thus leaving the core modules as sparse as possible and leaving any side-effects to affect just the plugins in use. As I say, there is a tremendous amount of power in this, but Ill add more as required to give access to all fucntions and variables I can, this is just the start of a long road of additions to give a diverse assortment of hardware. Its pretty easy for example, to add a USB printer port for IO. (I think Ill order one of those Ebay 10$ cables that go from db25 to USB so I can add a bit more IO at a low price. On a side note, any programmer usually hates for others to see his source code. Moreso for a person like myself who is not a trained programmer, I am a self-taught hacker, so anyone who finds my code rather simplistic and see's me making improper assumptions, please feel free to suggest to me how I can do it better. I learn as I go in most things, and C++ , though Ive been at it awhile now, is a complex environment and theres alot of ways to do things, I rarely follow convention simply because I dont know conventions. I do it as I see it fitting into the solution I require. (Consider that a disclaimer as to the sometimes implausable way I program. As of now, my code will be laying about alot.. I shudder in embarassment. :-) ) For the programers among you, have fun, welcome to the core.... :) Thanks, Art www.artofcnc.ca Videos And Support Forums Users Map: www.machsupport.com - Web site Access SPONSORED LINKS Craft hobby Hobby and craft supply Cnc controller Mach2 Machine controller --------------------------------- YAHOO! GROUPS LINKS Visit your group "mach1mach2cnc" on the web. To unsubscribe from this group, send an email to: mach1mach2cnc-unsubscribe@... Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice |
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
afn09556
Hi, Art
Found it, glut32.dll, load's now. Thank's, Chip --- In mach1mach2cnc@..., art <fenerty@...> wrote: In the meantime, a google search will let you download glut.dll, its a normalbindings for LCam to be sure it gets compiled in in future..systems PlugIns ascheck of the new SDK..release notes in theMacroPumps, they will run faster, be much more robust, and areeasily turnedon, or off, during a Mach3 session in real time. As such, if your a Ceasy to run 1000release verison, you dont need the SDK to get it. )Jogging, by anytimes faster than a Script does. A MacroPump implemented in a PlugIncan beexpected to do a much more reliable job at a much faster rate. APlugIn isfree to instantiate its own threading system, so the upper limit ofa loopcan easily be made higher, and run at speeds up to 100 times asecond. Beaware that the timing considerations are unknown at this time interms ofeffects to MAch3's timing. The driver will be unaffected though qualifiedtiming constraints from the plugins. At worst, you will slow downthe GUI.them very go withprogrammers. :) ) It is out of the scope of such things for me tosupportall types of interface C++ questions on how to set a variable andsuch , touse the SDK, it should be second nature to you what the differencebetweenC++ class ClassFunction Pointers for getting access to the Mach3 Core for suchthings asGetDRO() and SetDRO(), but Ive tried to make the function pointerinterfacefairly transparent to the user of the SDK, so calls like SetDRO( 2,1.3345)are the norm. You can ignore the mechanics of how those callsactually makeit to Mach3, unless you use Borland or CV compilers, in which caseyoud haveto investigate the Pointer passing methods I have used. Since theClassescannot be exported properly to the SDK, I have made the pointers tothoseclasses available to the PlugIn. You may use the pointers for allstructuresand variables, but one rule remains in effect, you cannot call a localfunction from the SDK. For example, you can use functionsfunction, but you cannot do.. TrajectoryPlanner->RunFile();, I havemade thevariables and structures available, hundreds of them, but the systemicremain inviolate to the PlugIns, no internal Mach functions can becalled,except as from local PlugIn Fucntions such as DoButton( 801) . Thecodescorrespond to the Wiki published codes for the Led's, buttons, andDRO's.Your compiler will complain terribly if you try to call a function.The .hfiles included with the projects are there to allow for comments toshow upand Variable lists to show up as shown in the video, but you may aswellignore the Function declarations.releases time. Thevariables to allow a plugin to turn off behaviour like stopping thescreensfrom opening at all, to allow for MAch3 to be used as an invisableback endto any movement application, and such things will appear over functions andPlugIn SDK itself will likely need very few updates, as I haveincluded ahug amount of power in it as it stands. (Just be carefull what youattempt.:-)a lot betterchanging them to PlugIns, things like THC control, woudl be much G100, TCPhandled as plugins, and the more I remove from Mach, the more stableandfaster it becomes. (and smaller), so many things in my opinion woudlbe besttaken out and placed as plugin's. This would also clean up thescreens quitea bit and give a central location that easy to remeber forconfiguring suchthings.full of simplistic andhardware,gamepads, Ipacs.. etc..etc.. etc.. thus leaving the coremodulesas sparse as possible and leaving any side-effects to affect just thethis, but see's me making improper assumptions, please feel free to suggest tome howI can do it better. I learn as I go in most things, and C++ , thoughIvebeen at it awhile now, is a complex environment and theres alot ofways todo things, I rarely follow convention simply because I dont knowprogram. |
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
art
Paul:
toggle quoted message
Show quoted text
Great to hear the first compilation worked. Let me know how you make out, I suspect a serial MPG is a great project.. Thanks, Art www.artofcnc.ca Videos And Support Forums Users Map: ----- Original Message -----
From: "Paul Hvidston" <paul@...> To: <mach1mach2cnc@...> Sent: Monday, May 29, 2006 5:16 PM Subject: Re: [mach1mach2cnc] Version 1.90.040 Online.. SDK and new LazyCam..also new video.. Art, |
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
art
Hi Chip:
toggle quoted message
Show quoted text
Hmm. Weird. I guess me and brian missed that because we have glut. In the meantime, a google search will let you download glut.dll, its a normal Windows DLL that the web will provide, Ill check on the static bindings for LCam to be sure it gets compiled in in future.. Thanks, Art www.artofcnc.ca Videos And Support Forums Users Map: ----- Original Message -----
From: "afn09556" <afn09556@...> To: <mach1mach2cnc@...> Sent: Monday, May 29, 2006 5:25 PM Subject: [mach1mach2cnc] Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video.. Hi, Art and All |
Re: Version 1.90.040 Online.. SDK and new LazyCam..also new video..
afn09556
Hi, Art and All
Just downloaded V.040 Lazycam won't run, Error Msg. glut32.dll not found. Re-installed dident help. Thank's, Chip --- In mach1mach2cnc@..., art <fenerty@...> wrote: release notes will accopany each LazyCam release, but this version is aimed atfixinf a plethora of small items in previous releases. Chain selection,layering and such have all had fixes done to them. A new LazyCam video will hittomorrow or so..folder. Included is a basic configurable JoyStick plugin. The menu itemoff. section. ITs in the MAch4 section, but is actually the Mach3 SDK.has a blank skeleton for starting a PlugIn project, as well as the sourcecode of the new JoyStick PlugIn. The Video is truly required watching foraspiring PlugIn developers. The projects included will start anyone off in theto have up to 100 MacroPumps running at once, all doing Various Jobs. It issimple to turn on , or off, (see the new operator menu item..PlugIncontrol) any plugIn or number of plugins. If one should decide to use SDK PlugIns aseasily turned on, or off, during a Mach3 session in real time. As such, if your a Ceasy to write. However, if your a VB programmer or Borland user, Im afraid Icannot help much, I use only VS2003 these days. BUT, the interface shouldrespond in a similar way.control, it gives basic and configurable access to a joystick to showprogrammers HOW to do such a job. (But I find it usefull, so the JoyStick plugin is in theJogging, GCode moves, monitoring or changing of DRO's, buttons, ect.. Almostanythign in the VB scripter can be done in one way or another, and they run 1000can be expected to do a much more reliable job at a much faster rate. APlugIn is free to instantiate its own threading system, so the upper limit ofa loop can easily be made higher, and run at speeds up to 100 times asecond. Be aware that the timing considerations are unknown at this time interms of effects to MAch3's timing. The driver will be unaffected though by anythe GUI. them very difficult to start up, so I have included 2 example projects, one ablank starter folder for rolling your own plugin, the other a developedJoyStick control to show how to use the skeleton. The Video though, is prettymuch required watching to get full advantage. Please remember animportant point, an SDK is for programmers, it is not for the faint of heart, orthose that want to simply add a fast macropump script. (Unless they are qualifiedsupport all types of interface C++ questions on how to set a variable andsuch , to use the SDK, it should be second nature to you what the differencebetween C++ class across the DLL boundies without reducing them to COM expansions ,and this is out of the scope of adidng a plugIn capability. I decided to go withthings as GetDRO() and SetDRO(), but Ive tried to make the function pointerinterface fairly transparent to the user of the SDK, so calls like SetDRO( 2,1.3345) are the norm. You can ignore the mechanics of how those callsactually make it to Mach3, unless you use Borland or CV compilers, in which caseyoud have to investigate the Pointer passing methods I have used. Since theClasses cannot be exported properly to the SDK, I have made the pointers tothose classes available to the PlugIn. You may use the pointers for allstructures and variables, but one rule remains in effect, you cannot call a Classmade the variables and structures available, hundreds of them, but the functionscalled, except as from local PlugIn Fucntions such as DoButton( 801) . Thecodes correspond to the Wiki published codes for the Led's, buttons, andDRO's. Your compiler will complain terribly if you try to call a function.The .h files included with the projects are there to allow for comments toshow up and Variable lists to show up as shown in the video, but you may aswell ignore the Function declarations.releases the source code for his work, most of mine will be Open Source, andwill serve as examples of how I attach to various subsystems withinMach3. Over time, this will hopefully provide an example library of things aplugin will do. The programmer is expected to name his work, so we know what theplugin does, and Id appreciate if all plugins put a version number of whatMach3 version they were created with in the name. (Something I didnt do,but will in future. ) A name return (shown in the video) of soemthing like..that way if one is troublesome, it give us some hint as to whatmay not function.questions are not too low level like "How do I make a variable in C", this SDKis, as I said, for people that know how to program. I will be adding systemicscreens from opening at all, to allow for MAch3 to be used as an invisableback end to any movement application, and such things will appear over time. Theincluded a hug amount of power in it as it stands. (Just be carefull what youattempt. :-)a lot of questions. I will likely be slowly removing some Mach3 functions andand faster it becomes. (and smaller), so many things in my opinion woudlbe best taken out and placed as plugin's. This would also clean up thescreens quite a bit and give a central location that easy to remeber forconfiguring such things.full of plugins that add things like THC, JoySticks, USB controllers, G100, TCPmodules as sparse as possible and leaving any side-effects to affect just thethis, but Ill add more as required to give access to all fucntions andvariables I can, this is just the start of a long road of additions to give adiverse assortment of hardware. Its pretty easy for example, to add a USBprinter port for IO. (I think Ill order one of those Ebay 10$ cables that gofrom db25 to USB so I can add a bit more IO at a low price.source code. Moreso for a person like myself who is not a trainedprogrammer, I am a self-taught hacker, so anyone who finds my code rather simplistic andme how I can do it better. I learn as I go in most things, and C++ , thoughIve been at it awhile now, is a complex environment and theres alot ofways to do things, I rarely follow convention simply because I dont knowprogram. As of now, my code will be laying about alot.. I shudder inembarassment. :-) ) |
to navigate to use esc to dismiss