Classicladder
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 95
- Thank you received: 6
04 Aug 2021 20:01 #216934
by mjones@welfab.ca
Classicladder was created by mjones@welfab.ca
Hi all.
Im trying to edit my hal and add classic ladder. I have a friend that has the same machine as mine and he has converted his machine to linuxcnc already. I have his hal and his classicladder and when i try altering certain parts it errors, and im starting to think that is because i don't have the interface pannel in the machine yet and its not able to get any signals. Does this sound right? for eg. if i enter the following i get an error saying 'wsum.0.bit.0.in' does not existnet t1-bit0 wsum.0.bit.0.in <= hm2_7i76e.0.7i64.0.4.input-19net t1-bit1 wsum.0.bit.1.in <= hm2_7i76e.0.7i64.0.4.input-20net t1-bit2 wsum.0.bit.2.in <= hm2_7i76e.0.7i64.0.4.input-21net t1-bit3 wsum.0.bit.3.in <= hm2_7i76e.0.7i64.0.4.input-22net turret1-num wsum.0.sum => classicladder.0.s32in-02
its being told to look at 'classicladder.0.s32.in-02 for this. I get that classicladder.0. is the custom.clp in my file now the s32 is that a different classic ladder program or is it how they number rungs in the ladder and in-02 should be input-02 of s32
Can any one confirm if i am right or wrong on this and help me figure out the s32. or if i have to stop working in comfort and hook up the the machine and start configuring out there so the computer can get the input signals its looking for.
Im trying to edit my hal and add classic ladder. I have a friend that has the same machine as mine and he has converted his machine to linuxcnc already. I have his hal and his classicladder and when i try altering certain parts it errors, and im starting to think that is because i don't have the interface pannel in the machine yet and its not able to get any signals. Does this sound right? for eg. if i enter the following i get an error saying 'wsum.0.bit.0.in' does not existnet t1-bit0 wsum.0.bit.0.in <= hm2_7i76e.0.7i64.0.4.input-19net t1-bit1 wsum.0.bit.1.in <= hm2_7i76e.0.7i64.0.4.input-20net t1-bit2 wsum.0.bit.2.in <= hm2_7i76e.0.7i64.0.4.input-21net t1-bit3 wsum.0.bit.3.in <= hm2_7i76e.0.7i64.0.4.input-22net turret1-num wsum.0.sum => classicladder.0.s32in-02
its being told to look at 'classicladder.0.s32.in-02 for this. I get that classicladder.0. is the custom.clp in my file now the s32 is that a different classic ladder program or is it how they number rungs in the ladder and in-02 should be input-02 of s32
Can any one confirm if i am right or wrong on this and help me figure out the s32. or if i have to stop working in comfort and hook up the the machine and start configuring out there so the computer can get the input signals its looking for.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
05 Aug 2021 01:38 #216948
by cmorley
Replied by cmorley on topic Classicladder
The error says :
wsum.0.bit.0.in does not exist
Wsum is a component unrelated to classicladder.
Find out my the wsum component's pins are missing.
wsum.0.bit.0.in does not exist
Wsum is a component unrelated to classicladder.
Find out my the wsum component's pins are missing.
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 95
- Thank you received: 6
05 Aug 2021 13:14 #216977
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic Classicladder
the lines below are copied and pasted out of the hal. wsum.0.bit.0.in is in the hal and is tied to hm2_7i76e.0.7i64.0.4.input-19 but error says it doen't exist.
the last line says that wsum.0.sum is tied to classicladder.0.s32in-02 if i take these lines out of hal and open linuxcnc and hall configuration under pins-classicladder i see pin s32in-02. I'm not understanding something here. as far as i can see wsum.0.bit.0.in is there. Im wandering if because its not hooked up to the machine and not getting a signal to the pin if that is the problem?
net t1-bit0 wsum.0.bit.0.in <= hm2_7i76e.0.7i64.0.4.input-19
net t1-bit1 wsum.0.bit.1.in <= hm2_7i76e.0.7i64.0.4.input-20
net t1-bit2 wsum.0.bit.2.in <= hm2_7i76e.0.7i64.0.4.input-21
net t1-bit3 wsum.0.bit.3.in <= hm2_7i76e.0.7i64.0.4.input-22
net turret1-num wsum.0.sum => classicladder.0.s32in-02
the last line says that wsum.0.sum is tied to classicladder.0.s32in-02 if i take these lines out of hal and open linuxcnc and hall configuration under pins-classicladder i see pin s32in-02. I'm not understanding something here. as far as i can see wsum.0.bit.0.in is there. Im wandering if because its not hooked up to the machine and not getting a signal to the pin if that is the problem?
net t1-bit0 wsum.0.bit.0.in <= hm2_7i76e.0.7i64.0.4.input-19
net t1-bit1 wsum.0.bit.1.in <= hm2_7i76e.0.7i64.0.4.input-20
net t1-bit2 wsum.0.bit.2.in <= hm2_7i76e.0.7i64.0.4.input-21
net t1-bit3 wsum.0.bit.3.in <= hm2_7i76e.0.7i64.0.4.input-22
net turret1-num wsum.0.sum => classicladder.0.s32in-02
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17974
- Thank you received: 4831
05 Aug 2021 13:32 #216980
by PCW
Replied by PCW on topic Classicladder
do you have a
"loadrt weighted_sum wsum_sizes=blahblah"
statement in your hal file?
"loadrt weighted_sum wsum_sizes=blahblah"
statement in your hal file?
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 95
- Thank you received: 6
05 Aug 2021 13:48 #216981
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic Classicladder
I didn't, but i do now and it works. thank you for that, I have to pay more attention to that stuff.
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds