Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fanuc robodrill post how to add a rotary clamp and unclamp

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
JOEWCG82
270 Views, 3 Replies

fanuc robodrill post how to add a rotary clamp and unclamp

Hello, 

I have a post that I got really close, but i am not sure how to add a unclamp(M111) before the "B"(rotary) axis position and a clamp (M111) after rotary position.  if someone one can point me in the right direction that would be helpful. 

Tags (3)
3 REPLIES 3
Message 2 of 4
KrupalVala
in reply to: JOEWCG82

HI @JOEWCG82 ,

 

Please refer to the Syntec post processor, where you will find the 'useClampCodes' post properties. Additionally, take a look into the 'onCommand(command)' function, where we have added command cases for 'COMMAND_LOCK_MULTI_AXIS' and 'COMMAND_UNLOCK_MULTI_AXIS'. You can implement these in your post processor.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 3 of 4
JOEWCG82
in reply to: KrupalVala

hello,

I finally had time to work on this post, when i added the 'COMMAND_LOCK_MULTI_AXIS' and 'COMMAND_UNLOCK_MULTI_AXIS'. to the post it becomes invailed. i attached the post can you let me know where i went wrong?

Message 4 of 4
KrupalVala
in reply to: JOEWCG82

Hi @JOEWCG82 ,

 

Please define an mClampModal variable in your post processor as follows:

 

var mClampModal = createModalGroup(
  {strict:false},
  [
    [10, 11], // 4th axis clamp / unclamp
    [110, 111] // 5th axis clamp / unclamp
  ],
  mFormat
);

 

Remove the command from following location. There is no use of it.

KrupalVala_0-1686891163111.png

 

Regarding the correction of the axis rotation direction,  B axis should rotate around the Y axis, you can update the axis parameter as follows: axis:[0, 1, 0],

KrupalVala_1-1686891312279.png

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report