To ensure a successful migration TNC 426/430 -> iTNC530, proceed as follows:


* Check machine parameter MP 4020 (PLC compatibility) with the MigMP.exe utility. 

 a) The settings for compatibility between PLC and TNC 407/415/425 are not
    supported any longer.
    If one of the bits below is set, the PLC program must be 
    modified accordingly.
  - Bit 0: Transfer words (W1024 and following) into markers.
  - Bit 1: Transfer interface markers (from M4000) into old interface markers (from M2000).
  - Bit 2: Map configuration bits from MP4310 into the ranges of old markers (M2192 to M2239 and
           M3200 to M3263).
  - Bit 3: Error markers from the range M2924 to M3023 are available.
  - Bit 4: Remanent markers in the range M1000 to M1999.

 b) With the iTNC530, the counters are not programmed in PLC cycles any longer, but in seconds 
    (resolution in milliseconds).
    If you want to retain the old behavior, proceed as follows:

 c) Timer machine parameters:

    MP 4110.0 - 4110.47 : Standard timers; these are started with start markers T0 - T47 or module 
                          9006; status in T48 - T95; 
                          Entry in seconds (resolution in milliseconds) instead of cycles.
                           
 d) Edit the "Linear path for lubrication pulse" machine parameter.

    Machine parameter MP4060 (linear path for lubrication pulse in [mm]) has been replaced by 
    machine parameter MP4050 (linear path for lubrication pulse in [m]).
    (Entry: 0 to 99999.999 [m]).


* Translate the PLC program with #pragma migtest 

  You must enter following lines in the main source file for migration test:
	
  #pragma migtest 
  #define /g nc_mig.def
	
  You can find the nc_mig.def file in the PLC\SYSTEM directory
  
  Compile your project with option "Test symbol conflicts", 
  to get warning messages as in the following sample:

	 PLCCOMP V4.0G  (c) copyright 1993-2000  DR. JOHANNES HEIDENHAIN GmbH
	 
	Including NC_MIG.DEF
	File : TEST.SRC      Line : 9   
	  W3116: iTNC530 migration warnung: iTNC530 expects ".SK" soft key file format
	File : TEST.SRC        Line : 4   
	File : NC_MIG.DEF    Line : 21  
	  W3115: iTNC530 migration warning: Mixed Byte/Word/Doubleword access
	Compiling TEST.SRC  -> ok
 
* Process migration warnings.

* Convert previous PLC soft keys (.PIC) into new binary format (.sk) using the soft-key editor:
  - Set format to iTNC640x480.
  - Select the "File/Import" menu item.
  - Select the PIC file.

  Note: Be sure to transfer .sk files as binary data to the control, if you use stand alone 
        transfer tools (e.g. PLClsv2.exe or TNCcmd.exe with /b switch in TPJ file)!

* If you use mask files for the large PLC window, you can use the command line tool
  MaskConvert to automatically adapt the coordinates to the larger screen resolution
  (1024x786) of the iTNC 530 control.
  A brief description on using the mask converter is in the file MaskConvert.txt

* If you have used .vec files in the mask files (GRAPHICS command), the .vec files must be
  converted from the original .DXF format into the new .he format, using the command line tool
  DXF2Help.exe (replaces the DOS tool dxf2vec.exe).
