respected sir,
basically my intention is to store my dro's value in a file(like vars file with variable and corresponding value) by pressing a user button and automatically retrive the dro"s value into gcode variable like we are using vars file.
understanding geo table
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: understanding geo table
Please explain exactly what you are trying to accomplish.
I already explained this in your other Thread.
You actually don't need any C Program to make use of the current position. You can do it using GCode. For example:
G92 X0 Y0 Z0
will set the G92 offset to where you currently are and set the GCode position to zero. Any movements will then be relative to that position.
I already explained this in your other Thread.
You actually don't need any C Program to make use of the current position. You can do it using GCode. For example:
G92 X0 Y0 Z0
will set the G92 offset to where you currently are and set the GCode position to zero. Any movements will then be relative to that position.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: understanding geo table
Respected sir,
whether i can replace L3 with L#100 where #100 contains no of times the gcode block gets repeated. if do so whether i can save that #100 in vars file and access in this gcode line?
In the above file the gcode line which is highlighted is used for repeatability of certain gcode block. my question is the gcode line M98 P100 L3whether i can replace L3 with L#100 where #100 contains no of times the gcode block gets repeated. if do so whether i can save that #100 in vars file and access in this gcode line?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: understanding geo table
YesIn the above file the gcode line which is highlighted is used for repeatability of certain gcode block. my question is the gcode line M98 P100 L3
whether i can replace L3 with L#100 where #100 contains no of times the gcode block gets repeated.
I don't understand this question. If you change the emc.var file such that it saves and restores var 100, then var 100 will be read from the file on startup and written to the file on exit.if do so whether i can save that #100 in vars file and access in this gcode line?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.