CNC Feeds & Speeds Course

 

G-Wizard Calculator:
Fast, Easy, Reliable Feeds and Speeds

Subscribe

Join 50,000+ CNC'ers!  Get our latest blog posts delivered straight to your email inbox once a week for free. Plus, we’ll give you access to some great CNC reference materials including:

  • Our Big List of over 200 CNC Tips and Techniques
  • Our Free GCode Programming Basics Course
  • And more!

 

GCode is Complicated
G-Wizard Makes it Easy

Categories

GWE LinuxCNC Named Variables Errors

Answered
0
0

I am trying to get GWE set up and working for my custom LinuxCNC-based router. I’ve created a machine profile, selected the LinuxCNCMill post, turned on all the Post Macro options (including SetVN and LinuxCNCNamedParams). I’m still getting ERRORS on all my variable definition lines, such as #<IterationX> = 3. The program I’m editing runs fine on my machine.

Any thoughts on what I might be doing wrong or missing?

Thanks!

Jeff

  • You must to post comments
Best Answer
0
0

Hi Jeff.

We don’t support the LinuxCNC variable naming yet, just Fanuc style.

The standard Fanuc syntax is described on this page of our GCode Tutorial:

As you will see, macro variables are typically named as numbers such as “#101”.  Yuck!  Hard to read and understand.
For more money, Fanuc will offer you symbolic names.  That is described here:
G-Wizard Editor can work with that format and even help you convert back and forth between the two fairly seamlessly if your controller doesn’t support named variables.  Check that article link for more.
One other approach would be to use a Find/Replace script to alternate between a number and symbolic format.  This article tells how to set up a CSV file to do bulk Find/Replace:
Until I get a chance to add the LinuxCNC syntax, which I definitely plan to do, that’s where things stand.  You’d have to use one or the other of these workarounds.
Best,
BW
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website
Show us your humanity*

Home

Software

  GW Calculator

  GW Editor

  Gearotic

  Conversational

  Deals and Steals

CNC Blog

  Software

  Techniques

  Beginner

  Cool

  Projects

 

Cookbooks

     Feeds and Speeds

     G-Code Tutorial

     CNC Machining & Manufacturing

     DIY CNC Cookbook

     CNC Dictionary

CNC Projects

Resources

     Machinist's Search

     Videos

     Online Groups

     Individuals

     Reference Data

     Books

     CNC Dictionary

     Suppliers

     Tool Brands

Workshop

     Hall of Fame

     Organization: Soon!

 

About

     Customers

     Partners

     Our History

     Privacy Policy

 
All material © 2016, CNCCookbook, Inc.