PDA

View Full Version : Need Help! Post pro



Momo37
07-19-2010, 05:12 PM
Hi

I post because I need your help for solidcam 2010
I m sorry i do not speak English very well.

I'm looking to pass the code G02 and G03 in line vector G01.

thanks a lot

Brakeman Bob
07-20-2010, 02:46 AM
You need to look in the GPP file for the sub-routine "@arc". This is the place where G02 and G03 should be generated. This is GPP code for FANUC 16MA

@arc
local numeric feed_dist
call @cALC
if change(feed) eq TRUE
if sign(feed) eq -1
feed=(-feed)
endif
endif

blknum_gen = false
{nb}
blknum_gen = true

;-- arc plane --
if change(arc_plane) then
if arc_plane eq XY then
gcode = 17
endif
if arc_plane eq YZ then
gcode = 18
endif
if arc_plane eq ZX then
gcode = 19
endif
{'G'gcode, ' '}
endif

if arc_direction eq CCW then
gcode = 3
else ; CW
gcode = 2
endif

{'G'gcode}


{[' X'xpos] [' Y'ypos] [' Z'zpos]}

endp