We put a LOT of documentation in our CNC manuscripts.  The way we handled
this was by creating 4 sections in our .tmp file.  The sections are:
@msg
@m00msg
@m01msg
@lastmsg

Within each of the sections are the commands appropriate to what we are
trying to do.  For example you may want to put out a number of messages in
a row.  So have the @msg section include the #OFFBLK command to turn
numbering off, then use the @lastmsg section to turn numbering back on with
the #ONBLK.  The other option is to add the #ONBLK to all the other
sections.

To use the sections create a user element that says   @msg(#S9=some
interesting text) .       We use the #S9 variable for all messages, this is
a carryover from the early days before we could declare and name our own
variables.

   Here are some samples of the different sections. Good luck.

@MSG
// USE AT A CLEARANCE POINT
#OFFBLK
(*****)
(***** #S9)
(*****)
#EVAL(#S9=  )

@M00MSG
// USE THIS TEMPLATE WORD IN CONJUNCTION WITH (a)NUMONS.
#IF(#TOOL>12)<#EVAL(#TOOL=#TOOL-10)>
#ONBLK #C5
 G97 S10
 M05
 M00
#OFFBLK
(*****)
(*****  #S9)
(*****)
#EVAL(#S9=  )
#EVAL(#stopflag=1)
#RESET(#C1,#FDMODE,#TOOL,#SPNDL,#SPEED,#FEED,#SPMODE,#XPOS,#ZPOS)
#ONBLK
#CALL(SETTOFF)
#CALL(SCODES)

@M01MSG
#IF(#TOOL>12)<#EVAL(#TOOL=#TOOL-10)>
// USE THIS TEMPLATE WORD IN CONJUNCTION WITH (a)NUMONS.
#ONBLK #C5
 G97 S10
 M05
 M01
#OFFBLK
(*****)
(*****  #S9 )
(*****)
#EVAL(#S9=  )
#EVAL(#stopflag=1)
#RESET(#C1,#FDMODE,#TOOL,#SPNDL,#SPEED,#FEED,#SPMODE)
#ONBLK
#CALL(SETTOFF)
#CALL(SCODES)


@LASTMSG
#IF(#TOOL>12)<#EVAL(#TOOL=#TOOL-10)>
#IF(#U13=1)< LASTMSG SECTION>
(**** #S9)
(**********************)
#EVAL(#S9=  )
#RESET(#MOV)
#EVAL(#stopflag=1)
#RESET(#C1,#FDMODE,#TOOL,#SPNDL,#SPEED,#FEED,#SPMODE,#XPOS,#ZPOS)
#ONBLK
#CALL(SETTOFF)
#CALL(SCODES)






[EMAIL PROTECTED] on 04/28/2000 11:01:34 PM

To:   [EMAIL PROTECTED]
cc:    (bcc: Dave Hayden/elliott)
Subject:  [mfg-smartcam] Text message help






Help!!  I would like to leave a text message in the middle of a program but
need
to exclude the block number as required by the machine control.  Is there
an
option similar to #OFFBLK that can do this from within a User Event?

While I am here, I guess I will ask for more help.  Is it possible to pick
the
Landscape option when printing graphics from within a Macro?

It is nice to know that there is a knowledge pool available long after
Smartcam
was discontinued.  Thanks for all of the help.  Just reading other threads
is a
great benefit to me.

Sean Bett


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




======================================================================
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