Parameters to classicladder possible?

More
6 years 8 months ago #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)

Please Log in to join the conversation.

More
6 years 8 months ago #157450 by 3D-Master
i tried giving read and write permissions for everyone for this python script but still the same

Please Log in to join the conversation.

More
6 years 8 months ago #157452 by tommylight
You have to give read permissions to the folder also.

Please Log in to join the conversation.

More
6 years 8 months ago #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 to join the conversation.

More
6 years 8 months ago #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

Please Log in to join the conversation.

More
6 years 8 months ago #157475 by cmorley
you have:
loadusr -Wn python python/z_rotation.py

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

Chris

Please Log in to join the conversation.

More
6 years 8 months ago #157476 by 3D-Master
THANK you its finally working :)

Please Log in to join the conversation.

More
6 years 8 months ago #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 to join the conversation.

More
6 years 8 months ago #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

Please Log in to join the conversation.

More
6 years 8 months ago #157479 by 3D-Master
btw i went and used the "is-rotated" bit pin because classicladder seems to round up the float number

Please Log in to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum