EMC Variable Programming
Good morning all.
Having a little trouble with variables.
First I went into the emc.var table and added parameters:
1000 3.000
1001 0.020
1002 60
1003 125
Here is my program:
G18
G20
M3S1
M8
#1009 = [[#1000 + #1001]/2]
G00X[#1009[cos#1002]]Z[#1009[sin#1002]]
G00Z1.00
M5
M9
M2
I ran the program numerous times and could not see the #1009 being updated
so I gave up. A while later I happened to look at the emc.var again and saw
the #1009, so it did update at some point.
I had the emc.var open as a text file. Is there a way to refresh the view a
la f5 in Windows? I kept closing and opening it to make sure what I was
seeing (or not seeing) was real.
What am I doing wrong? Is my syntax correct?
Thanks.
Ethan
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact