Fanuc a-axis post missing m27 m28 for 4th axis rotary.

Fanuc a-axis post missing m27 m28 for 4th axis rotary.

Natranzow
Enthusiast Enthusiast
938 Views
1 Reply
Message 1 of 2

Fanuc a-axis post missing m27 m28 for 4th axis rotary.

Natranzow
Enthusiast
Enthusiast

Is there something I'm missing here or is this post missing the rotary claml and unclamp m27 and m28? 

0 Likes
939 Views
1 Reply
Reply (1)
Message 2 of 2

Tom.Hemans
Community Manager
Community Manager

Hi @Natranzow,

 

The library post does not currently output clamping codes. To add them in, navigate to onCommand(COMMAND_UNLOCK_MULTI_AXIS) on line 562 and add the following line (see the image Unlock multi axis.png)

writeBlock("M28");
 
Then, navigate to onCommand(COMMAND_LOCK_MULTI_AXIS) on line 601 and add the following line (see the image Lock multi axis.png)
writeBlock("M27");
 
This will output M28 & M27 around the indexing moves in the NC code.

 

Hope this helps,

Tom 



Tom Hemans

Technical Consultant
0 Likes