PP hand pendant build

More
11 Mar 2021 14:45 #201820 by Vmax549
Hi guys I am working on a hard wired hand pendant for PP. It is a simple design jog xyza and SSO and FRO. I have every thing working except for the Jog scale. .1,.01,.001,.0001. I cannot wrap my pea brain around any examples that I have found. Some PP limitations are PP does NOT have MUX4 the only MUX comp it has is MUX2. It does have a AND2 component.

.1
.01
.001
.0001

setp axis.0.jog-scale .0001
setp axis.1jog-scale .0001
setp axis.2.jog-scale .0001
setp axis.3.jog-scale .0001

For each jog-scale selection you have to update all of the 4 axis scale values. ANY help would be greatly appreciated. IF you khow of a link that explains it that would work as well. Just need to finish this project up and get back to work slinging chips.

(;-) TP

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 18:12 #201845 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
I went back out and did some testing and I CAN get away with just 2 joging inc .01 and .001 so maybe MUX2 can work ??

(;-) TP

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:28 #201889 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
I have to build a mux2 for the pendant but failed. Here is the code. It fails on the 4 lines that are commented out. IF anyone understands mux give it a look and see if it can be fixed . It is a copy of a pendant hal that used mux4 I just substitued some mux2 stuff.

#********** JOG Incr MUX2*******************
loadrt mux2 names=jogincr
addf jogincr servo-thread

#setp jogincr.in00 .0025
#setp jogincr.in01 .00025

net jog-incr-a <= hm2_7i80.0.gpio.049.in
net jog-incr-b <= hm2_7i80.0.gpio.050.in

#net jog-incr-a => jogincr.sel0
#net jog-incr-b => jogincr.sel1

net j-scale <= jogincr.out
net j-scale => axis.0.jog-scale
net j-scale => axis.1.jog-scale
net j-scale => axis.2.jog-scale
net j-scale => axis.3.jog-scale

Please Log in or Create an account to join the conversation.

More
12 Mar 2021 12:58 #201955 by smgvbest
Replied by smgvbest on topic PP hand pendant build
I will always recommend to anyone working with PP. download the equivalent version of LimixCNC and get it to build on a separate PC or VM image running same version of the OS that PP uses. You now have all COMPs and Libs from it and they can be copied directly into PP.

I have things like StepConf/PNCCONF all working under PP ADMIN PNCCONF for example. i still manually update my code though with each release.

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 00:56 #202042 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
Well it seems a hard wired pendant for PP is not going to happen. It seems that PP now blocks all use of the jogging control signals. The signals are now used by the Console and no longer available for use.

A shame really the test unit I had here was extremely smooth and responsive. Velocity jogging actually work like it should work.

Oh Well (;-) TP

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 00:57 #202043 by andypugh
Replied by andypugh on topic PP hand pendant build

Hi guys I am working on a hard wired hand pendant for PP. It is a simple design jog xyza and SSO and FRO. I have every thing working except for the Jog scale. .1,.01,.001,.0001. I cannot wrap my pea brain around any examples that I have found. Some PP limitations are PP does NOT have MUX4 the only MUX comp it has is MUX2.


You could cascade mux2 components.

Bit 1 switches 2 x input muxes, the outputs go to a single mux switched by bit 0.

Ir you could (probably) compile mux4 or mux_generic on PP.

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 02:57 #202053 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
Hi Andy, If you could type a sample of that code I can test it here. My pea brain cannot understand the logic to be able to create the code.

(;-) TP

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 02:58 #202054 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
As I now understand it PP does have Mux4 in later versions if that makes a difference.

.1
.01
.001
.0001

switch1
switch2
switch3
switch4

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 19:08 #202127 by Vmax549
Replied by Vmax549 on topic PP hand pendant build
With some help from Step over on the tormach/pathpilot /CNCZONE site I have it working now.

Thanks for the Time (;-) TP

Please Log in or Create an account to join the conversation.

More
13 Mar 2021 21:10 #202143 by Clive S
Replied by Clive S on topic PP hand pendant build

With some help from Step over on the tormach/pathpilot /CNCZONE site I have it working now.

Thanks for the Time (;-) TP

Would you mind posting the relevant files

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.155 seconds
Powered by Kunena Forum