I'm just starting using Smartcam so I wanted to customize code
generator. I'm going to use it mostly on Daewoo machines with Fanuc
Control. I've started with lathe.tmp file that comes with the
software. I wanted to get rid of the line numbering, change I/K to R
in G02/G03 and couple other things. Beneath is what I've got. What do
you think about it? Is it error free?

__________

@START
<#OFFBLK>
%
:O0000(#FILE)
G20G40G99
N#FMT(#TOOL,T2.0)( #TDESC )
G00X6.0Z6.0
G00T#TOFF
G50S2000
#SPMODE<S#SPEED>#SPNDL
M08
#NEXTPT
#MOV<X#XPOS>Z#ZPOS

@TOOLCHG
G00X6.0Z6.0M09
M01
N#FMT(#TOOL,T2.0)( #TDESC )
G00X6.0Z6.0
T#TOFF
G50S2000
#SPMODE<S#SPEED>#SPNDL
M08
#NEXTPT
#MOV<X#XPOS>Z#ZPOS

@END
G00X6.0Z6.0M09
M01
M30
#OFFBLK%

@STPROF
<#MOV><X#XPOS><Z#ZPOS>

@RAP
<#MOV><X#XPOS><Z#ZPOS>

@LINE
<#MOV><X#XPOS><Z#ZPOS><F#FEED>

@ARC
<#MOV><X#XPOS><Z#ZPOS><R#ARAD><F#FEED>

@FXD1
G33<X#XPOS><Z#ZPOS><F#FTHRD>

@FXD4
G33<Z#ZPASS><F#FEED>
M03
G33<Z#ZPOS><F#FEED>
@
__________



In other file I found those codes:
________
@FXD1
#EVAL(#V1=ABS(#V1))
#EVAL(#V2=ABS(#V2))
#IF(#XPASS<#XCTR)<#EVAL(#XOV=ABS(#XOV))>
G76X#XPASSZ#ZPASS<I#XOV>K#V1D#V2F#FTHRDA#U0<#C1>

@FXD2
<#FXD><X#XPASS><Z#ZPASS><#C1><F#FEED>

@FXD3
<#FXD><X#XPASS><Z#ZPASS><#C1><F#FEED>

@FXD4
G33Z#ZPASS<F#FEED>
M05
M04
G33Z#ZPOS<F#FEED>
M05

@DWELL
G04U#DWELL#EVAL(#TIME=#DWELL/60)

@RTURN
#RESET(#MOV)
#EVAL(#U2=#BLK+1)
G71P#U2Q#U3U#V3W#V4D#V5F#FEEDS#SPEED<#C1>
#NEXTPT

@RFACE
#RESET(#MOV)
#EVAL(#U1=#BLK+1)
G72P#U2Q#U3U#V3W#V4D#V5F#FEEDS#SPEED<#C1>
#NEXTPT

@FTURN
G70P#U2Q#U3

@REND
#EVAL(#U3=#BLK-1)
________

Can I put it in my file so Smartcam would be using G71/G72 for
roughing and G76 for threading? I'm not sure what <#C1> do in it. Does
it have anything to do with tool radius compensation? Can I just
delete it from those lines if I work only in G40 mode?
THX for opinions.

--

_|    _|  _|_|  _|    _| _|_|_|  _|_|
_|    _| _|  _|  _|  _|     _|  _|  _|
 _|  _|  _|  _|   _|_|     _|    _|_|
  _|_|   _|  _|    _|     _|    _|  _|
   _|     _|_|     _|    _|      _|_|

              @Yahoo.com



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to