- Posts: 19
- Thank you received: 0
Another Spinbox to GCODE
7 years 6 months ago #130613
by diep
Another Spinbox to GCODE was created by diep
Hello,
Attached entire setup. Problem is if i push the "GoTo Toolsetter (Probe)" button.
If i use hard coordinates it works. Now trying to move to coordinates that i get from the spinbox
data it gives error. What do i do wrong?
The GCODE i use for this is in 101.ngc:
diep@thegathering:~/milling/linuxcnc/nc_files$ cat 101.ngc
o101 sub
;#1 = <_hal[pyvcp.boxtoolprobex]>
#1 = <pyvcp.boxtoolprobex>
;G30.1 (store current axis positions)
;G0 X[30-#5181] Y[4-#5182] error
G53 G0 X#1 Y4
o101 endsub
As you see i tried different #1's. I get error if i push the button now.
Attached all files in zipfile of the 3040ext configuration.
Attached entire setup. Problem is if i push the "GoTo Toolsetter (Probe)" button.
If i use hard coordinates it works. Now trying to move to coordinates that i get from the spinbox
data it gives error. What do i do wrong?
The GCODE i use for this is in 101.ngc:
diep@thegathering:~/milling/linuxcnc/nc_files$ cat 101.ngc
o101 sub
;#1 = <_hal[pyvcp.boxtoolprobex]>
#1 = <pyvcp.boxtoolprobex>
;G30.1 (store current axis positions)
;G0 X[30-#5181] Y[4-#5182] error
G53 G0 X#1 Y4
o101 endsub
As you see i tried different #1's. I get error if i push the button now.
Attached all files in zipfile of the 3040ext configuration.
Attachment not found
Please Log in to join the conversation.
7 years 6 months ago #130615
by diep
Replied by diep on topic Another Spinbox to GCODE
A small photo of the toything
Attachment not found
Please Log in to join the conversation.
7 years 6 months ago #131075
by andypugh
Replied by andypugh on topic Another Spinbox to GCODE
[quote="diep" post=130613#1 = <_hal[pyvcp.boxtoolprobex]>[/quote]
This should work, but needs to be enabled:
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
This should work, but needs to be enabled:
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
Please Log in to join the conversation.
Time to create page: 0.089 seconds
