Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"
Posted by
Jon Elson
on 2000-09-07 14:18:37 UTC
diazden wrote:
The syntax is :
[#101 = 123.456] to set variable 101 to 123.456
G01 X[#101] Y2.3 to use variable 101 as the X coordinate
[#101 = #101 + 0.005] to change the value in variable 101
(I think this is the correct syntax, I'm going from memory)
Jon
> Ballendo;EMC has this feature, but it is not well documented.
> let me put my 2 cents worth on this matter
> one of the most useful features of the big machines is the ability to
> be able to
> perform calculation blocks, just the other day I have to make a 475
> tooth gear
> as 475 is not divisible by 360 I could not use incremental because the
> error will
> creep and about 380th tooth it would be 1\2 tooth out , so I either
> have to
> put 475 lines of code or with about 4 lines on a good calculation
> block it
> will do the job perfectly , and it did it ,so now I can use that
> program to do any
> number of divisions just by changing a few parameters in the program
The syntax is :
[#101 = 123.456] to set variable 101 to 123.456
G01 X[#101] Y2.3 to use variable 101 as the X coordinate
[#101 = #101 + 0.005] to change the value in variable 101
(I think this is the correct syntax, I'm going from memory)
Jon
Discussion Thread
ballendo@y...
2000-09-02 15:35:33 UTC
List of Gcode "flavors"
ballendo@y...
2000-09-02 19:02:32 UTC
Re: List of Gcode "flavors"
ballendo@y...
2000-09-02 21:07:34 UTC
Re: Re: List of Gcode "flavors"
Paul Corner
2000-09-03 07:23:39 UTC
Re: [CAD_CAM_EDM_DRO] Re: List of Gcode "flavors"
ballendo@y...
2000-09-03 11:34:39 UTC
Re: Re: List of Gcode "flavors"
Paul Corner
2000-09-04 15:48:33 UTC
[CAD_CAM_EDM_DRO] Re: List of Gcode "flavors"
ballendo@y...
2000-09-04 20:56:27 UTC
Re: Re: List of Gcode "flavors"
Paul Corner
2000-09-05 15:10:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"
Darrell
2000-09-05 15:25:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"
Dave Seal
2000-09-05 16:34:48 UTC
Re: List of Gcode "flavors"
diazden
2000-09-07 08:27:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"
Jon Elson
2000-09-07 14:18:37 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"
diazden
2000-09-07 16:23:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: List of Gcode "flavors"