*-----------------------------------------------------------------------------
*  Configuration file to compile source code on TNC
*-----------------------------------------------------------------------------

*-----------------------------------------------------------------------------
*  Non volatile marker and byte range
*-----------------------------------------------------------------------------

REMBYTEMIN = 0
REMBYTEMAX = 255
;REMMARKERMIN = 0
;REMMARKERMAX = 150

*-----------------------------------------------------------------------------
*  Variables for conditional compilation
*-----------------------------------------------------------------------------

DEFINE $iTNC530$
DEFINE $340420$
DEFINE $VARIANT$=34042006

*-----------------------------------------------------------------------------
*  EUMACH
*  Function for nominal position as actual position (MP4000.1)
*
*    MP4000.0 = 0, 4, 5, 6, 9, 10, 11, 15
*           0: Function disable
*           4: Function enable for 4th axis
*           5: Function enable for 5th axis
*           6: Function enable for 6th axis
*           9: Function enable for 4th & 5th axes
*          10: Function enable for 4th & 6th axes
*          11: Function enable for 5th & 6th axes
*          15: Function enable for 4th, 5th,& 6th axes
*
*    symbols for source code:
*    MP4000.1 = x -> NaA = x (NaA -> NOML_as_ACTL)
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "NaA=?" to define axis nominal
*      position as actual position.  If there are several definitions, use ","
*      sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE NaA = %MP4000.1%

*-----------------------------------------------------------------------------
*  EUMACH
*  Safety mode (MP4000.2)
*
*    MP4000.2:                0 1 2 3 4 5 6 7 8 9
*
*    without safety mode      X   X X X X X X X
*    standard safety mode       X
*    DMx safety mode                            X
*
*    symbols for source code:
*    MP4000.2 = x -> SFM = x (SFM -> Safety_mode)
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "SFM=?" to define
*      safety mode type.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE SFM = %MP4000.2%

*-----------------------------------------------------------------------------
*  EUMACH
*  Working area monitoring (MP4000.3)
*
*    MP4000.3:                            0 1 2 3 4 5 6 7 8 9
*
*    without working area monitoring      X     X X X X X X X
*    square rotary table protection         X
*    rectangular rotary table protection      X
*
*    symbols for source code:
*    MP4000.3 = x -> WAM = x
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "WAM=?" to define working area monitoring
*      type.  If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE WAM = %MP4000.3%

*-----------------------------------------------------------------------------
*  EUMACH
*  Machine_panel & handwheel panel, and additional panels (MP4000.4)
*                                                         1 1 1	1 1
*    MP4000.4:                       |0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|
*                                    | | | | | | | | | | | | | | | |
*    - reserved                      | | |X| | | | | | |X|X| |X|X| |
*                                    | | | | | | | | | | | | | | | |
*    ===machine panel===============================================
*    - MB620                         |X| | |X| | | |X| | | | | | | |
*    - MB720                         | |X| | |X| | | |X| | |X| | |X|
*    - TE745                         | | | | | |X|X| | | | | | | | |
*    - spindle start/stop            |X|X| | | | | | | | | |X| | | |
*    - M03/M04/M05                   | | | |X|X|X|X|X|X| | | | | |X|
*    - override knobs                |2|2| |2|2|3|2|2|2| | |2| | |2|
*    - S% -> FMAX% override knob     | | | | | | | | | | | |X| | |X|
*    - S+%/S100%/S-%                 | | | | | | | | | | | |X| | |X|
*    ===handwheel panel=============================================
*    - NC start/NC stop/S start      |X|X| | | | | | | | | |X| | | |
*    - NC start/NC stop/S stop       | | | |X|X|X|X| |X| | | | | |X|
*    ===additional panels===========================================
*    - IPC 61x0 + TE6x0              | | | | | | | |X| | | | | | | |
*    - wireless handwheel            | | | | | | | |X| | | | | | | |
*    - additional MB620              | | | | | | | |X| | | | | | | |
*    - additional NC START/STOP      | | | | | | | | |X| | | | | | |
*    - door lock/safety confirmation | | | | | | | | |X| | | | | | |
*    ===============================================================
*
*    symbols for source code:
*    MP4000.4 = x -> PNL = &Panel_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "PNL=?" to define machine panel type.  If
*      there are several definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE PNL = %MP4000.4%

