Interesting pendent issue.....

More
4 years 6 months ago #241136 by Jake
Once I had upgraded to 2.8 I have run into a issue with pendent use.  Once the machine is started up and going I can use the pendent (Vista pendent).  I have position data on the screen on the pendent also.  Once a MIDI command occurs or it has been put into auto and run a program the pendent is no longer functional.  The screen on the pendent also just says "linuxcnc" like it does when Linuxcnc is not running.  I am finally getting back around to dealing with this......

Please Log in to join the conversation.

More
4 years 6 months ago #241268 by my1987toyota
From what I understand the joints and axes were separated in 2.8 forward. meaning if its using a USB the VistaCNC driver will need to be updated 
. Or a hard wired Pendant installed.

Please Log in to join the conversation.

More
4 years 6 months ago #241270 by rodw
Replied by rodw on topic Interesting pendent issue.....
Before 2.8 joints were hard coded 0=x, 1=y, 2=z etc.
Now the axes are independent of axes.
If your pendant works with joints and not axes, it could get it wrong...

Please Log in to join the conversation.

More
4 years 4 months ago #244276 by Jake
Replied by Jake on topic Interesting pendent issue.....
I did upgrade the pendent to the latest firmware version V1.20 which was posted 12/13/19. I though 2.8 came out September 2022 time frame.

I have a email in to Vista to see if they have any insight. The pendent is USB its the Vista P4S

So this is all in the firmware of the pendent and not anywhere in the HAL files ?

The P4S HAL file that I am using was for 2.8 pre and 2.9 pre


Code:
# loadrt names=and2.2 addf and2.2 servo-thread # 1---LCD reletive Coordinates net axis.0.pos-relative halui.axis.x.pos-relative => vc-p4s.axis.0.pos-relative net axis.1.pos-relative halui.axis.y.pos-relative => vc-p4s.axis.1.pos-relative net axis.2.pos-relative halui.axis.z.pos-relative => vc-p4s.axis.2.pos-relative # 2---JOG net axis.0.jog-en vc-p4s.axis.0.jog-enable => axis.x.jog-enable joint.0.jog-enable net axis.1.jog-en vc-p4s.axis.1.jog-enable => axis.y.jog-enable joint.1.jog-enable net axis.2.jog-en vc-p4s.axis.2.jog-enable => axis.z.jog-enable joint.2.jog-enable net jog-scale vc-p4s.jog-scale => joint.0.jog-scale axis.x.jog-scale net jog-scale vc-p4s.jog-scale => joint.1.jog-scale axis.y.jog-scale net jog-scale vc-p4s.jog-scale => joint.2.jog-scale axis.z.jog-scale net jog-counts vc-p4s.jog-counts => joint.0.jog-counts  axis.x.jog-counts net jog-counts vc-p4s.jog-counts => joint.1.jog-counts  axis.y.jog-counts net jog-counts vc-p4s.jog-counts => joint.2.jog-counts  axis.z.jog-counts net jog.0.cont-plus  vc-p4s.jog.0.plus  => halui.axis.x.plus halui.joint.0.plus net jog.0.cont-minus vc-p4s.jog.0.minus => halui.axis.x.minus halui.joint.0.minus net jog.1.cont-plus  vc-p4s.jog.1.plus  => halui.axis.y.plus  halui.joint.1.plus net jog.1.cont-minus vc-p4s.jog.1.minus => halui.axis.y.minus halui.joint.1.minus net jog.2.cont-plus  vc-p4s.jog.2.plus  => halui.axis.z.plus halui.joint.2.plus net jog.2.cont-mimus vc-p4s.jog.2.minus => halui.axis.z.minus halui.joint.2.minus net jog-speed vc-p4s.jog.velocity => halui.axis.jog-speed halui.joint.jog-speed net motion-in-position motion.in-position => vc-p4s.is-moving setp axis_0_max_velocity [JOINT_0]MAX_VELOCITY setp axis_1_max_velocity [JOINT_1]MAX_VELOCITY setp axis_2_max_velocity [JOINT_2]MAX_VELOCITY
 

Please Log in to join the conversation.

More
4 years 4 months ago #244430 by andypugh
The HAL looks to be 2.8+ compatible. So it's not that.

Please Log in to join the conversation.

More
4 years 4 months ago #244761 by Jake
Replied by Jake on topic Interesting pendent issue.....
Response from Vista was to toggle LinuxCNC from MDI F5 to Manual F3. Or after a program has been run to toggle MDI F5 then to Manual F3. He said this has been the work around since 2.7. I made the jump from 2.6 to 2.8, which I do miss having the pause button on the pendent, I will have to add a button on the control console for that. It appears that LinuxCNC ignores the pendent completely when it is not in manual, as the screen goes to its default powered up screen.

Please Log in to join the conversation.

More
4 years 4 months ago #244763 by spumco
I've got a vista pendant too, but I haven't run LCNC programs enough that I've noticed it yet.

Possible to auto-force it in to manual mode after a program ends?  Maybe connect halui.program.is-idle to halui.mode.manual through some logic that defaults to manual mode, but permits MDI mode if you want it?

Please Log in to join the conversation.

More
4 years 4 months ago #244811 by Jake
Replied by Jake on topic Interesting pendent issue.....
That is a thought, I may look into that. I have not had time to go out and fire things up and see if the work around works like he stated.

Please Log in to join the conversation.

More
4 years 1 month ago #252304 by Jake
Replied by Jake on topic Interesting pendent issue.....
Well I am back at trying to get some of the issues I have run into with the move to 2.8.

Even with Vista's response to toggle it to manual does not work. Once the machine has been in automatic once the pendent is a paperweight. I have tried to get back in touch with Vista about there work around not working and they won't respond.

Or the other option is ditch the Vista pendent and find another solution.

Please Log in to join the conversation.

More
4 years 1 month ago #252313 by JohnnyCNC
I have a P4SE and early on I had a similar problem except it seemed to be related to static electricity. I had foam mats on the floor and I had one instance where the pendent would work fine but as soon at I put my foot on the foam mat it would stop working and go back to the screen that it is at before LCNC starts. I eleminated the mat. I also installed an active repeater cable since I had to extend my USB cable connection about 6 foot. I am now using the P4SE with 2.8 with no problems. When I first switched to 2.8 back in Jan 2020 I had some issues and had to make changes to the vc-p4s.hal file. I shared these changes with Vista tech support and they said that they had updated the file on their site with the changes. I am running the lastest LCNC 2.8.x version and using the QTDragon UI on Linux Mint 19.3. I recently tried Debian 10 and it worked there also.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum