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, 10:29:43 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
Newbie - having trouble with simple scripts
Pages:
1
Go Down
« previous
next »
Author
Topic: Newbie - having trouble with simple scripts (Read 465 times)
0 Members and 1 Guest are viewing this topic.
swanner
Active Member
Offline
Posts: 57
Newbie - having trouble with simple scripts
«
on:
May 27, 2011, 03:19:33 PM »
I'm very new to all of this. I just started using a 3-axis router with ATC and am trying to add some buttons to simplify the basic control of the machine. I added buttons on the offset page to run the g-codes for each tool change, so I don't have to type it in anymore - that was simple and worked like a charm. Now I'm trying to take it a step further add lines to lift the dust hood and move to the spot I touch off tools so I don't have to mess with that either - but it doesn't run as g-code, and then I changed it to a vb script it ran it backwards - I even rewrote it backwards but it still did the same thing - I figure it's something simple I don't know about, the lines I'm trying to run are:
M6T1
M08
G0 G53 X1 Y1
Logged
AndrewM
Support Tech
Administrator
Offline
Posts: 185
Re: Newbie - having trouble with simple scripts
«
Reply #1 on:
May 27, 2011, 03:51:36 PM »
If your trying to run that as VB then you need to use Code "" that lets VB know you want it run as Gcode.
Code "M6T1"
While IsMoving()
Wend
Code "M08"
While IsMoving()
Wend
Code "G0G53X1Y1"
While IsMoving()
Wend
Hope that helps
«
Last Edit: May 27, 2011, 03:59:41 PM by AndrewM
»
Logged
www.machsupport.com
www.newfangledsolutions.com
swanner
Active Member
Offline
Posts: 57
Re: Newbie - having trouble with simple scripts
«
Reply #2 on:
May 27, 2011, 04:18:17 PM »
Thanks. I tried it and it's an improvement but it didn't complete the tool change before it made the g0 move back to the front of the table (the tool changer is at the rear, 4x8 machine). It's like it made the first move of the tool change script, than the g0 move in the button script, then continued with the rest of the tool change moves (from the front of the table no where near the tools).
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: Newbie - having trouble with simple scripts
«
Reply #3 on:
May 27, 2011, 05:07:12 PM »
Sounds like the problem is in your M6Start macro.
You may need some While-is moving commands in there.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
swanner
Active Member
Offline
Posts: 57
Re: Newbie - having trouble with simple scripts
«
Reply #4 on:
May 27, 2011, 05:23:29 PM »
Here's my M6 files, the tool change works, or at least I've never had a problem with it while running g-code. I can understand some of what I see when I open it up but most of it make little to no sense.
00-M6Start.m1s
(3.02 KB - downloaded 52 times.)
00-M6End.m1s
(0.46 KB - downloaded 38 times.)
Logged
Pages:
1
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...