*-----------------------------------------------------------------------------
*  EUMACH
*  Hydraulic System (MP4000.5)
*
*    MP4000.5 =                             0|1|2|3|4|5|6|7|8
*                                            | | | | | | | |
*    without hydraulic system               X| | | | | | | |
*                                            | | | | | | | |
*    hydraulic motor 1                       | | | | | | | |
*      motor overload signal                 |X|X|X|X|X|X|X|X
*      oil pressure switch                   |X|X|X|X|X|X| |X
*      oil level switch                      |X|X| |X| | | |
*      oil filter sensor                     | | |X| | | | |
*      oil temperature sensor                | | | | | | | |
*      valve high/low pressure sensor        | | | |X| | | |
*      gravity axis counter-balancing        |X| | |X| | | |
*      motor on/off by oil pressure          | | |X| |X| | |
*      motor on/off by oil pressure & timer  | | | | | |X| |
*                                            | | | | | | | |
*    hydraulic motor 2                       | | | | | | | |
*      motor overload signal (NOTE1)         | | | | | | | |X
*      oil pressure switch                   | | | | | | | |X
*      oil level switch                      | | | | | | | |
*      gravity axis counter-balancing        | | | | | | | |X
*      gravity axis over pressure sensor     | | | | | | | |X
*      tool & axes clamping/unclamping       | | | | | | | |X
*      motor on/off by oil pressure          | | | | | | | |X
*
*    NOTE1: Serial connected with hydraulic motor 1
*
*    symbols for source code:
*    MP4000.5 = 0  -> HYD = &inactive
*    MP4000.5 = xx -> HYD = &HYD_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "HYD=?" to define hydraulic_system.
*      If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE HYD = %MP4000.5%

*-----------------------------------------------------------------------------
*  EUMACH
*  Guard Locking Device (MP4000.6) --- TVMC Series and MB Series with Partition
*                                      Only
*
*    MP4000.6 =                     00 01 02 03 04 05
*
*    without guard locking device    X        X  X  X
*    ELAN                               X
*    EUCHNER                               X
*
*    symbols for source code:
*    MP4000.6 = 0  -> GDSW = &inactive
*    MP4000.6 = xx -> GDSW = &guard switch brand name
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "GDSW=?" to define guard locking device.
*      If there are several definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE GDSW = %MP4000.6%

*-----------------------------------------------------------------------------
*  EUMACH
*  Automatic Door System
*    MP4000.7 =                       |0|1|2|3|4|5|
*                                     | | | | | | |
*    - without automatic door systemp |X| |X|X|X|X|
*    - TVMC                           | |X| | | | |
*                                     | | | | | | |
*    ==============================================
*    - mechanical safety protection   | |X| | | | |
*    - optical safety protection      | | | | | | |
*    ==============================================
*
*    symbols for source code:
*    MP4000.7 = 0  -> ADS = &inactive
*    MP4000.7 = xx -> ADS = &ADS_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "ADS=?" to define automatic door system.
*      If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE ADS = %MP4000.7%

*-----------------------------------------------------------------------------
*  EUMACH
*  1st Axis Lubrication System (MP4000.8)
*
*    MP4000.8 =                       00 01 02 03 04 05 06 07 08 09 10 11
*
*    - without lubrication system      X              X  X  X  X  X
*    - Oil lubrication (simple)           X     X
*    - Oil lubrication (pressure)            X     X
*    - Grease lubrication (pressure)                                 X  X
*
*    - pressure switch                       X     X                 X  X
*    - level switch                          X     X
*    - for X, Y, and Z axes               X  X                       X
*    - for X axis only                          X  X                    X
*
*    symbols for source code:
*    MP4000.8 = 0  -> LUB = &inactive
*    MP4000.8 = xx -> LUB = &LUBE_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "LUB=?" to define axis lubrication
*      system.  If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE LUB = %MP4000.8%

