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 28, 2012, 12:18:33 PM
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
VB and the development of wizards
ATC VB script example for rotary changer...
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: ATC VB script example for rotary changer... (Read 5096 times)
0 Members and 2 Guests are viewing this topic.
Chaoticone
South Carolina, US
Administrator
Offline
Posts: 3,598
Precision Chaos
Re: ATC VB script example for rotary changer...
«
Reply #10 on:
October 02, 2007, 07:13:42 PM »
Scott has Brian on the brain.
Watch the brains intro video tutorials, they will help.
Brett
Logged
If you could see the things I have in my head, you would be laughing too.
www.precisionchaos1.com
My guard dog is not what you need to worry about!
drew
Active Member
Offline
Posts: 68
Re: ATC VB script example for rotary changer...
«
Reply #11 on:
October 03, 2007, 09:03:39 PM »
I didn't know Mach had brains.
Drew
Logged
If I had something important to say it would be here.
cowpoke
Active Member
Offline
Posts: 27
Re: ATC VB script example for rotary changer...
«
Reply #12 on:
October 13, 2007, 09:02:56 AM »
When using any of the toolchange macros described above, what file name would one save the macro to in order for it to work with Mach3. M06.m1s
Normal tool change command is M06 TXX. The M06 calls for a tool change but how does the T value get passed to the macro?
TIA from a macro writing infant,
Claude
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: ATC VB script example for rotary changer...
«
Reply #13 on:
October 13, 2007, 09:08:55 AM »
Claude,
Call it "M6Start.m1s"
The T value is grabbed by the Macro from the G code and from your tool number dro.
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
drew
Active Member
Offline
Posts: 68
Re: ATC VB script example for rotary changer...
«
Reply #14 on:
October 14, 2007, 10:08:55 AM »
I just guessed to save it as "M6Start.m1s" like Scott replied. In MDI put "t0606" hit enter and it runs the macro.
Drew
ps This example is for a Mach lathe setup not a mill.
«
Last Edit: October 17, 2007, 02:17:13 PM by drew
»
Logged
If I had something important to say it would be here.
cjmerlin
Active Member
Offline
Posts: 180
Re: ATC VB script example for rotary changer...
«
Reply #15 on:
November 09, 2007, 02:14:37 PM »
Hi, I've just posted a simple toolchanger BRAIN that might be worth looking at to give you some idea's for your application. Your ATC brain would be simpler as you only need to compare the tool encoder position to your tool request.
John
Logged
BOB88
Active Member
Offline
Posts: 18
Re: ATC VB script example for rotary changer...
«
Reply #16 on:
December 30, 2007, 02:18:03 PM »
For Drew,
Does your VB script for the HNC Turret changer require a PLC? How did you connect to the turret encoder, and air cylinders, to read the BCD code? Can it all be done through parallel port inputs and outputs? I'm doing an HNC and would really like to try out MACH3 if I can get by the Turret programming problem. The machine has a Fanuc Control with Fanuc 00 motor/encoders on it now, which are coming off.
Logged
drew
Active Member
Offline
Posts: 68
Re: ATC VB script example for rotary changer...
«
Reply #17 on:
December 30, 2007, 04:09:42 PM »
My machine pics at
http://www.machsupport.com/forum/index.php/topic,4618.0.html
My turret uses only LPT and M6Start.m1s macro ( no PLC, macropump or brains) to control 2 solenoids and read the 4 bit BCD and turret down(lock) position. Note when tool changing in lathe only the 'T' code is used no M6 in the g-code program.
The macro indexes at the current machine position so move your turret to a safe position before hand.
My Hnc had a GE 550 control. What fanuc control did/does your Hnc have?
Logged
If I had something important to say it would be here.
Pages:
«
1
2
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...