TNC124converter brief description
================================

Version 1.0

Contents
========

1. General information
2. Program call
3. Exit codes
4. Examples
5. What's new?
6. OSS information

1. General information
======================

TNC124converter is a command-line tool for converting NC programs for the TNC124
to the TNC128.
It converts existing NC programs of the TNC124 so that they can run on the
TNC128.

There is a restriction regarding those programs that contain hole-pattern cycles
5, 6 or 7. These cannot be converted automatically.
In this case the NC program is generated with error messages, which must be
resolved by the user with the TNC128.

Enter ?, -h or /h for an overview of functions.



2. Program call
===============

TNC124converter.exe <input file>

This call starts the converter and loads the indicated NC program for
conversion. The converted program is output to a file with the name of the
source file and the file extension conv.h. Also, a log file is created
automatically. This file has the name of the source file and the file extension
.log. Error messages and the conversion status (succeeded, incomplete or failed)
are entered in the log file.

You can use additional parameters to specify any name for the output file and/or
the log file:

TNC124converter.exe <input file> -o<output file name>.h -l<log file name>.log



3. Exit codes
=============

As default, the following exit codes are reported to a calling program/batch:

0 : No error occurred
1 : Warning
2 : Error
3 : Missing or invalid arguments



4. Examples
===========

Examples of command line calls:
-------------------------------
  TNC124converter h:\1234.h -oh:\1234conv.h -lh:\1234.log

  TNC124converter -ver

  TNC124converter -h



5. What's new?
==============

Version 1.0, 30.04.2013
=======================
Initial version


6. OSS information
==================

TNC124converter was created using open source software.
The following license applies for this:

FlexLexer:

Copyright (c) 1993 The Regents of the University of California.
All rights reserved.

This code is derived from software contributed to Berkeley by
Kent Williams and Tom Epperly.

 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:

 1. Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.

 Neither the name of the University nor the names of its contributors
 may be used to endorse or promote products derived from this software
 without specific prior written permission.

 THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
 IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 PURPOSE.
