- Posts: 3
- Thank you received: 0
iMachI3 P2-S Pendant Install Fail
3 years 1 week ago #283263
by gromitnyc
iMachI3 P2-S Pendant Install Fail was created by gromitnyc
I'm trying to get a iMach3 P2-S pendant to work with my LinuxCNC install. It is a fresh install of LinuxCNC (Debian) and I believe I followed the instructions from VirtualCNC. I'm just starting to learn a bit about HAL, but I'm not even sure the problem is in the HAL file.
When I start LinuxCNC it terminates with an error. The error seems to be from the first "net" command.
Here is the beginning of the HAL file:
# 0---vc-p2s Control Pendant
loadusr -W vc-p2s
loadrt and2 names=and2.vc
addf and2.vc servo-thread
# 1---LCD reletive Coordinates
net axis.0.pos-relative halui.axis.0.pos-relative => vc-p2s.axis.0.pos-relative
net axis.1.pos-relative halui.axis.1.pos-relative => vc-p2s.axis.1.pos-relative
.
.
.
Here is the Debug file information:
Note: Using POSIX realtime
./vc-p2s.hal:8: Pin 'halui.axis.0.pos-relative' does not exist
2765
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
I've attached the error, log, HAL, and ini files.
Thanks in advance for any help.
When I start LinuxCNC it terminates with an error. The error seems to be from the first "net" command.
Here is the beginning of the HAL file:
# 0---vc-p2s Control Pendant
loadusr -W vc-p2s
loadrt and2 names=and2.vc
addf and2.vc servo-thread
# 1---LCD reletive Coordinates
net axis.0.pos-relative halui.axis.0.pos-relative => vc-p2s.axis.0.pos-relative
net axis.1.pos-relative halui.axis.1.pos-relative => vc-p2s.axis.1.pos-relative
.
.
.
Here is the Debug file information:
Note: Using POSIX realtime
./vc-p2s.hal:8: Pin 'halui.axis.0.pos-relative' does not exist
2765
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
I've attached the error, log, HAL, and ini files.
Thanks in advance for any help.
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
3 years 1 week ago #283278
by Aciera
' halui.axis.0.pos-relative' is now 'halui.axis.x.pos-relative'
' halui.axis.1.pos-relative' is now 'halui.axis.y.pos-relative'
There are likely other pin names that need updating so have a look here:
linuxcnc.org/docs/html/man/man1/halui.1.html
Replied by Aciera on topic iMachI3 P2-S Pendant Install Fail
I'm not familiar with the device but it seems that the instructions are out of date.I followed the instructions from VirtualCNC
' halui.axis.0.pos-relative' is now 'halui.axis.x.pos-relative'
' halui.axis.1.pos-relative' is now 'halui.axis.y.pos-relative'
There are likely other pin names that need updating so have a look here:
linuxcnc.org/docs/html/man/man1/halui.1.html
Please Log in to join the conversation.
3 years 1 week ago #283336
by gromitnyc
Replied by gromitnyc on topic iMachI3 P2-S Pendant Install Fail
Thanks for the quick response. You were absolutely correct about their HAL file being out of date. I went through it and updated what I could figure out and commented out things I couldn't. I've got linuxcnc running again and it seems to be communicating with the device.
The lines I commented out need to be updated too, but for these changes I'm having to do some research. I've included the lines below. If any of the changes are obvious to you, please let me know.
#net jog.0.cont-plus vc-p2s.jog.0.plus => halui.jog.0.plus
#net jog.0.cont-minus vc-p2s.jog.0.minus => halui.jog.0.minus
#net jog.1.cont-plus vc-p2s.jog.1.plus => halui.jog.1.plus
#net jog.1.cont-minus vc-p2s.jog.1.minus => halui.jog.1.minus
#net jog.2.cont-plus vc-p2s.jog.2.plus => halui.jog.2.plus
#net jog.2.cont-minus vc-p2s.jog.2.minus => halui.jog.2.minus
The lines I commented out need to be updated too, but for these changes I'm having to do some research. I've included the lines below. If any of the changes are obvious to you, please let me know.
#net jog.0.cont-plus vc-p2s.jog.0.plus => halui.jog.0.plus
#net jog.0.cont-minus vc-p2s.jog.0.minus => halui.jog.0.minus
#net jog.1.cont-plus vc-p2s.jog.1.plus => halui.jog.1.plus
#net jog.1.cont-minus vc-p2s.jog.1.minus => halui.jog.1.minus
#net jog.2.cont-plus vc-p2s.jog.2.plus => halui.jog.2.plus
#net jog.2.cont-minus vc-p2s.jog.2.minus => halui.jog.2.minus
Please Log in to join the conversation.
3 years 1 week ago #283337
by JohnnyCNC
Replied by JohnnyCNC on topic iMachI3 P2-S Pendant Install Fail
Below is a portion of an email that I sent to Vista back in 2020 that list the changes I had to make to for my P4S pendant. The p2s file probably needs similar changes. I hope this is of some help.
While I was waiting for my pendant to come back I was upgrading from LinuxCNC 2.7.15 to 2.8.0~Pre1. I found some things that need changed in the vc-p4s.hal that I just downloaded from your site.
These were the changes I needed to make that were not unique to my configuration.
line 10 change halui.axis.x.pos-relative to halui.axis.z.pos-relative.
section #9-Spindle
line 80 change halui.spindle.override.scale to halui.spindle.0.override.scale
line 81 change halui.spindle.override.count-enable to halui.spindle.0.override.count-enable
line 82 change halui.spindle.override.counts to halui.spindle.0.override.counts
line 83 change halui.spindle.override.value to halui.spindle.0.override.value
108 Change halui.spindle.start to halui.spindle.0.start
109 Change halui.spindle.stop to halui.spindle.0.stop
While I was waiting for my pendant to come back I was upgrading from LinuxCNC 2.7.15 to 2.8.0~Pre1. I found some things that need changed in the vc-p4s.hal that I just downloaded from your site.
These were the changes I needed to make that were not unique to my configuration.
line 10 change halui.axis.x.pos-relative to halui.axis.z.pos-relative.
section #9-Spindle
line 80 change halui.spindle.override.scale to halui.spindle.0.override.scale
line 81 change halui.spindle.override.count-enable to halui.spindle.0.override.count-enable
line 82 change halui.spindle.override.counts to halui.spindle.0.override.counts
line 83 change halui.spindle.override.value to halui.spindle.0.override.value
108 Change halui.spindle.start to halui.spindle.0.start
109 Change halui.spindle.stop to halui.spindle.0.stop
Please Log in to join the conversation.
3 years 1 week ago #283339
by Aciera
'halui.jog.0.minus' would be 'halui.axis.x.minus'
for the other lines replace 'jog.1' with 'axis.y' and 'jog.2' with 'axis.z'
Replied by Aciera on topic iMachI3 P2-S Pendant Install Fail
'halui.jog.0.plus' would be 'halui.axis.x.plus'#net jog.0.cont-plus vc-p2s.jog.0.plus => halui.jog.0.plus
#net jog.0.cont-minus vc-p2s.jog.0.minus => halui.jog.0.minus
#net jog.1.cont-plus vc-p2s.jog.1.plus => halui.jog.1.plus
#net jog.1.cont-minus vc-p2s.jog.1.minus => halui.jog.1.minus
#net jog.2.cont-plus vc-p2s.jog.2.plus => halui.jog.2.plus
#net jog.2.cont-minus vc-p2s.jog.2.minus => halui.jog.2.minus
'halui.jog.0.minus' would be 'halui.axis.x.minus'
for the other lines replace 'jog.1' with 'axis.y' and 'jog.2' with 'axis.z'
Please Log in to join the conversation.
3 years 1 week ago #283382
by gromitnyc
Replied by gromitnyc on topic iMachI3 P2-S Pendant Install Fail
Thank you all!
I've eliminated all errors and the pendant seems to be functioning correctly. Now, on to my other problems.
I've eliminated all errors and the pendant seems to be functioning correctly. Now, on to my other problems.
Please Log in to join the conversation.
2 years 3 months ago #306274
by rdtsc
Replied by rdtsc on topic iMachI3 P2-S Pendant Install Fail
This list is once again incomplete and will likely change again in the future. Instead of posting more changes, check your errors against the following link for the correct names:
linuxcnc.org/docs/html/man/man1/halui.1.html#PINS
linuxcnc.org/docs/html/man/man1/halui.1.html#PINS
Please Log in to join the conversation.
Time to create page: 0.100 seconds
