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:01:24 AM
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
THC controls in Mach
Pages:
1
Go Down
« previous
next »
Author
Topic: THC controls in Mach (Read 427 times)
0 Members and 1 Guest are viewing this topic.
Widgedy
Active Member
Offline
Posts: 11
THC controls in Mach
«
on:
July 03, 2011, 06:45:59 AM »
Can anyone enlighten me as to what Mach3 does with the Torch up and Torch down inputs in the plasma screen set.
Is it possible to map them to step and direction outputs, preferably on the Z.
I have written a THC brain that does everything I want it to, except cause Mach to move the axis.
Thanks,
Tim.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: THC controls in Mach
«
Reply #1 on:
July 03, 2011, 09:22:01 AM »
Look at "THC Up" and "THC Down" as inputs. Like any input, they can be set as active high or low. When THC Up is activated Mach moves the Z up at the feedrate defined by THC Feedrate. In your brain, just activate the appropriate input and Mach will move the Z. THC Up and Down are already mapped to the Z axis. I don't think you can actually change that.
Logged
Widgedy
Active Member
Offline
Posts: 11
Re: THC controls in Mach
«
Reply #2 on:
July 04, 2011, 06:08:09 AM »
Thanks for the input, I thought that was how it was until it didn't work.
First I terminated the two lobes with THC up and THC down. I viewed the brain and had THC up lit, but nothing from the Zaxis.
Then I tried terminating with a jog Z+/- but no movement while running code.
Next I tried an imaginary port/pin output, and mapped it to THC input by using the same port/pins for input. Still nothing.
Kick me to the brain discussion if you think that's where I ought to be.
For some reason code will run if either THC led is lit, or Torch on led but not both at once, which is a bugga because I wanted to use both these as brain inputs.
Also Mach seems to be ignoring the limit/home switches by activating manual override, and output 6 is on most of the time even though it is mapped to nothing.
This is all getting a bit much for my poor little brain( the one in my head) I would love to buy a THC and plug 'n' play but that's not the way I roll. I'll do it the hard way and hopefully learn a bit along the way.
Cheers,
Tim.
Logged
stirling
Global Moderator
Offline
Posts: 1,190
UK
Re: THC controls in Mach
«
Reply #3 on:
July 04, 2011, 06:48:18 AM »
You don't need a brain - Just setup your THC hardware to activate the THC up/down and arc-OK inputs and M3 to trigger your torch via OUTPUT1 and Mach will do the rest.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: THC controls in Mach
«
Reply #4 on:
July 04, 2011, 03:02:51 PM »
I tried a while back to do a THC brain and couldn't get it working. The brain wouldn't trigger THC UP/DOWN. I don't know why. I just went a different route rather than put too much effort into it.
Logged
Widgedy
Active Member
Offline
Posts: 11
Re: THC controls in Mach
«
Reply #5 on:
July 04, 2011, 04:28:46 PM »
Hi Stirling I don't actually have THC hardware. My plasma has a built in voltage divider and I plan to feed this analogue signal into Mach3 via a ModIO, and compare this to the analogue input from a pot for tuning eg. A<B = THCdown A>B = THCup.
Thanks for the contribution rrc1962. I'm far from whipped on this one, just need an idea on how Machs insides work, and where they connect.
Will post the brain and ModIO wiring when I get it sorted.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: THC controls in Mach
«
Reply #6 on:
July 04, 2011, 05:00:44 PM »
I think the problem is that the THC commands are inputs, not outputs. You can monitor them in a brain and do something when they are activated, but because Mach sees them as inputs, you can't manipulate them like you can an output. IE: Turn them on and off.
Logged
Widgedy
Active Member
Offline
Posts: 11
Re: THC controls in Mach
«
Reply #7 on:
July 05, 2011, 05:03:18 AM »
I think you are correct in all aspects, but since I am using the ModIO to control and send the I/O signals, I can tell it to produce an output signal (looped into an input) depending on the input signals, and other states and formulas from DRO's in Mach using a brain, and that's when the magic happens and Mach receives a THC up or down input, and performs the Z + or - move (I hope).
Nice to have someone to bang ideas against,
Thanks,
Tim.
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: THC controls in Mach
«
Reply #8 on:
July 05, 2011, 08:47:43 AM »
Don't forget about Modbus scan times. The speed of a system using the THC commands in Mach is marginal using the PP, which will give you the fastest response time. Looping the signals like that will at least double the response time.
Logged
Widgedy
Active Member
Offline
Posts: 11
Re: THC controls in Mach
«
Reply #9 on:
July 06, 2011, 04:46:49 AM »
I guess the only way to tell if this will be an issue is to get it up and running. I think there is room for some adjustment of the scan rate on the serial port.
Unfortunately I won't be able to tinker with it this weekend, I'll just have to console myself with alcoholic beverages while I watch the V8 Supercars trackside.
Awesome,
Tim.
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...