News:

SMF - Just Installed!

Main Menu

Problems With Creating a Custom UDC

Started by vijeth.shetty, September 21, 2024, 01:20:26 PM

Previous topic - Next topic

vijeth.shetty

Am following this tutorial https://www.youtube.com/watch?v=0v7fQ6p1j7I&t=6669s about creating a UDC .
I am facing a couple of problem with saving it and opening it into the factory editor .
1. As shown in picture one , the blue sphere which shows which direction and how far the piston will move is showing in wrong direction ( X and Z are reversed) but works fine while simulating it .
eg: the sphere shows the direction chosen is Z , while its X  . But when simulated piston moves in X direction  .
 

2.I have saved the udc and restarted the machine simulator , but i cannot load the udc into the factory editor . I have tried loading other premade udc and some custom made ones from the forum here and they load into the factory editor without any errors. I have attached the udc in question below.

Thank you for your time .

EasyPLC_Master

Regarding point 1) The directions used in the controllers will change if you change the component roations.  The movement is always regaring the world, if you change the component rotation is in local mode, but the movements applied by the controllers is in world mode.

Point 2) Try to change the name and description of the UDC, I have change it for Grip_01 and it works.

vijeth.shetty

Hi ,
Thanks for the quick reply .

I tried changing the description and name of the udc but while saving  it in the folder , I gave a different name , and it didn't work.
But when I saved the file with the proposed name aka the description of udc  , it loads up right away .

Regarding point  1, I understood what you said  ,  is there any way to make the movement to show with that sphere on the global coordinate system ?  the tutorial doesn't have the tab to select between the two coordinate so i am not sure what coordinate system is selected when  they are designing the udt . 
Thank you for your time .