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, 01:14:03 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
VB and the development of wizards
Converting Fanuc MacroB to MACH macro
Pages:
1
Go Down
« previous
next »
Author
Topic: Converting Fanuc MacroB to MACH macro (Read 1711 times)
0 Members and 2 Guests are viewing this topic.
vmax549
Guest
Converting Fanuc MacroB to MACH macro
«
on:
March 27, 2008, 10:14:09 AM »
Has anyone ever attempted to convert a fanuc macroB code into a MACH macro???
THere a lot of neat fanuc macros out there to do cool jobs. If anyone is interested I can post a short example of thread milling an NPT pipe thread.
Another would be to engrave sequential serial numbers from inside a Gcode program and be able to input a start# and each time it ran it incremented to the next number.
(;-) TP
Logged
Graham Waterworth
Administrator
Online
Posts: 1,665
West Yorkshire, England
Re: Converting Fanuc MacroB to MACH macro
«
Reply #1 on:
March 27, 2008, 04:39:21 PM »
I have wanted to be able to do this for a long time, the problem is that not all the commands are supported in Mach3 IF, GOTO, WHILE, LOOP, etc are all missing and will probably never be added.
Without loops and comparisons it is impossible to convert all but the most basic macro.
Graham.
Logged
G-Code is on the cutting edge
Autovalues Engineering, CNC machining specialists, Bradford, England
vmax549
Guest
Re: Converting Fanuc MacroB to MACH macro
«
Reply #2 on:
March 27, 2008, 05:07:23 PM »
Hi Graham, yep there are some pretty cool macros in macroA and B
You know the original (emc) type code did support using the O word to do conditional programming with if then goto,etc.
Have you ever tried it in mach? then are many hidden features of mach that show up from time to time.
Have you ever tried doing it totally inside of a macro useing CODE"" to support the gcode side?
?
UNdocumented Gcodes?
?
G8
G9
G32
G44
G48
G65
G87
G96
G97
I have decifered some of them (;-)
(;-) TP
«
Last Edit: March 27, 2008, 05:12:32 PM by vmax549
»
Logged
Graham Waterworth
Administrator
Online
Posts: 1,665
West Yorkshire, England
Re: Converting Fanuc MacroB to MACH macro
«
Reply #3 on:
March 27, 2008, 06:31:13 PM »
Hi Terry,
Yes many times, the 'O' codes have been disabled/removed
They do not error out they are just ignored.
I once asked Art to activate them, his response was "to many problems with it".
Graham.
Logged
G-Code is on the cutting edge
Autovalues Engineering, CNC machining specialists, Bradford, England
vmax549
Guest
Re: Converting Fanuc MacroB to MACH macro
«
Reply #4 on:
March 27, 2008, 08:02:40 PM »
Hi Graham, It's a shame, the condition prgraming is nice. I redid a "simple" MacroB over to a Mach VB macro and that was a pain being you cannot call or set vars directly you have to reroute everything just to do a simple IF ,THEN.
I don't think Brian likes conditional code either so That idea is probably a bust. If I get time I will attempt to bring the serial number engraver over to MACH VBmacro. I remember someone a while back asking for that in mach. It does a 3 digit S/N but it can be expanded to as many as you need.
OH well at least you tried. Thanks (;-) TP
Logged
Graham Waterworth
Administrator
Online
Posts: 1,665
West Yorkshire, England
Re: Converting Fanuc MacroB to MACH macro
«
Reply #5 on:
March 28, 2008, 11:49:01 AM »
Send me the macro and I will see if I can come up with a solution.
Graham.
Logged
G-Code is on the cutting edge
Autovalues Engineering, CNC machining specialists, Bradford, England
vmax549
Guest
Re: Converting Fanuc MacroB to MACH macro
«
Reply #6 on:
March 28, 2008, 12:03:52 PM »
HI Graham you r email was hiiden so I'll post the file here(;-)
SNengrave.txt
(5.04 KB - downloaded 79 times.)
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...