Retrofitting a TOS FNG 32 NC
- Kevin_Pawlus
- Offline
- Senior Member
- Posts: 63
- Thank you received: 6
I wrote halrun and got:
halcmd:
I wrote loadrt and got:
hostmot2:bash: loadrt: command not found
Attachments:
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
- Posts: 395
- Thank you received: 80
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.
- PCW
- Away
- Moderator
- Posts: 17903
- Thank you received: 4774
./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.
- Kevin_Pawlus
- Offline
- Senior Member
- Posts: 63
- Thank you received: 6
The report looks a little bit different this time.
Attachments:
Please Log in or Create an account to join the conversation.
- Kevin_Pawlus
- Offline
- Senior Member
- Posts: 63
- Thank you received: 6
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.
- Henk
- Offline
- Platinum Member
- Posts: 395
- Thank you received: 80
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.
- PCW
- Away
- Moderator
- Posts: 17903
- Thank you received: 4774
I removed the line and it still wont launch.
The report looks a little bit different this time.
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.
- Kevin_Pawlus
- Offline
- Senior Member
- Posts: 63
- Thank you received: 6
I get:
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
Attachments:
Please Log in or Create an account to join the conversation.
- Kevin_Pawlus
- Offline
- Senior Member
- Posts: 63
- Thank you received: 6
"kev@debian:~$ halrun -U
Note: Using POSIX realtime"
but I have the same result. I also restarted my computer.
I attached custom.hal also
Attachments:
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
- Posts: 395
- Thank you received: 80
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.