Hello Guest it is January 25, 2020, 03:15:09 PM

Author Topic: question on parameter syntax  (Read 1604 times)

0 Members and 1 Guest are viewing this topic.

question on parameter syntax
« on: September 18, 2012, 03:21:54 AM »
Hello chaps,

Getting warmer here in Africa- probably getting colder where you chaps are.

a question about parameters,

to set parameters ( according to the literature i am using ) the parameter is set up using a number

for example #1=24

or

#2=[#1+2]

I am reading a copy of Digital machinist and I see the parameters are being defined
slightly differently and more "programmer-friendly" ( to coin a phrase)
a typical sequence of definitions is as follows
#<tabcentreangle>=0
#<currentX>         =#<_outsideradius>
#<currenty>          =0

First question. the ability to substitute a word for a number definitely makes
programming easier. In Mach 3 am I allowed to say #<outsidediameter>=45 .
and will the program read it correctly. The plan later on would be to say
#<outsidediameter>=[#<outsidediameter>-2]

second question
In the code from america use is made of the "<" and ">". are these symbols
understood by Mach3 or are they seen as an alternative to using "[" or "]"

Your input is sincerely appreciated

fred evans











think of the trees-- use both sides of the computer paper

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: question on parameter syntax
« Reply #1 on: September 18, 2012, 11:19:10 AM »
Sorry Fred but no words allowed in mach3. It is all detailed in the manual.

(;-) TP
Re: question on parameter syntax
« Reply #2 on: September 19, 2012, 03:22:13 AM »
thanks TP-
just checking

regards fred
think of the trees-- use both sides of the computer paper