*-----------------------------------------------------------------------------
*  EUMACH
*  High-speed Spindle System (MP4000.10)
*
*    - rear bearing temperature monitoring -------------------+
*    - CYTEC CYCON control ---------------------------------+ |
*    - rotary joint cooling circulation ------------------+ | |
*    - tool clamped -> solenoid off --------------------+ | | |
*    - analog tool unclamped sensor ------------------+ | | | |
*    - analog tool clamped sensor ------------------+ | | | | |
*    - Grease/Oil-air lubrication (G/O) ----------+ | | | | | |
*    - Digital/Analog drive (D/A) --------------+ | | | | | | |
*    - Asynchronous/Synchronous motor (A/S) --+ | | | | | | | |
*    - MP4000.10 = ------------------------+  | | | | | | | | |
*                                          |  | | | | | | | | |
*    - without high-speed spindle ....... 000|-|-|-|-|-|-|-|-|-|
*    - NEO (INDRAMAT 1MB160) ............ 001|A|D|G| | | | | | |
*    - NEO (INDRAMAT MBS162) ............ 019|S|D|G| | | | | | |
*    - NEO (INDRAMAT MBS162/MBS202)...... 020|S|D|G|X|X| | | | |
*    - WEISS asynchronous motor (reserved)021|A| | | | | | | | |
*    - WEISS 2SP1204-1Hxxx -xxD or -xxH . 039|S|D|G| | | | | | |
*    - WEISS 2SP1204-1Hxxx -xxF or -xxG . 040|S|D|G|X|X| | | | |
*    - PERON SPEED TCV-6-SP/DIS-671-00 .. 041|A|D|G|X|X| | | | |
*    - PERON SPEED TCV-6-SP/DIS-2457-00 . 041|A|D|G|X|X| | | | |
*    - PERON SPEED TCV-3/DIS-1583 ....... 042|A|D|O| | | | | | |
*    - PERON SPEED TCV-230-SP/DIS-2375-00 043|A|D|G| | | | | | |
*    - PERON SPEED TCV-6-SP/DIS-2611-00 . 043|A|D|G| | | | | | |
*    - PERON SPEED TCV-320-SP/DIS-2652-00 051|A|D|G|X|X| | | |X|
*    - PERON SPEED TCV-238-SP/DIS-1198 .. 060|S|D|G| | | | | | |
*    - CYTEC CS/xxxx/021W/120F-xxxx ..... 061|A|D|G| | | | |X| |
*    - CYTEC CS/xxxx/021W/120F-xxxx ..... 062|A|D|G|X| |X|X| | |
*    - CYTEC CS/xxxx/021W/180F-xxxx ..... 080|A|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/027W/120F-xxxx ..... 080|S|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/034W/100F-xxxx ..... 080|S|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/041W/070F-xxxx ..... 080|S|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/042W/075F-xxxx ..... 080|A|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/050W/150F-xxxx ..... 080|A|D|G|X| |X| | | |
*    - CYTEC CS/xxxx/034W/070F-xxxx ..... 081|S|D|G| | |X| |X| |
*    - ROYAL RE4064 (1FE1083-4WN11) ..... 100|S|D|G| | | | | | |
*    - MICROLAB M3-LMS-CTS24 ............ 191|A|D|G| | | | | | |
*    - FAEMAT FA  160 C.U.V. ............ 296|A|D|G| | | | | | |
*    - FAEMAT FAI 250 C.U.V. ............ 298|A|D|O| | | | | | |
*    - FAEMAT FA  110 CUS ............... 299|A|A|O| | | | | | |
*
*    symbols for source code:
*    MP4000.10 = 0   -> HSS = &inactive
*    MP4000.10 = xxx -> HSS = &HS_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "HSS=?" to define high speed spindle type.
*      If there are several definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE HSS = %MP4000.10%

