Parameters to classicladder possible?

More
15 Feb 2020 15:21 #157448 by 3D-Master
the component i load with "loadusr python python/z_rotation.py" because i have a seperate python folder in my config to make it a little more clean. Also the loading is right on the top of the hal file where the other "loadrt" are.

the pin connection is in my main hal file:

net classicladder_rotation_z_float classicladder.0.floatin-01 <= z_rotation.z-rotated-angle


when i add -Wn i get an error (uploaded a pic)
Attachments:

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

More
15 Feb 2020 15:27 #157450 by 3D-Master
i tried giving read and write permissions for everyone for this python script but still the same

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

More
15 Feb 2020 15:34 #157452 by tommylight
You have to give read permissions to the folder also.

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

More
15 Feb 2020 15:35 #157453 by cmorley
comment out the signals and see if the component loads.

Please post your config file so I can see what's going on.
It maybe a few hours till I get back to this

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

More
15 Feb 2020 15:46 #157454 by 3D-Master

You have to give read permissions to the folder also.


did that, still the same: permission denied

when i comment out the pin "z_rotation.z-rotated-angle" and delete -WN from loadrt linuxcnc starts.


the component is working, i made some screenshots. Also i uploaded my config folder

thanks for helping me
Attachments:

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

More
15 Feb 2020 19:11 #157475 by cmorley
you have:
loadusr -Wn python python/z_rotation.py

try:
loadusr -Wn z_rotation python python/rotation.py

Chris
The following user(s) said Thank You: 3D-Master

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

More
15 Feb 2020 19:17 #157476 by 3D-Master
THANK you its finally working :)

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

More
15 Feb 2020 19:19 #157477 by cmorley
Glad we got it - post a pic of your screen with the indicator - I'd like to see what you've done :)

Chris

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

More
15 Feb 2020 19:35 - 15 Feb 2020 19:37 #157478 by 3D-Master
its currently on the bottom right under "WZW Kegelreinigung"

everything is still a mess, someday it will be pretty :)

and yes, on the Heidenhain controller the icon is also small (i made screenshots from the Windows simulator software). Maybe i will create bigger ones
Attachments:
Last edit: 15 Feb 2020 19:37 by 3D-Master.

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

More
15 Feb 2020 19:58 - 15 Feb 2020 19:59 #157479 by 3D-Master
btw i went and used the "is-rotated" bit pin because classicladder seems to round up the float number
Last edit: 15 Feb 2020 19:59 by 3D-Master.

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

Time to create page: 0.366 seconds
Powered by Kunena Forum