iMachI3 P2-S Pendant Install Fail
- gromitnyc
- Offline
- New Member
- Posts: 3
- Thank you received: 0
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.
Attachments:
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
- Posts: 3969
- Thank you received: 1717
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 or Create an account to join the conversation.
- gromitnyc
- Offline
- New Member
- Posts: 3
- Thank you received: 0
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 or Create an account to join the conversation.
- JohnnyCNC
- Offline
- Platinum Member
- Posts: 543
- Thank you received: 100
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 or Create an account to join the conversation.
- Aciera
- Away
- Administrator
- Posts: 3969
- Thank you received: 1717
'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 or Create an account to join the conversation.
- gromitnyc
- Offline
- New Member
- Posts: 3
- Thank you received: 0
I've eliminated all errors and the pendant seems to be functioning correctly. Now, on to my other problems.
Please Log in or Create an account to join the conversation.
- rdtsc
- Offline
- Senior Member
- Posts: 41
- Thank you received: 8
linuxcnc.org/docs/html/man/man1/halui.1.html#PINS
Please Log in or Create an account to join the conversation.