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 23, 2012, 10:15:54 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
Brains Development
Spindle clamp unclamp
Pages:
1
Go Down
« previous
next »
Author
Topic: Spindle clamp unclamp (Read 1599 times)
0 Members and 2 Guests are viewing this topic.
CJEls
Active Member
Offline
Posts: 69
Spindle clamp unclamp
«
on:
March 17, 2009, 02:10:04 AM »
Hi All
Is it possible to write a brain that will latch when pressing a button to open the chuck on a lathe and stay open. You will have to interlock it with the spindle so you can not open it while the spindle is turning. When pressing the button again it should close the chuck again.
Thanks
CJ
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Spindle clamp unclamp
«
Reply #1 on:
March 22, 2009, 10:20:22 AM »
Yes you can, but it is a pain in the butt, the Latching is "Broken" in Brains.........
so you can do that in macro pump instead. User INPUT4 and OUTPUT4 and UserDRO 2000
I.e.
'macropump.m1s
If Not(GetOEMLED(164)) and Not(GetOEMLED(165)) and IsActive(INPUT4) and (GetUserDRO(2000) = 0) then
ActivateSignal(OUTPUT4)
SetUserDRO(2000,1)
end if
If Not(GetOEMLED(164)) and Not(GetOEMLED(165)) and IsActive(INPUT4) and (GetUserDRO(2000) = 1) then
DeActivateSignal(OUTPUT4)
SetUserDRO(2000,0)
end if
'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/
CJEls
Active Member
Offline
Posts: 69
Re: Spindle clamp unclamp
«
Reply #2 on:
March 23, 2009, 02:46:36 PM »
Hallo Scott
Thank you for the reply. I do have a question or 2.
What is getoemled(164 ) and 165 ,is it cw and ccw led some were on the screens and is user dro2000 created by you also on a page I do not understand where you got these from because I tried to look with screen 4 but could not fine it on the1024 iset for a lathe or is this on one off your lathe screens
thank you
CJE
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Spindle clamp unclamp
«
Reply #3 on:
March 23, 2009, 04:49:23 PM »
leds 164 and 165 are the CW and CCW spindle running LEDs, Udro 2000 is just a random dro i picked in a high range to make sure it
does not interfere with any of your wizard ranges....
In mach Even if LEDs and DROs DONT exist on the screen, they are still there, they are there all the time.
So when you go spindle CW LED 164 will Be ON weather it is on your screen or not........
so, tell me how the macro works for you.
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/
CJEls
Active Member
Offline
Posts: 69
Re: Spindle clamp unclamp
«
Reply #4 on:
March 24, 2009, 12:05:25 PM »
Hallo Scott
i tried running the Macro but it does not work on my set up.Then openning the macro and stepping into it the output wil only switch on and off. I did enable the mmacro pump in the gen config and restarted the system. Any other advise.
CJE
«
Last Edit: March 24, 2009, 01:36:11 PM by CJEls
»
Logged
CJEls
Active Member
Offline
Posts: 69
Re: Spindle clamp unclamp
«
Reply #5 on:
March 24, 2009, 12:21:18 PM »
Hallo Scott
Is There any way off checking the macropump when the machine is on to see if it is running.I did a stupid macropump If input4 is on then switch output 4 on. That works fine as a macropump so I Know it is working.
CJE
«
Last Edit: March 25, 2009, 01:26:37 AM by CJEls
»
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...