// Advanced_Wedm 11.5 Windows 10/16/98 16:48:10 Macro File
// w:\mcl\1.mcl
// CREATED: 06/28/01
//  
//  
JOS_CONTEXT_OPEN[BASEITEM=16, USERNAME=""]

JOS_FIELD_EDIT[FLDNAME="nc_file", EXPR="How do I get this into a string
variable"]

JOS_CHANGES_PROMOTE[]
JOS_CONTEXT_CLOSE[]

I can place a string variable in the nc_file data tag
via a macro using the STRTMP command. When I do a 
process code it will code to that file.

I've entered info in all the feilds in the Job Information
section of the JOS planner and recorded the results.
No "nc_file" data tag shows up. 

Does this mean I'm out of luck?

This is what appears when I read a JOF file into Edit Plus.

header = 0
[
    app_type = "4"
    def_bldstmp = "wjpage.def - Tue May 28 14:04:45 PDT 1996"
    file = "w:\\ag1000\\AG0001A.jof"
    rev = "2"
    section = "5010101"
    units = "0"
    version = "2.0"
]

job_info = 0
[
    created = "03/03/89"
    creator = ""
    nc_date = "06/22/01"
    nc_file = "w:\\ag1000\\AG0001A" <-- this is the puppy I'm after!
    nc_runtime = "2.36"
    nc_size = "1032"
    nc_time = "02:46PM"
    notes = "BLOUNT OF CANADA\n\n\n\n\nTHIS IS A GENERIC JOB PLAN FOR ALL
AGIES\n\n\n\n\n\nT50=.1 dia. is for finding geometry breaks...\n\n\n\n"
    pm_file = ""
    prt_desc = ""
    rev_date = "06/22/01"
    section = "5010102"

How do I get that nc_file extracted into a string variable?

]-----Original Message-----
From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 1:21 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [mfg-smartcam] Automatic file naming using a macro help


Yes, you can extract file names and paths from the planner. You can also
extract various values to build a string. First you have to look at what
information is available in the planner. Viewing one in a text editor may
help. Then you must determine how you would like to use it to build your
file string.

=============================================
 Fred Lauzus, CAM Programming Coordinator
 High Steel Structures, Incorporated
 mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
 



-----Original Message-----
From: Michael Senack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 12:04 PM
To: 'Lauzus, Frederick'; '[EMAIL PROTECTED]'
Subject: RE: [mfg-smartcam] Automatic file naming using a macro help


Use the Data Tag nc_file from the Job Operations Setup???

Open the appropriate BASEITEM and evaluate the file name as a string
variable? If that is possible?

Hmmm...maybe the user input is the better way togo.

-----Original Message-----
From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [mfg-smartcam] Automatic file naming using a macro help


The string that makes up the path must be based on something. Where is this
information to come from if not from a user input?

=============================================
 Fred Lauzus, CAM Programming Coordinator
 High Steel Structures, Incorporated
 mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
 



-----Original Message-----
From: Michael Senack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 10:02 AM
To: '[EMAIL PROTECTED]'
Subject: [mfg-smartcam] Automatic file naming using a macro help


In the sample macro below is there a way to have it automatically
assign the Drive, Path and Filename to a string variable.
i.e.: w:\ag4000\ag4052

Then have it save the file using the 
SAVE[FN="string variable goes here", FT=0, GS=1, WP="XY_PLANE"]

Can this be done with no user input via the PAUSE or PROMPT commands.


// Advanced_Wedm 11.5 Windows 10/16/98 16:48:10 Macro File
// w:\mcl\1.mcl
// CREATED: 06/28/01
//  
//  
MAC_EXE[FN="w:\\mcl\\showtool.mcl"]// F6

MAC_EXE[FN="w:\\mcl\\selectal.mcl"]// F3

SAVE[FN="W:\\AG4000\\ag4052d", FT=0, GS=1, WP="XY_PLANE"]

Once again any help is appreciated.

Regards,

Michael Senack, CNC Programmer
Blount Canada Ltd
505 Edinburgh Road North
Guelph Ontario
N1H 6L4
519 822 6870 X354
FAX 519 822 1450

http://www.blount.com/

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