Almost perfect

Almost perfect

patrizio.costa
Participant Participant
319 Views
1 Reply
Message 1 of 2

Almost perfect

patrizio.costa
Participant
Participant

Hi,

I made a modification to the Fanuc post to lock and unlok rotary axis before every rotation.

 
case COMMAND_LOCK_MULTI_AXIS:
writeBlock(mFormat.format(10), mFormat.format(70));
 
case COMMAND_UNLOCK_MULTI_AXIS:
writeBlock(mFormat.format(11), mFormat.format(71));
 
But what I get is this:
 
M11 M71
M11 M71
G00 A0. B-90.
M10 M70
 
M11 M71 is written twice
 
What am I doing wrong?
 
Thanks Patrik
0 Likes
320 Views
1 Reply
Reply (1)
Message 2 of 2

patrizio.costa
Participant
Participant

Just to be clear, I need to unlock rotary axis before every rotation and lock after every rotation 🙂

 
0 Likes