*-----------------------------------------------------------------------------
*  EUMACH
*  Coolant through spindle tank system (MP4000.11)
*
*    MP4000.11 =                               00 01 02 03 04 05 06 07
*
*    - without CTS tank                         X        X
*    - CTS tank <= 20 bar (EUMACH)                 X
*    - CTS tank <= 20 bar (EUMACH)                    X
*    - CTS tank > 20 bar (LIS)/(CS)                         X
*    - CTS tank < 70 bar (LIS)/(CS)                            X  X  X
*
*    - CTS level overflow sensor                               X  X  X
*    - CTS level high sensor                       X  X     X  X  X  X
*    - CTS level low sensor                        X  X     X  X  X  X
*    - CTS tank inlet pressure sensor (NOTE1)               X  X  X  X
*    - M08 tank to CTS tank motor                  X  X     X  X  X  X
*    - Coolant refilled while M07 (NOTE2)             X     X
*    - M08 high pressure motor on CTS tank                        X
*    - M08 normal pressure motor on CTS tank                         X
*
*    NOTE1: When paper filter device is used, there will be no CTS tank inlet
*           pressure sensor.
*    NOTE2: In this case, the overflow pipe position is lower than the CTS
*           level high sensor but higher than the CTS level low sensor.  For
*           other case, the overflow pipe position is higher than the CTS level
*           high sensor.
*
*    symbols for source code:
*    MP4000.11 = 0  -> M7TK = &inactive
*    MP4000.11 = xx -> M7TK = &CTS_tank_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "M7TK=?" to define CTS tank system.
*      If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE M7TK = %MP4000.11%

*-----------------------------------------------------------------------------
*  EUMACH
*  Additional Spindle Head (MP4000.12)
*
*  V/H head: vertical/horizontal spindle head
*
*    MP4000.12 =                        00 01 02 03 04 05 06 07 08 09 10
*
*    - without additional S head         X        X  X        X  X
*    - ITRI automatic V/H head (45D)        X  X
*    - Gong Yang manual S head (90D)                    X
*    - Emena manual S head (45D)                           X
*    - SEMPUCO manual S head (45D)                                  X
*    - ITRI manual S head (45D)                                        X
*
*    - M03/M04 direction(NOTE1)             +  +           -        -  +
*    - tool clamped sensor                  X  X                       X
*    - tool unclamped sensor(NOTE2)         X  X          (X)       X  X
*    - tool clamping valve(NOTE2)           X  X          (X)      (X)(X)
*    - tool unclamping valve                X  X           X        X  X
*    - head coupling clamped sensor         X  X
*    - head coupling unclamped sensor       X  X
*    - head coupling clamping valve         X  X
*    - head coupling unclamping valve       X  X        X
*
*    - encoder on B axis of V/H head           X
*
*    NOTE1:
*      +: M03/M04 direction same for with head and without head
*      -: M03/M04 direction reversed for with head and without head
*    NOTE2:
*      (): valve may not existing
*
*    symbols for source code:
*    MP4000.12 = 0  -> Head = &inactive
*    MP4000.12 = xx -> Head = &S_head_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "Head=?" to define S_head.  If there
*      are several definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE Head = %MP4000.12%

*-----------------------------------------------------------------------------
*  EUMACH
*  Thermal Compensation Function (MP4000.15)
*
*    MP4000.15 = 0 : BASIC PROGRAM linear thermal compensation with machine parameters
*    MP4000.15 = 1 : PMC thermal compensation module (8-bit for data + 1-bit for +/- sign)
*    MP4000.15 = 2 : PMC thermal compensation module (11-bit for data + 1-bit for +/- sign)
*    MP4000.15 = 5 : BASIC PROGRAM thermal compensation table
*
*    symbols for source code:
*    MP4000.15 = xx -> Tcmp = &T_comp_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "Tcmp=?" to define thermal compensation type.
*      If there are several definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE Tcmp = %MP4000.15%

*-----------------------------------------------------------------------------
*  EUMACH
*  2nd Axis Lubrication System (MP4000.23)
*
*    MP4000.23 =                      00 01 02 03 04 05 06 07 08 09 10 11
*
*    - without 2nd lubrication system  X        X  X  X  X  X  X  X
*    - Oil lubrication (simple)           X
*    - Oil lubrication (pressure)            X
*    - Grease lubrication (pressure)                                 X  X
*
*    - pressure switch                       X                       X  X
*    - level switch                          X
*    - for Y axis only                    X  X                       X
*    - for Y and Z axes                                                 X
*
*    symbols for source code:
*    MP4000.23 = 0  -> LUB2 = &inactive
*    MP4000.23 = xx -> LUB2 = &LUBE2_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "LUB2=?" to define 2nd axis lubrication
*      system.  If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE LUB2 = %MP4000.23%

