- Posts: 56
- Thank you received: 0
Not seeing s32in value in classicladder
10 years 8 months ago #70488
by djs14
Not seeing s32in value in classicladder was created by djs14
Hey all,
I'm fooling around with classicladder trying to get a tool changer system working.
Right now I have created a pyvcp scale box to simulate tool number selection.
I have mapped the halpin with the -i designation to halpin tool-request, and then in my main hal file I map the tool-request halpin to s32in-05 of classicladder, but when viewing variables in classicladder I'm not seeing this variable change.
Thoughts?
Thank you
I'm fooling around with classicladder trying to get a tool changer system working.
Right now I have created a pyvcp scale box to simulate tool number selection.
I have mapped the halpin with the -i designation to halpin tool-request, and then in my main hal file I map the tool-request halpin to s32in-05 of classicladder, but when viewing variables in classicladder I'm not seeing this variable change.
Thoughts?
Thank you
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
10 years 8 months ago #70490
by djs14
Replied by djs14 on topic Not seeing s32in value in classicladder
I've got my value printing back to a S32 number box with a pyvcp, but I can't get the value into classicladder.
Easy one for you guys
... come on.
cheers
Easy one for you guys
cheers
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
10 years 8 months ago #70491
by Todd Zuercher
Replied by Todd Zuercher on topic Not seeing s32in value in classicladder
Lets start with the basics are you sure that your pyvcp.my-hvalue-i is an S32 output? Since you didn't include your pyvcp files we can only guess.
Where are you looking for your value in Classicladder? The Classicladder S32 input you have connected to the HAL signal "tool-request" will show up as variable %IW5 in CL. I don't see that variable mentioned in the custom.clp you attached.
Where are you looking for your value in Classicladder? The Classicladder S32 input you have connected to the HAL signal "tool-request" will show up as variable %IW5 in CL. I don't see that variable mentioned in the custom.clp you attached.
Please Log in to join the conversation.
10 years 8 months ago #70493
by djs14
Thank you brother!
I did not realize the variables would be %IW5 vs just %W5. Changed that in my variable monitoring and I got it for now. I've added my xml file that has the pyvcp declarations. I think that is legit for now. Sorry for my messy programming. I'm just getting my head around all the very powerful features of this system. I think with this info I can get my tool changer working.
Thanks again.
cheers!
Replied by djs14 on topic Not seeing s32in value in classicladder
Attachment not found
Todd Zuercher wrote: Lets start with the basics are you sure that your pyvcp.my-hvalue-i is an S32 output? Since you didn't include your pyvcp files we can only guess.
Where are you looking for your value in Classicladder? The Classicladder S32 input you have connected to the HAL signal "tool-request" will show up as variable %IW5 in CL. I don't see that variable mentioned in the custom.clp you attached.
Thank you brother!
I did not realize the variables would be %IW5 vs just %W5. Changed that in my variable monitoring and I got it for now. I've added my xml file that has the pyvcp declarations. I think that is legit for now. Sorry for my messy programming. I'm just getting my head around all the very powerful features of this system. I think with this info I can get my tool changer working.
Thanks again.
cheers!
Please Log in to join the conversation.
Time to create page: 0.142 seconds
