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, 08:22:04 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
Engraving text
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Engraving text (Read 783 times)
0 Members and 2 Guests are viewing this topic.
BR549
Active Member
Offline
Posts: 2,557
Re: Engraving text
«
Reply #10 on:
April 21, 2011, 10:30:06 PM »
OK found a bunch of old code done 2 ways one is throught VB macro and the other is through Gcode Subs.
The Gcode subs has always been rock dependable so I will clean up that version first.
The way it will work is you load all the subs A-Z into the sub directory. You would then set a few variable to define the width height and spacing
#500=1.000 #501=.100 #502=1.00
#1=8.0 #2=-.02 #3=15 #4=40 #5=1.0 #7=30
You only have to define these once per session of mach. Mach holds them inMEM until it is shut down. We can also make these so mach will always remeber them until you change them.
Then all you have to do is call the sub via the M98 call
M98 (C.txt)
M98 (A.txt)
M98 (T.txt)
Mach will then cut CAT.
I f this is what you are looking for then I will clean it all up and post it.
(;-) TP
«
Last Edit: April 21, 2011, 10:31:42 PM by BR549
»
Logged
stirling
Global Moderator
Offline
Posts: 1,190
UK
Re: Engraving text
«
Reply #11 on:
April 22, 2011, 01:50:11 AM »
A dodge I've used before to pass a string to a macro is to gcode something like:
...
(some text)
M750
...
Then in the macro use the apparantly undocumented "getMessage" function. You should probably plate this up a tad like:
(%some text%) and check for the %s just in case an otherwise generated message springs up and overwrites the message before you read it.
Ian
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Engraving text
«
Reply #12 on:
April 23, 2011, 03:17:33 PM »
OK I have placed the Engraving Subs in the MACH TOOL BOX. There is also a set of instructions on how they work.
As always test them for your application FIRST.
Have Fun (:-) TP
Logged
babinda01
Active Member
Offline
Posts: 27
Re: Engraving text
«
Reply #13 on:
April 23, 2011, 03:40:39 PM »
Hi TP
Thanks heaps for your help, I will give it a go, but I am pretty sure it will work perfectly for me.
Regards
Andrew
Logged
Pages:
«
1
2
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...