*-----------------------------------------------------------------------------
*  EUMACH
*  3rd Axis Lubrication System (MP4000.24)
*
*    MP4000.24 =                      00 01 02 03 04 05 06 07 08 09 10 11
*
*    - without 3rd lubrication system  X        X  X  X  X  X  X  X
*    - Oil lubrication (simple)           X
*    - Oil lubrication (pressure)            X
*    - Grease lubrication (pressure)                                 X  X
*
*    - pressure switch                       X                       X  X
*    - level switch                          X
*    - for Z axis only                    X  X                       X
*    - for V axis (axis 7) only                                         X
*
*    symbols for source code:
*    MP4000.24 = 0  -> LUB3 = &inactive
*    MP4000.24 = xx -> LUB3 = &LUBE3_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "LUB3=?" to define 3rd axis lubrication
*      system.  If there are several definitions, use "," sign to separate each
*      definition.
*-----------------------------------------------------------------------------

DEFINE LUB3 = %MP4000.24%

*-----------------------------------------------------------------------------
*  EUMACH
*  OEM Cycle (MP4000.29)
*
*    MP4000.29 =          00 01 02 03 04 05
*
*    - without OEM cycles  X
*    - OEM cycle 332          X
*
*    symbols for source code:
*    MP4000.29 = xx  -> CYCL = &CYCLE_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "CYCL=?" to define the type of OEM cycle
*      measuring system.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE CYCL = %MP4000.29%

*-----------------------------------------------------------------------------
*  EUMACH
*  Tool Measuring System (MP4000.30)
*
*    MP4000.30 =                        00 01 02 ... 10 11 12
*
*    - HEIDENHIAN TT probe system        X            X
*    - BLUM laser system                    X            X
*    - RENISHAW laser system                   X            X
*
*    - out of machining traverse(NOTE1)               X  X  X
*    - protected by ATC door                          X  X  X
*
*    NOTE1: Traverse range 1 (LIMIT 1) is for machining traverse,
*           traverse range 3 (LIMIT 3) is for tool measuring travese.
*
*    symbols for source code:
*    MP4000.30 = xx  -> TLM = &TLM_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "TLM=?" to define the type of tool
*      measuring system.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE TLM = %MP4000.30%

*-----------------------------------------------------------------------------
*  EUMACH
*  Soft Key Menu (MP4000.31)
*
*    MP4000.31 =                        0|1|2|3|4|5|6|7|8|9|10|11
*    With tool loading SK----------------|-|-|-|-|-|-|-|-|-|--|--
*    - standard                         X| | | | | | | | | |  |
*    - 3D head                           |X| | | | | | | | |  |
*    - TVMC                              | |X| | | | | | | |  |
*    - reserved                          | | |X| | | | | | |  |
*    - EBM with working area monitoring  | | | |X| | | | | |  |
*    - reserved                          | | | | |X| | | | |  |
*    Without tool loading SK-------------|-|-|-|-|-|-|-|-|-|--|--
*    - standard                          | | | | | |X| | | |  |
*    - 3D head                           | | | | | | |X| | |  |
*    - TVMC/MB with partition            | | | | | | | |X| |  |
*    - DVM with additional manual head   | | | | | | | | |X|  |
*    - EBM with working area monitoring  | | | | | | | | | | X|
*    - TVMC/MB with partition (dual TC)  | | | | | | | | | |  | X
*
*    symbols for Softkey_BMX.SPM file (not for source code):
*    MP4000.31 = xx  -> SK = "xx"
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "SK="?"" to define the type of soft
*      key menu.  If there are several definitions, use "," sign to separate
*      each definition.
*-----------------------------------------------------------------------------

DEFINE SK = %MP4000.31%

