Homag WoodWop 4, 5, 6, 7 and 8 setup

 

Notes for set up of Homag Machining centre

 

WoodWop V4 > V8 has an MPR file format and some extra functions. This is used with the NC generator as supplied by Homag, called NCWEEKE.EXE.

 

In order to transfer part drawings to Homag WoodWop V4 > V8 (MPR/X) set the following machining centre parameter to a value of 8.

 

Transfer Method    8

 

Batch file setup - A batch file (MCWW40.BAT) is created in the PROGRAM directory. The user needs to create a file (MCWW40.CTL) in the user profile with formatting information for this file.

 

For example:-

 

CD \PROGRAMS\WW40

 

NCWEEKE.EXE -n=D:\DATA\[FILE].MPR -a=[FILE]

 

There may be several lines which are copied directly to the MCWW40.BAT. This may be necessary for example if NCWEEKE only runs from its own directory. These lines are identified by not having the [FILE] token in them.

 

This information is copied to the batch file once for each part created. [FILE] is replaced by the actual filename not including path or extension. For example:-

 

C:

CD \PROGRAMS\WW40

NCWEEKE.EXE -n=D:\DATA\00032001.MPR -a=00032001

NCWEEKE.EXE -n=D:\DATA\00032002.MPR -a=00032002

NCWEEKE.EXE -n=D:\DATA\00032003.MPR -a=00032003

 

See your Woodwop documentation for precise configuration.

 

Homag machining centre - error messages lost during transfer - When a batch of part drawings is passed to WoodWOP(4,5,6,7) for generation of program files a DOS batch file is created (MCWW40.BAT) containing a list of all the files to be processed. This gets around the absence of a wildcard facility with the NCWEEKE program. The NCWEEKE program produces an error file of the name NC_ERROR.DAT. Because the error filename is fixed, this is overwritten each time NCWEEKE is called. NCWEEKE is called once for each part drawing , meaning that serious errors may be lost. To cope with this the DOS batch control file MCWW40.CTL is amended to allow more than 1 line to be written to MCWW40.BAT for each part drawing.

 

Explanation of CTL file :- In MCWW40.CTL all lines before the first line with [FILE] in are header lines. The remaining lines are written out for each part which is transferred, with all [FILE] references replaced with the name of the MPR file produced.

 

This facility allows copying or appending the error file after each transfer to a differently named file. For example:-

 

MCWW40.CTL file:

 

D:

CD\WW4\A1

DEL MCWW40.ERR

DEL NC_ERROR.DAT

NCWEEKE.EXE -N=D:\WW4\A1\MP4\[FILE].MPR -A=[FILE]

TYPE NC_ERROR.DAT >> MCWW40.ERR

 

First four lines of above only written once to create a header in MCWW40.BAT. The rest are repeated, substituting [FILE] with a part number.      

 

Sample batch file created:

 

D:

CD\WW4\A1

DEL MCWW40.ERR

DEL NC_ERROR.DAT

NCWEEKE.EXE -N=D:\WW4\A1\MP4\00006001.MPR -A=00006001

TYPE NC_ERROR.DAT >> MCWW40.ERR

NCWEEKE.EXE -N=D:\WW4\A1\MP4\00006002.MPR -A=00006002

TYPE NC_ERROR.DAT >> MCWW40.ERR

 

Alternatively, instead of appending all errors to the one MCWW40.ERR file an option is to copy the errors to a unique name by changing the last line in the CTL file.

 

COPY NC_ERROR.DAT [FILE].ERR

 

Running Woodwop - Double clicking on an MPR file in the part library or Review machining runs the program associated with MPR files. If Woodwop has been installed this program that runs when an MPR is selected. The splash screen only appears when the Woodwop program is first run. Selecting another MPR file in either the part library or Review machining displays this file in the Woodwop program without having to re-start it.

 

 

See also