I want to make a simulation with a lathe and a chuck I made myself (I re-used most of the sim11-turn-2ax parts that come with NX, but the kinematic model and postprocessor are self-made). Everything works fine but I can’t control my chuck properly.
Those are the two things I’m trying to do: (and I know it’s possible, I saw it on videos)
If someone can explain me how to do this or give me a link to an explanation I would be very grateful.
Here's a screenshot of my chuck and its kinematic model.
Thank's a lot on advance.
Solved! Go to Solution.
the following points in SIM15 example are interesting for you.
Moving Chucks in NC Code with M120/M121 M130/M131
Renaming axis names (it´s only for showcase. It´s fully sufficient to move the axis with V1/2/3 addresses directly)
Moving jucks with one adress V1
Let me know if you need further information
1.) To avoid the error messages you have different choices.
If you machine is a single machine, easily delete the -2.ini file. If its a multichannel machine, then you have to craete and setup the second channel in Machine Tool Builder.
TO_INI_1/2: delete the TO_INI_1 and TO_INI_2 from \sim15_millturn_9ax-1/2.ini file or create a folder 'cse_files\subprog\ ' where the cam setup is located and create both files in there. --> it depends how you will setup your simulation regarding where the tool and offset information come from. Either from system or loaded from that files.
2.) M121 check the entries in ini file --> screenshot no. 3
3.) Does the jaw move when you move it manually in Machine Axis Dialog? If there is no jaw axis available then you have to look in more detail in to the fourth screenshot. There is a method call GMe_AssignMainChuckJawAxisIntoChannel. This method assigns the jaws axis into the channel. This is needed to move the axis via NC Code.
See if this is from any help. I get the chuck & jaws simulation/rotation with those. I could be wrong but you need to ensure that both Device ID and Holder ID matches.
This is a very helpful response. What is this editor you are using?
Production: NX10.0.3 MP13, VERICUT 8.0
Development: VB.NET, Tcl/Tk Testing: NX11.0, iMachining 2.0, Adaptive Roughing