Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Probing direction X+ or X-

1 REPLY 1
SOLVED
Reply
Message 1 of 2
v.tsybulnyk
155 Views, 1 Reply

Probing direction X+ or X-

Hi guys,

Can somebody helping me with finding right code how I can post Probing X- or X+ direction 

Because i need a different code on Fanuc 

G65 P9728 D2. J1. Q1. ;  Probe in X- Direction

G65 P9728 D1. J1. Q1. ;  Probe in X+ Direction

 

Now its posting every time only D1....

But i dont know how i kan change it to ( IF probe direction X- Set code D2/ IF probe direction X+ Set code D1)

 

This is my post code now

 

case "probing-x":                                                                                          //MAKINO V56 OK
protectedProbeMove(cycle, x, y, z - cycle.depth);
writeBlock(
gFormat.format(65), "P" + 9728,
 "D" + xyzFormat.format(1),
"H" + xyzFormat.format(x + approach(cycle.approach1) * (cycle.probeClearance + tool.diameter / 2)),   //"X" + xyzFormat.format(x + approach(cycle.approach1) * (cycle.probeClearance + tool.diameter / 2)),
 "J" + probeWCSFormat.format(probeOutputWorkOffset > 6 ? (probeOutputWorkOffset - 6 + 100) : probeOutputWorkOffset),  //Nulpunt overschrijven
"Q" + xyzFormat.format(1),                                                                            //"Q" + xyzFormat.format(cycle.probeOvertravel),
getProbingArguments(cycle, false)
      );
      break;

 

Thank you

Tags (2)
1 REPLY 1
Message 2 of 2
v.tsybulnyk
in reply to: v.tsybulnyk

In the meantime I found a solution ☺

vtsybulnyk_0-1678863866008.png

 

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

Post to forums  

Autodesk Design & Make Report