Retrofitting a TOS FNG 32 NC

More
21 Jul 2022 16:50 - 21 Jul 2022 16:50 #247962 by Kevin_Pawlus
Yes certanly. Attached file is the report from Linuxcnc.

I wrote halrun and got:
halcmd:

I wrote loadrt  and got:
hostmot2:bash: loadrt: command not found
 

File Attachment:

File Name: linuxcnc.txt
File Size:8 KB
Attachments:
Last edit: 21 Jul 2022 16:50 by Kevin_Pawlus.

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

More
21 Jul 2022 17:12 #247964 by Henk
Replied by Henk on topic Retrofitting a TOS FNG 32 NC
Ok, it seems that the 7i94 setup is correct

in your attachment, this is the important part...

Debug file information:
Note: Using POSIX realtime
./my_LinuxCNC_machine.hal:22: parameter or pin 'hm2_7i94.0.stepgen.timer-number' not found
1672
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime


comment out or delete line 22 in your hal file, try again and see if you can interpret the next error if there is one

i dont know why pncconf adds that line, but you can see it in my hal file as well, commented out...

BTW, "loadrt" is a command to load a realtime component of linuxcnc, in my previous message the line you should type is "loadrt hostmot2", which will load the hostmot2 driver for the mesa cards. loadrt followed by nothing results in an error
 

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

More
21 Jul 2022 17:13 #247965 by PCW
Replied by PCW on topic Retrofitting a TOS FNG 32 NC
This looks like a pncconf bug:

./my_LinuxCNC_machine.hal:22: parameter or pin 'hm2_7i94.0.stepgen.timer-number' not found

I would comment out the:

setp hm2_7i94.0.stepgen.timer-number 1

line, or replace it with:

setp hm2_7i94.0.encoder.timer-number 1

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

More
21 Jul 2022 17:22 #247966 by Kevin_Pawlus
I removed the line and it still wont launch.
The report looks a little bit different this time.

 

File Attachment:

File Name: linuxcnc_2...7-21.txt
File Size:8 KB
Attachments:

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

More
21 Jul 2022 17:29 #247967 by Kevin_Pawlus
Sorry it dissapered in my reply.
When I write loadrt hostmot2 I get:
bash: loadrt: command not found

Am I missing hostmot2?

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

More
21 Jul 2022 17:37 #247968 by Henk
Replied by Henk on topic Retrofitting a TOS FNG 32 NC
Post your hal and ini files.

loadrt is a hal command, it will not run on its own in a terminal.

initiate hal: "halrun"
then you will see a prompt "halcmd"
then enter the loadrt lines.

although, i think this is irrelevant now because i think your 7i94 setup is correct.

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

More
21 Jul 2022 17:43 #247969 by PCW
Replied by PCW on topic Retrofitting a TOS FNG 32 NC

I removed the line and it still wont launch.
The report looks a little bit different this time.

 

File Attachment:

File Name: linuxcnc_2...7-21.txt
File Size:8 KB

 


That error suggests that LinuxCNC did not unload completely

I would try running:

halrun -U

and then try running LinuxCNC again


 

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

More
21 Jul 2022 17:44 #247970 by Kevin_Pawlus
Okay. I understand what you mean now. I didnt know what "halcmd" was supposed to mean at first but now I get it :)
I get:
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15

 

File Attachment:

File Name: my_LinuxCN...hine.hal
File Size:10 KB
 

File Attachment:

File Name: my_LinuxCN...hine.ini
File Size:3 KB
Attachments:

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

More
21 Jul 2022 17:53 - 21 Jul 2022 17:56 #247971 by Kevin_Pawlus
I wrote
"kev@debian:~$ halrun -U
Note: Using POSIX realtime"

but I have the same result. I also restarted my computer.

I attached custom.hal also 

File Attachment:

File Name: custom.hal
File Size:14 KB
Attachments:
Last edit: 21 Jul 2022 17:56 by Kevin_Pawlus.

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

More
21 Jul 2022 18:02 #247972 by Henk
Replied by Henk on topic Retrofitting a TOS FNG 32 NC
I dont know why, but your custom.hal file looks suspiciously like my main hal file.

delete everything in your custom.hal file. it sholdnt contain anything at this point...

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

Moderators: piasdom
Time to create page: 0.213 seconds
Powered by Kunena Forum