- Posts: 63
- Thank you received: 0
Retrofitting a TOS FNG 32 NC
- Kevin_Pawlus
- Topic Author
- Offline
- Senior Member
-
Less
More
4 years 3 months ago #247962
by Kevin_Pawlus
Replied by Kevin_Pawlus on topic Retrofitting a TOS FNG 32 NC
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
I wrote halrun and got:
halcmd:
I wrote loadrt and got:
hostmot2:bash: loadrt: command not found
Attachment not found
Please Log in to join the conversation.
4 years 3 months ago #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...
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
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 to join the conversation.
4 years 3 months ago #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
./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 to join the conversation.
- Kevin_Pawlus
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
4 years 3 months ago #247966
by Kevin_Pawlus
Replied by Kevin_Pawlus 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.
The report looks a little bit different this time.
Attachment not found
Please Log in to join the conversation.
- Kevin_Pawlus
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
4 years 3 months ago #247967
by Kevin_Pawlus
Replied by Kevin_Pawlus on topic Retrofitting a TOS FNG 32 NC
Sorry it dissapered in my reply.
When I write loadrt hostmot2 I get:
bash: loadrt: command not found
Am I missing hostmot2?
When I write loadrt hostmot2 I get:
bash: loadrt: command not found
Am I missing hostmot2?
Please Log in to join the conversation.
4 years 3 months ago #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.
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 to join the conversation.
4 years 3 months ago #247969
by PCW
That error suggests that LinuxCNC did not unload completely
I would try running:
halrun -U
and then try running LinuxCNC again
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.
Attachment not found
That error suggests that LinuxCNC did not unload completely
I would try running:
halrun -U
and then try running LinuxCNC again
Please Log in to join the conversation.
- Kevin_Pawlus
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
4 years 3 months ago #247970
by Kevin_Pawlus
Replied by Kevin_Pawlus on topic Retrofitting a TOS FNG 32 NC
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
I get:
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
Attachment not found
Attachment not found
Please Log in to join the conversation.
- Kevin_Pawlus
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 0
4 years 3 months ago #247971
by Kevin_Pawlus
Replied by Kevin_Pawlus on topic Retrofitting a TOS FNG 32 NC
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
"kev@debian:~$ halrun -U
Note: Using POSIX realtime"
but I have the same result. I also restarted my computer.
I attached custom.hal also
Attachment not found
Please Log in to join the conversation.
4 years 3 months ago #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...
delete everything in your custom.hal file. it sholdnt contain anything at this point...
Please Log in to join the conversation.
Time to create page: 0.303 seconds
