John,

Ok, here's what I'm doing. In the middle of my @TOOLCHG section I have  "
<(#S0)>" to output operator messages. So in my shape file I put in a user
element like the example "@TOOLCHG(#S0=DROP IS 1.234)" which takes the
machine home and outputs "N1 (DROP IS 1.234)". This works fine as long as
I'm processing the same tool. When I want to output an operator message and
I'm actually changing tools, then I put in a user element like "#S0=DROP IS
1.234" but make the user element the next step which automatically triggers
the @TOOLCHG section. This all works fine. Enter the additional variable.
The "#U12=1" statement calls another section from the middle of the
@TOOLCHG section. The section called outputs a probing cycle and generates
a program number based on a number entered in the Job Planner, and
increments each time it's called. So the desired output would be the
operator message and a probing cycle in the middle of the @TOOLCHG section.
I'm sure there are other methods of outputting probing cycles, but this was
what I came up with. If this still doesn't make sense, I can post a sample
file.

Thanks, Dave






"John Gent" <[EMAIL PROTECTED]>@loki.sdrc.com on 04/30/2002 11:44:33 PM

Sent by:  [EMAIL PROTECTED]


To:   <[EMAIL PROTECTED]>
cc:

Subject:  Re: [mfg-smartcam] Setting two variables in User Event, Event
      Text: field



Hey Dave,

OK, I'm confused. If the first example works�then why not  use it? I'm
obviously missing something. (BTW, you're right, the comma isn't
important) Here's what I've done ...

Created a User Event with the Event Text:
@TOOLCHG(#S0=DROP IS 1.234)(#U12=1)
(with a dummy step)

In the Template File have this @ Section:
@TOOLCHG
�Test!
�#S0
�#U12

Process, Code and get the following:
...
N3 Test!
N4 DROP IS 1.234
N5 1
...

... what am I missing? Thanks.

- John Gent
http://home.attbi.com/~jgent/

Actually John the "@TOOLCHG(#S0=DROP IS 1.234)(#U12=1)" statement  works
fine without the comma. My problem is in the 2nd example "#S0=DROP IS
1.234
#U12=1". I need a way to separate the two variable declarations. I've
tried
a comma, semicolon, colon, and parentheses to no avail. I need some  fresh
ideas.

Thanks in  advance,
Dave



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