Probe_Basic Install

More
05 Mar 2022 14:21 #236432 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
Post your config files up

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

More
05 Mar 2022 19:56 #236449 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Sure thing, Just cooked up another try following conversion doc. axis worked perfectly, jogging worked great. ini and hal are attached below, heres the debug it sent me.

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/configs/test5'
Machine configuration file is 'test5.ini'
INIFILE=/home/cnc/linuxcnc/configs/test5/test5.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=probe_basic
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./custom.hal
Found file(REL): ./test5.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.10: Resource temporarily unavailable
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Can not find -sec TRAJ -var TPMOD -num 1
Can not find -sec EMCMOT -var HOMEMOD -num 1
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./test5.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./test5.hal:9: /usr/bin/rtapi_app exited without becoming ready
./test5.hal:9: insmod for hm2_eth failed, returned -1
4200
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 

File Attachment:

File Name: test5.hal
File Size:10 KB

 

File Attachment:

File Name: test5.ini
File Size:5 KB
Attachments:

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

More
05 Mar 2022 20:01 #236450 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Wait, I see my problem... Ethernet was turned off so I could use wifi to follow the guide.
Im an idiot it seems ok now...

Any good resources to follow to get that sorted? would like to use wifi to connect to internet simultaniously as using the mesa card. When ethernet is turned on and connected to mesa right now I cannot load a web page or pull anything from the internet or my lan. Already put in a bunch of work to patch the drivers for the usb wifi adapter im using

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

More
05 Mar 2022 23:02 - 05 Mar 2022 23:03 #236465 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
you missed quite a few things from the conversion doc, need to go back through it diligently and make sure its all correct. if you have wrong paths and missing or incorrect lines you will have problems. 99% of the issues of install are not setting up configs correctly.

as for the wifi, here is a good reference document on setting up both ethernet for the card and wifi:

forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards
Last edit: 05 Mar 2022 23:03 by Lcvette.

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

More
06 Mar 2022 02:16 #236473 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
The stuff I left out was due to not installing utilizing the automatic tool changer if im not mistaken. It all seems to be running as to be expected more or less. I can read through it again to see what else I missed.

I am noticing though that the "use this connection only for resources on its network" setting when changed greys out the "apply" button and it will not stick to the setting. Have retried setting up the network configuration for the mesa but I cant apply settings when that connection box is checked.

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

More
06 Mar 2022 03:06 #236474 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
You are mistaken.. probe basic uses subroutines heavily and you've failed to connect your subroutines in the ini,  the hal file edits have errors,  go through it again line by line and double check your work! 

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

More
06 Mar 2022 05:48 #236481 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Okay great thanks so much for all your input! I ended up sorting out the wifi issues tonight and I think the hal and ini are sorted for now. Waiting on a mouser order to come in with some hardware to get it plugged and tested. Still need to do the ball screw conversion on the mill.

Do the hal and ini look better?

 

File Attachment:

File Name: test5_2022-03-06.hal
File Size:10 KB


 

File Attachment:

File Name: test5_2022-03-06.ini
File Size:6 KB
Attachments:

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

More
06 Mar 2022 05:55 #236482 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
looks better, is probe basic opening now?
if so what is on the status page? trying to determine which version of probe basic you have installed and if it is the latest master or a previous tagged version, it will determine if the post gui hal file is correct.

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

More
06 Mar 2022 05:59 #236483 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Yes sir everything is working okay. Even before those hal and ini file fixes it was working. A screenshot of the status window is linked below. Ive even got it running the steppers using the conversational window. Having a latency error come up so thats next step getting it working reliably. Even after the issue the gcode continues to run just fine. Project for tomorrow me.

 
Attachments:

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

More
06 Mar 2022 06:08 - 06 Mar 2022 06:09 #236484 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
Ok so you need to change the post gui hal file call in the ini to match what is in the configuration folder for probe basic, i think it's probe basic post gui hal, but check the sim folder and make sure it's in your current configuration.  It's for the latest version which appears you have installed. 
Last edit: 06 Mar 2022 06:09 by Lcvette.

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

Moderators: KCJLcvette
Time to create page: 0.116 seconds
Powered by Kunena Forum