Each time the utility is run, the conversion settings (including the input and output folders as well as all the conversion parameters) are saved for the next time it is run. If this utility will be run with a soft key in the MachineMate CNC then the appropriate .bat file should be copied to the C:\Install folder. Three .bat files are included in this distribution. The CNC requires the intermediate .bat step to run a variety of Windows-based software programs. The following procedure for configuring a user-defined soft key for the CNC requires the .bat be in a folder/path with no spaces so the \Program Files\ directory tree commonly used for Windows software installations is not suitable. To configure the MachineMate CNC to have a soft key (a suggestion: INFO, F7) to invoke this utility: 1. Select the desired mode (like INFO) 2. Simultaneously press the Ctrl and T keys on the PC keyboard. This brings up a reminder box in the upper left that another Ctrl-T will cancel this operation of adding a soft key. 3. Select the desired soft key on the MachineMate front panel (F1 to F8). On a PC keyboard, this is done by simultaneously pressing the Alt and number key (like Alt-7 for the F7 on the front panel). 4. This selection brings up the dialog to define a new soft key to operator interface. 5. Select Run from the function list. 6. Tab to the Name of key and enter the desired Soft key name (like Program Convert). 7. Tab to the Title of key and enter the desired Soft key tool tip (like Program Convert Utility). 8. Click on OK to complete this soft key definition 9. This selection of the Run function brings up another dialog to define what function will be run. 10. For the Executable entry, click on the Browse button and navigate to the .bat file to be used. It must be to a path with no spaces, such as C:\Install\convert.bat. (If a screen resolution other than 1024x768 is in use, then please select the appropriate .bat file.). Click on Open to select the correct file. 11. Click on OK button to close the dialog (no Arguments, no Working directory). After this soft key configuration is done, a manual edit of a MachineMate CNC configuration file is required to complete the task. 1. Exit the CNC software (System - F8) 2. Open Windows Explorer 3. Navigate to C:\Program Files\MM\Hmi\usr\ folder. 4. Double-click on hmiframe.ini to edit it with Windows Notepad. 5. In this file, find [run] and then the following line that starts with 1=. 6. The line should be just the .bat file selected in the sequence above, like: 1=C:\Install\convert.bat$$ 7. This line must be edited to change the way the .bat is run by the CNC. Eighteen characters are inserted after the = and the last $ is deleted. With this .bat example, the final result should look like: 1=cmd$/c start /min C:\Install\convert.bat$ After this task is completed, the operator can restart the CNC and now the Part Program Conversion utility can be run directly from a soft key in the MachineMate. To perform a conversion of a part program written for another control, the operator would start the utility by selecting the assigned soft key and then: 1) If necessary, select the correct folder for the input part program file(s) using the F1 soft key. The dialog allows the default folder to be changed. Press F8 on the correct folder selection. 2) If necessary, select the correct folder for the output part program file(s) using the F2 soft key. The dialog allows the default folder to be changed. Press F8 on the correct folder selection. 3) Select the options for the part program conversion process using the F4 soft key. The dialog allows the parameters to be changed. Press F1 to get help (descriptions) for the respective parameters. Press F8 to accept any changes to the conversion selections. 4) Select the correct input part program by the F5 soft key. The dialog allows a particular file to be selected, using the up/down cursor keys or a mouse. 5) Upon the file selection and the press of Enter (or a click on Save button), the file will be displayed in the left pane of the display. 6) Select the correct output part program by the F6 soft key. The dialog allows a particular file to be entered. Alternately, an existing file (perhaps the output of a previous conversion) can be selected using the up/down cursor keys or a mouse. 7) Upon the file selection and the press of Enter (or a click on Save button), the input file will be processed into the output file. 8) Press Enter (or click on OK button) to close the conversion dialog. 9) The output part program file will be shown in the right pane of the display. Both program windows can be scrolled as needed. 10) Press or select the F8 soft key to close the utility. User note: If this utility will be used to convert programs from only one other control type then after the installation check the readme-lock.txt for information on locking a single target. A number of zip files are included. They provide extra files to address particular contexts. Each zip includes a readme file with its information. There are zip files for the Bendix5 or Teammate2 conversions, to meet unique requirements. There are also zipped files for Fanuc-style macro conversions; one set (fanucmacros.zip) requires a compile cycle dll that supports a number of #parameter conversions (including all axis data) while the other sets do not (fanucmacros-noccp.zip and ctmacros.zip). For those conversions using the G28-G30 move to/from reference point macros but no #parameter conversions are required, use the 'noccp' set. The difference between the 'noccp' set and the 'ct' set is the CT configuration has the block of reserved cycle parameters starting at 100 while the 'noccp' set has them starting at 10 (the default used in our manuals). In all cases, the reference point positions must be manually edited in the associated subprograms (for G28, G30P2-P4). There is another zip file (othersubs.zip) with the subprograms to handle a G-code's move in machine coordinates (available on some controls). Note a DOS compatible version of this utility is also available in a separate distribution (useful for a 'batch' of conversions). Any comments about the conversion utility can be forwarded to: MachineMate Inc. phone: 920-907-0001 email: info@machinemate.com