*-----------------------------------------------------------------------------
*  EUMACH
*  Feed motor fan overloaded message (MP4000.40)
*
*    MP4000.40 = 0, 1, 2, 3, 23, 24, 25, 26
*        0: without message
*        1: message for X axis (1st fan overloaded signal)
*        2: message for Y axis (1st fan overloaded signal)
*        3: message for Z axis (1st fan overloaded signal)
*       23: message for X & Y axes (1st & 2nd fan overloaded signals)
*       24: message for X & Z axes (1st & 2nd fan overloaded signals)
*       25: message for Y & Z axes (1st & 2nd fan overloaded signals)
*       26: message for X, Y, & Z axes (1st & 2nd & 3rd fan overloaded signals)
*
*    symbols for source code:
*    MP4000.40 = 0  -> FMF = &inactive
*    MP4000.40 = xx -> FMF = &FMF_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "FMF=?" to define feed motor fan
*      overloaded message.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE FMF = %MP4000.40%

*-----------------------------------------------------------------------------
*  EUMACH
*  Message for axis location before traverse reference point (MP4000.41)
*  Only for axis reference deceleration signal not at the end of traverse
*  range
*  Example: Tilting axis reference deceleration signal
*
*    MP4000.41 = 0, 51, 52
*        0: without message
*       51: message for 5th axis as A-axis
*       52: message for 5th axis as B-axis
*
*    symbols for source code:
*    MP4000.41 = 0  -> REF = &inactive
*    MP4000.41 = xx -> REF = &REF_type_xx
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "REF=?" to define message for axis
*      location before traverse reference point.  If there are several
*      definitions, use "," sign to separate each definition.
*-----------------------------------------------------------------------------

DEFINE REF = %MP4000.41%

*-----------------------------------------------------------------------------
*  EUMACH
*  Custom kinematics configuration (MP4000.43)
*
*    MP4000.43 =-1 : Function inactive
*
*    symbols for source code:
*    MP4000.43 = xx  -> KC = "xx"
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "KC=?" to define the type of kinematics
*      configuration.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE KC = %MP4000.43%

*-----------------------------------------------------------------------------
*  EUMACH
*  4th axis clamping mode on/off at power-on (MP4000.44)
*  For Hirth coupling axis (MP420.4 = 1), MP4000.44 should always = 0.
*
*    MP4000.44 = 0 -> 4th axis clamping mode on at power-on
*    MP4000.44 = 1 -> 4th axis clamping mode off at power-on
*
*    symbols for source code:
*    MP4000.44 = 0  -> M44 = &inactive
*    MP4000.44 = 1  -> M44 = &active
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "M44=?" to define the type of OEM cycle
*      measuring system.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE M44 = %MP4000.44%

*-----------------------------------------------------------------------------
*  EUMACH
*  5th axis clamping mode on/off at power-on (MP4000.45)
*  For Hirth coupling axis (MP420.5 = 1), MP4000.45 should always = 0.
*
*    MP4000.45 = 0 -> 5th axis clamping mode on at power-on
*    MP4000.45 = 1 -> 5th axis clamping mode off at power-on
*
*    symbols for source code:
*    MP4000.45 = 0  -> M45 = &inactive
*    MP4000.45 = 1  -> M45 = &active
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "M45=?" to define the type of OEM cycle
*      measuring system.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE M45 = %MP4000.45%

*-----------------------------------------------------------------------------
*  EUMACH
*  6th axis clamping mode on/off at power-on (MP4000.46)
*  For Hirth coupling axis (MP420.6 = 1), MP4000.46 should always = 0.
*
*    MP4000.46 = 0 -> 6th axis clamping mode on at power-on
*    MP4000.46 = 1 -> 6th axis clamping mode off at power-on
*
*    symbols for source code:
*    MP4000.46 = 0  -> M46 = &inactive
*    MP4000.46 = 1  -> M46 = &active
*
*  For PLCdesignNT compilation (PLCdesignNT software version: 1.1.17 and after)
*    - Select [Project] pull-down menu.
*    - Select [Settings...] function.
*    - Select [Compiler] function.
*    - In [Definitions] column, key in "M46=?" to define the type of OEM cycle
*      measuring system.  If there are several definitions, use "," sign to
*      separate each definition.
*-----------------------------------------------------------------------------

DEFINE M46 = %MP4000.46%

