Another plasma component...

More
7 years 5 months ago - 7 years 5 months ago #134412 by JTknives
I know which pins are which but when I went to master branch it set me limit callouts diffrent. This is what I have right now
Code:
# ---setup home / limit switch signals--- net x-home-sw => joint.0.home-sw-in net x-neg-limit => joint.0.neg-lim-sw-in net x-pos-limit => joint.0.pos-lim-sw-in

My limit switches are
Code:
X home/limit is hm2_7i76e.0.7i76.0.0.input-04 Y home/limit is hm2_7i76e.0.7i76.0.0.input-05 Z home/limit is hm2_7i76e.0.7i76.0.0.input-06

Are you saying I just do it like this?
Code:
net hm2_7i76e.0.7i76.0.0.input-04 => joint.0.home-sw-in
Last edit: 7 years 5 months ago by JTknives.

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

More
7 years 5 months ago - 7 years 5 months ago #134416 by Grotius
Replied by Grotius on topic Another plasma component...
net hm2_7i76e.0.7i76.0.0.input-04 => joint.0.home-sw-in

I would do this, net needs a name after. It was'nt me designing the linuxcnc hal side software....... :

net mypreciousconnection_or_your_name_you_want_to => joint.0.home-sw-in => hm2_7i76e.0.7i76.0.0.input-04

Or the same in less words :
Code:
net yourname joint.0.home-sw-in hm2_7i76e.0.7i76.0.0.input-04

Forget Positive or negative if random x axis limit is not working. So your example joint.0.home-sw-in is a good choice !!
Last edit: 7 years 5 months ago by Grotius.

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

More
7 years 5 months ago #134426 by JTknives
Why can’t you assign a pin stright to an joint. Seams like having to have an Intermediary variable name to transfer data wasts code.

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

More
7 years 5 months ago - 7 years 5 months ago #134427 by Grotius
Replied by Grotius on topic Another plasma component...
@Jt,

It would be nice if that was possible. But hal is constructed, designed this way.
So that's the reason i say in previous post : It was'nt me designing the linuxcnc hal side software......

In fact the core code of hall is limited. Try to connect one input to 2 outputs in one line. Then you need a component.
Hal could be designed more core like this :

void{input1 = output2; input1 = output3;}

In the source code we are able to make this progression's. In the source code we can dig into hal and make some extra argument's possible. That it is not possible at this moment if you do a git clone from source, there is no repro that defines a pure c hal environment.

This is only because hal read in is written to read a certain level and combination of words, net command's, exepts => sign's etc.
But smart student's can give it their own way. It's unlimited.
Last edit: 7 years 5 months ago by Grotius.

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

More
7 years 5 months ago - 7 years 5 months ago #134428 by JTknives
Also I had another question which is about the plasmac. How is the Z axis set up. At first I had my z set up so when jogged it would go down when you pushed the negitive button and up with positive. In the milling world I would set g54 as my as my zero from home position on X and Y and then Z is the difference from tool touch off location and top of part. But on a plasma how does the Z work because plasmac controlls all the z moves. Reasion I ask is because I was getting weird moves on my dry run and had to set the probe height to line 2” or it would detect ohmic when moving down befor it was ready to probe. Here is a short vid showing the dry run.

Last edit: 7 years 5 months ago by JTknives.

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

More
7 years 5 months ago #134430 by PCW
Replied by PCW on topic Another plasma component...
You are not really connecting a joint, you are connecting a pin to a pin via a signal

net x-home hm2_7i76e.0.7i76.0.0.input-04 => joint.0.home-sw-in

Signals (like x-home) are actually memory locations that are used to pass information
from a source pin ( hm2_7i76e.0.7i76.0.0.input-04 in this case ) to one or many
destination pins (just joint.0.home-sw-in in this case)
.

There is a (deprecated) way to directly link pin to pin: linkpp
linkpp still uses a signal, it just uses the first pin name as the signal name

linkpp joint.0.home-sw-in hm2_7i76e.0.7i76.0.0.input-04

Would create a signal joint.0.home-sw-in, linkin the pins joint.0.home-sw-in and hm2_7i76e.0.7i76.0.0.input-04. I suspect linkpp is deprecated because of the possible confusion of signals and pins

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

Moderators: snowgoer540
Time to create page: 0.269 seconds
Powered by Kunena Forum