Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 03:14:48 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
custom application
Pages:
1
2
3
4
»
Go Down
« previous
next »
Author
Topic: custom application (Read 1472 times)
0 Members and 1 Guest are viewing this topic.
oldmechano
Active Member
Offline
Posts: 21
custom application
«
on:
October 11, 2010, 12:45:13 PM »
Hi, I was wondering if I could get some insight into a specific Mach3 application that is not controlling a milling machine or lathe.
The machine I have Mach3 loaded to is a automated stapling machine... it has a fixed staple head (from another machine) using a custom built and designed table (my work) I got asked to load the software and get this machine running correctly.
My steppers, proxy's, and controller were bought as a kit along with the software. I have 2 sliding tables (X,Y) on top of one another and my working head is fixed. The machine acts like a giant sewing machine. My path generation comes from my designs and I can edit on the fly in the software as needed.
I read the instruction manual, which I found to be a bit lacking and on top of that the guy who sold me the equipment is being a bit vague with his "support" because he will make extra $$ if he has to make a service call to sort me out.
I found it strange there would be no troubleshooting guide in the manual - or did I miss that section?
My main issue is my machine head is actuated with an air cylinder running off a solid state relay... I tried to activate it with M3 M5 code but it was extremely slow and did not fire (hooked up to a test light for safety reasons) I tried several variations and when I took the M codes out it fly's!
I was thinking about trying coolant ON/OFF to see if that works... if that does not work is my only other recourse writing a custom macro?
Again, I just hooked this stuff up and only have a few hours running it... mostly head scratching.
Thanks.
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: custom application
«
Reply #1 on:
October 11, 2010, 02:06:10 PM »
M11/M10 may work for you better. What happens is if you have M11P1 output 1 will switch on with very little delay and M10P1 will switch it off,.
However it will not actually switch on or off until you command a G0 or G1 move.
Hood
Logged
oldmechano
Active Member
Offline
Posts: 21
Re: custom application
«
Reply #2 on:
October 11, 2010, 03:06:33 PM »
I will try those codes the next time I fire it up... I usually start with G90 G0 before moving to my first location, then I was using M3 M5.
Thanks for the suggestion.
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: custom application
«
Reply #3 on:
October 11, 2010, 03:26:50 PM »
Depending on how your machine actually works you may have to use a couple of dummy axis moves to switch it on and off, eg if you dont use a Z axis you could enable one and have a G0Z0 after the M11P1 and then maybe a G4P* if you need a pause then M10P1 and then another dummy Z move to switch it off.
Hood
Logged
oldmechano
Active Member
Offline
Posts: 21
Re: custom application
«
Reply #4 on:
October 11, 2010, 04:10:46 PM »
Yes, I don't use Z axis - there are no Z call-outs in my paths at the moment... right now it is just trial and error.
Mostly I want to see if I can make it work without writing a macro if I can help it.
Thanks for the suggestions - I will implement ASAP and will let you know what works with this particular machine setup.
I can't work on it till later this week because the PC (used) fried the motherboard due to a power surge!
Cheers.
Logged
oldmechano
Active Member
Offline
Posts: 21
Re: custom application
«
Reply #5 on:
October 20, 2010, 09:23:18 PM »
So I finally got to work on the machine again after building some parts for it - busy in the shops for a while... I fixed my PC issues and wrote some new programs. I wired in a 110V solenoid to my air cylinder and got it to fire with M3 and M5 but it is still very slow - about 2 seconds on the firing and it does not cycle with my machine head with splits out staples every 1/2 second.
The boards in the controller box are custom wired for one output which is functioning properly, it's just not fast enough... the staple head works on a flywheel/clutch assembly with is powered by a 1075RPM 110V motor - the flywheel engages every 90 degrees of rotation... the staple head is actuated by the air cylinder/solenoid which pulls on a rod attached to the clutch mechanism.
All the mechanics are working great except this delay in the code... the only other issue is getting the proximity switches set up correctly... the home works correct but the other end still touches the switches - I will probably be able to figure that out by playing with it a bit more.
I am not sure if the slow response thru the use of M codes will be resolved without writing a macro... we were also considering using some type of timer on the cylinder similar to what is on some drag racing shifting systems - they are able to control the switching in microseconds of an air cylinder - just a thought.
Any suggestions would be appreciated.
Thanks, Alex.
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: custom application
«
Reply #6 on:
October 21, 2010, 01:55:06 AM »
2 seconds to fire? or are you meaning 2 seconds from start of fire to switch off again? Check you dont have any delays set for spindle on General config page.
Have you tried the M11/M10?
Hood
Logged
oldmechano
Active Member
Offline
Posts: 21
Re: custom application
«
Reply #7 on:
October 21, 2010, 04:54:25 AM »
2 Seconds from start of fire to switch of again (M3 with M5 on next line) I will check for delays this morning. I did try M11/M10 but there was no function at all - just skipped right thru without registering any output (running from diagnostic window - stepping thru one line at a time) - maybe something in the way I wrote that code?
I will recheck this morning also.
Logged
oldmechano
Active Member
Offline
Posts: 21
Re: custom application
«
Reply #8 on:
October 21, 2010, 08:08:54 AM »
I checked in General Config... I did not see an spindle delay - at least nothing jumped out at me as being wrong. I rechecked my G code path... nothing up with it. M11/M10 are not recognized... it just skips right over those commands. The only program that is currently running properly is with M3/M5 but as I said 4-5 times as slow as what I require.
A few questions:
1) On the diagnostics page there are some M/G code buttons - there is a page that comes up once they are selectted... are those the commands that the software recognizes or are they just for reference? because M11/M10 are not on that list...
2) On the diagnostics page Abs Max XYZ (far right on the page) - can this be reset somewhere to zero all those numbers as in the current position? I am trying to zero my machine head under the work piece and am having difficulties with the software thinking it needs to go to another position outside of set limits... is there a toggle between absolute and incremental?
Logged
docltf
Active Member
Offline
Posts: 343
Re: custom application
«
Reply #9 on:
October 21, 2010, 09:30:20 AM »
oldmech
move your electric solenoid from the air supply to the trigger of the staple gun.this could help with the amount of time used to fire the gun.
it will make the action more positive and easier to control with code.this way you can control a relay for the trigger solenoid with the port settings for
the Z axis and g-code.it would get you some pretty good trigger speed.
bill
Logged
Pages:
1
2
3
4
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...