- Posts: 1111
- Thank you received: 114
#<_hal[custom.pin]> not defined
- bkt
- Offline
- Platinum Member
-
I use the value of out bit parameter from my custom comp in a if loop in my gcode ... the gcode is present as start code in myini.ini file ... Is possible to solve these warning (I need start with these program ... I've not choice) ... i just try to use my gcode as soubroutine ... but obviously is the same ...
In My header custom comp there is these line:
Regards
giorgio
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
Be aware of the warnings here:
linuxcnc.org/docs/2.7/html/remap/remap.h...ap:referto-hal-items
Your ,comp sample seems to create two pins with the same name. That probably won't work.
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
ini file ... open_file = ""
than when axis (or in my case nogui gui
and use these script on remote machine..
if you prefer can use as argv the complete name file or path complete name file (example /home/myfolder/myngc.ngc) ... so the last row become:
that's all folks ...
If there are a more secure and elegant method I hope that someone me indicates ....
Regards
giorgio
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
You need to activate reading HAL pins from G-code:
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
Be aware of the warnings here:
linuxcnc.org/docs/2.7/html/remap/remap.h...ap:referto-hal-items
for version 2.6 is the same??
Regards
Giorgio
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
- Posts: 1111
- Thank you received: 114
You need to activate reading HAL pins from G-code:
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
Be aware of the warnings here:
linuxcnc.org/docs/2.7/html/remap/remap.h...ap:referto-hal-items
for version 2.6 is the same??
there is not my case .... I have only one but set as io .....Your ,comp sample seems to create two pins with the same name. That probably won't work.
Regards
Giorgio
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
k-1 wrote: for version 2.6 is the same??
Yes.
linuxcnc.org/docs/2.6/html/remap/structu...d_sub_ini_features_a
Please Log in or Create an account to join the conversation.