Another Spinbox to GCODE

More
10 Apr 2019 18:00 - 10 Apr 2019 18:02 #130613 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.

File Attachment:

File Name: 3040extsetup.zip
File Size:9 KB
Attachments:
Last edit: 10 Apr 2019 18:02 by diep.

Please Log in or Create an account to join the conversation.

More
10 Apr 2019 18:26 - 10 Apr 2019 18:26 #130615 by diep
Replied by diep on topic Another Spinbox to GCODE
A small photo of the toything
Attachments:
Last edit: 10 Apr 2019 18:26 by diep.

Please Log in or Create an account to join the conversation.

More
17 Apr 2019 21:00 #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

Please Log in or Create an account to join the conversation.

More
17 Apr 2019 21:16 #131077 by diep
Replied by diep on topic Another Spinbox to GCODE
thanks for the link i will spend quite some time there to figure this one out :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum