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:03:01 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
General Mach Discussion
Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
Pages:
1
Go Down
« previous
next »
Author
Topic: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ? (Read 353 times)
0 Members and 1 Guest are viewing this topic.
mongkol
Active Member
Offline
Posts: 13
Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
on:
May 17, 2011, 09:45:20 AM »
Dear Sir,
I need the help, I know the spindle need the M command to rotate.
M03 to rotate forward , M04 to rotate rev and M05 to stop.
But I am building CNC plasma machine with both spindle and the machine torch of plasma on one Z-axis
I know M03 is the command to open the fire torch and M05 is the command to close the torch fire also.
Is it possible to use the other Mxx command to operate the spindle ?
I don't want to use M03 and M05 both the spindle and the torch fire. I want to separate.
How to set up ? Pls advise.
Mongkol
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #1 on:
May 17, 2011, 10:21:10 AM »
You could use M7 or M8 and M9 would switch them off, they are meant for Mist and Flood coolant but that doesnt mean you have to use them for that. If you want to use them then just set up the relay option for Flood/mist on Spindle setup page of Ports and Pins and then set the output to the pin you will use.
You could also write a custom macro and name it something like m101.m1s and another called m102.m1s and place them in the macro folder of the profile you use.
If you had for example
ActivateSignal(OutPut1)
in m101.m1s macro it would switch output 1 on when you called m101 from code or MDI. Likewise the m102.m1s macro would have
DeActivateSignal(OutPut1)
in it and when you called M102 it would turn off Output 1
Hood
Logged
mongkol
Active Member
Offline
Posts: 13
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #2 on:
May 17, 2011, 10:25:21 AM »
Hood ,
I have not ever writen macro. Could you pls help me ?
Here's my e-mail :mongkolnum@gmail.com
Hope your help
Mongkol
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #3 on:
May 17, 2011, 10:32:37 AM »
All you need to do is open notepad, type in ActivateSignal(OutPut1) and then save that notepad file to the macro folder of the Mach profile you use as m101.m1s.
Then when you call m101 from code or MDI it will turn on OutPut 1
Do the same for m102.m1s except have DeActivateSignal(OutPut1) in it and when you call m102 from code it will switch off output 1
If you want to use OutPut 3 then just have that instead in the macro.
You dont need to call it m101.m1s, you could call it m222.m1s if you wanted but you need to be sure there is not already a macro of the same name there already. Also macro numbers under 100 are reserved for Mach even though some are not used it is best to not use under 100.
Hood
Logged
mongkol
Active Member
Offline
Posts: 13
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #4 on:
May 17, 2011, 10:34:55 AM »
Thanks.
I will try
Logged
mongkol
Active Member
Offline
Posts: 13
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #5 on:
May 17, 2011, 10:36:49 AM »
Hood,
Do you have your e-mail ?
If I have any problem, Can I ask you ?
Is it possible ?
Mongkol
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #6 on:
May 17, 2011, 12:54:22 PM »
I think its better to ask questions here on the forum if you have problems. Two reasons, one is there are lots of people here who will be able to advise and second it helps others if they have the same questions.
Hood
Logged
Greolt
Global Moderator
Offline
Posts: 872
Re: Need spindle use the other M command ,not M3,M4 and M5 ,How to set up ?
«
Reply #7 on:
May 17, 2011, 08:28:11 PM »
I assume that you will not be operating the spindle and plasma at the same time.
Why not set up a plasma profile and a spindle profile?
Simply start up with the appropriate profile depending how you want to use the machine.
Each profile could have its own custom screenset dedicated to either plasma or spindle.
Greg
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...