*-----------------------------------------------------------------------------
*  EUMACH
*  PL62xx 4th Slot Assignment (MP4000.54)
*
*    PLB 6204 4th slot assignment
*    Device    |Empty   |PLD-H 08-16-00
*    ----------|--------|--------------
*    MP4000.54 |6204-4=0|6204-4=8I16O
*
*    PLB 6206 4th slot assignment
*    Device    |Empty   |PLD-H 08-16-00
*    ----------|--------|--------------
*    MP4000.54 |6206-4=0|6206-4=8I16O
*
*    PLB 6208 4th slot assignment
*    Device    |Empty   |PLD-H 08-16-00
*    ----------|--------|--------------
*    MP4000.54 |6208-4=0|6208-4=8I16O
*
*  Only use for block name of IO_CONFIGURATOR file (HSxxxx_xslots.eaz)
*-----------------------------------------------------------------------------

DEFINE %MP4000.54%

*-----------------------------------------------------------------------------
*  EUMACH
*  PL62xx 5th Slot Assignment (MP4000.55)
*
*    PLB 6204 5th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.55 |BLANK (no character/number allowed)
*
*    PLB 6206 5th slot assignment
*    Device    |Empty   |PLD-H 16-08-00
*    ----------|--------|--------------
*    MP4000.55 |6206-5=0|6206-5=16I8O
*
*    PLB 6208 5th slot assignment
*    Device    |Empty   |PLD-H 16-08-00
*    ----------|--------|--------------
*    MP4000.55 |6208-5=0|6208-5=16I8O
*
*  Only use for block name of IO_CONFIGURATOR file (HSxxxx_xslots.eaz)
*-----------------------------------------------------------------------------

DEFINE %MP4000.55%

*-----------------------------------------------------------------------------
*  EUMACH
*  PL62xx 6th Slot Assignment (MP4000.56)
*
*    PLB 6204 6th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.56 |BLANK (no character/number allowed)
*
*    PLB 6206 6th slot assignment
*    Device    |Empty   |PLD-H 16-08-00|PLA-H 08-04-04
*    ----------|--------|--------------|--------------
*    MP4000.56 |6206-6=0|6206-6=16I8O  |6206-6=8I4O4PT
*
*    PLB 6208 6th slot assignment
*    Device    |Empty   |PLD-H 16-08-00
*    ----------|--------|--------------
*    MP4000.56 |6208-6=0|6208-6=16I8O
*
*  Only use for block name of IO_CONFIGURATOR file (HSxxxx_xslots.eaz)
*-----------------------------------------------------------------------------

DEFINE %MP4000.56%

*-----------------------------------------------------------------------------
*  EUMACH
*  PL6208 7th Slot Assignment (MP4000.57)
*
*    PLB 6204 7th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.57 |BLANK (no character/number allowed)
*
*    PLB 6206 7th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.57 |BLANK (no character/number allowed)
*
*    PLB 6208 7th slot assignment
*    Device    |Empty   |PLD-H 16-08-00
*    ----------|--------|--------------
*    MP4000.57 |6208-7=0|6208-7=16I8O
*
*  Only use for block name of IO_CONFIGURATOR file (HSxxxx_xslots.eaz)
*-----------------------------------------------------------------------------

DEFINE %MP4000.57%

*-----------------------------------------------------------------------------
*  EUMACH
*  PL6208 8th Slot Assignment (MP4000.58)
*
*    PLB 6204 8th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.58 |BLANK (no character/number allowed)
*
*    PLB 6206 8th slot assignment
*    Device    |None
*    ----------|----
*    MP4000.58 |BLANK (no character/number allowed)
*
*    PLB 6208 8th slot assignment
*    Device    |Empty   |PLD-H 16-08-00|PLA-H 08-04-04
*    ----------|--------|--------------|--------------
*    MP4000.58 |6208-8=0|6208-8=16I8O  |6208-8=8I4O4PT
*
*  Only use for block name of IO_CONFIGURATOR file (HSxxxx_xslots.eaz)
*-----------------------------------------------------------------------------

DEFINE %MP4000.58%

;DEFINE Soft_key_enable_by_hard_key = "%MP4000.0%"
;DEFINE SIMULATION = %MP4000.1%
;DEFINE %MP4000.2%

*-----------------------------------------------------------------------------
*  Output path for compilation on PC using PLCdesignNT
*-----------------------------------------------------------------------------
;TEMPPATH=TEMP
;OUTPUTPATH=TEST


