Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
December 01, 2008, 10:22:40 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
Turning on Spindle in a set direction...
Pages:
1
Go Down
« previous
next »
Author
Topic: Turning on Spindle in a set direction... (Read 773 times)
0 Members and 1 Guest are viewing this topic.
SimonD
Active Member
Offline
Posts: 119
Turning on Spindle in a set direction...
«
on:
May 11, 2008, 03:38:47 PM »
Hi,
How do I turn on the spindle in a set direction in a brain?
If I terminate my condition with the "UserLED" "164 - Spindle CW on" it does not turn on the spindle.
If I use "Button" "Spindle on/off" it starts it but in whatever direction it was last moving in.
I have tried 2 rungs, one setting the UserLED and the other pressing the button but that doesn't work either.
What am I doing wrong?
Thanks
Simon
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Online
Posts: 770
Briceville, TN, USA
Re: Turning on Spindle in a set direction...
«
Reply #1 on:
May 12, 2008, 08:41:24 AM »
Simon, your Spindle Forward and Reverse have to be used on the lower Outputs of 1-6 (yes you have to select this under the ports and pins, you will have to assign your M3 and M4 to an output# unique to each. When your G Code Runs, and lets say puts out an M3, and that turns on OUTPUT3 for instance.
Output3 will be on the input side of Brians, Then you can terminate to you modbus. If using the output3 as an output, the your input can be a secondary, something else.
scott
Logged
All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
SimonD
Active Member
Offline
Posts: 119
Re: Turning on Spindle in a set direction...
«
Reply #2 on:
May 12, 2008, 12:25:06 PM »
Scott,
The spindle forward and reverse already work fine from the M3 and M4 commands in G-Code.
The brain is to handle the physical control panel buttons.
I was trying to use "spindle on" as the termination for the rung. I will try OUTPUT1 & OUTPUT2 as the termination. I thought I had tried that but I will double check.
I am not using modbus, just parallel ports.
Thanks
Simon
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Online
Posts: 770
Briceville, TN, USA
Re: Turning on Spindle in a set direction...
«
Reply #3 on:
May 12, 2008, 12:38:58 PM »
the M3/4 from code will only work with outputs 1-6. If you bringing it from outside, on the PP, take OEM1, and OEM2 for M3 and 4 respectivly.
OEM1 to Output1 (m3 for example), then OEM2 to output2 (m4 for example).
scott
Logged
All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
SimonD
Active Member
Offline
Posts: 119
Re: Turning on Spindle in a set direction...
«
Reply #4 on:
May 12, 2008, 03:03:38 PM »
This is what I have in my brain...
Rung 1 works fine and switches off the spindle if both buttons are pressed (odd I know but that is how the control panel works, a third button "stop" sends BOTH signals)
Rung2 and Rung3 both work and switch the spindle on in the correct direction. But as soon as it has switched on, it switches off again, if I keep my finger on the button it switches on/off/on/off/on/off etc etc.
What I need is something to replace the rung terminations with something that says "spindle on cw" and "spindle on ccw" instead of "output1" and "output2"
Thanks
Simon
boxford_control_panel_brain1.jpg
(36.36 KB, 640x231 - viewed 104 times.)
Logged
SimonD
Active Member
Offline
Posts: 119
Re: Turning on Spindle in a set direction...
«
Reply #5 on:
May 14, 2008, 12:55:56 PM »
I am struggling with this.
How do I send an "m03" command or run the m3 macro or "DoSpinCW()" at a rung termination?
Thanks
Simon
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.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****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
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...