% Installation package for E110A1100_TYPE_DEFINITIONS0/B1100/E1250/E1450 Drives 
% Release: Build 20131216
% Date:    16.12.2013
% Copyright 2005-2013, NTI AG.

[D
	/CONST [D:CONST
		/GlobalVersion1100 3
		/GlobalSubVersion1100 19		
		/GlobalBuildInfo1100 'Build 20131216'
		/GlobalString1100 '3.19 Build 20131216'
		/GlobalBetaInfo1100 'b01'		
		
		/GlobalVersion1200 6
		/GlobalSubVersion1200 0
		/GlobalBuildInfo1200 'Build 20131216'
		/GlobalString1200 '6.0 Build 20131216'
		/GlobalBetaInfo1200 'b01'		

%				/RelVersion *GlobalVersion1200
%				/RelSubVersion *GlobalSubVersion1200
%				/RelBuildInfo *GlobalBuildInfo1200
%				/RelString *GlobalString1200
	
		/Global_VerDef_1100 [D
			/RelVersion 3 %*GlobalVersion1100
			/RelSubVersion 19 %*GlobalSubVersion1100		
			/RelBuildInfo 'Build 20131216' %*GlobalBuildInfo1100
			/RelString '3.19 Build 20131216' %*GlobalString1100
			%/GlobalBetaInfo1100 'b01' %*GlobalBetaInfo1100		
		]
		
		/Global_VerDef_1200 [D
			/RelVersion 6 %*GlobalVersion1200
			/RelSubVersion 0 %*GlobalSubVersion1200
			/RelBuildInfo 'Build 20131216' %*GlobalBuildInfo1200
			/RelString '6.0 Build 20131216' %*GlobalString1200
			%/GlobalBetaInfo1200 'b01' %*GlobalBetaInfo1200
		]
		
		/SW_Tree_Version_1100 [D
			/SWVersion 3 %*GlobalVersion1100
			/SWSubVersion 19 %*GlobalSubVersion1100
			/SWBetaInfo 'b01' %*GlobalBetaInfo1100
			/TreeVersion 3 %*GlobalVersion1100
			/TreeSubVersion 19 %*GlobalSubVersion1100				
			/TreeBetaInfo 'b01' % *GlobalBetaInfo1100
		]

		/SW_Tree_Version_1200 [D
			/SWVersion 6 %*GlobalVersion1200
			/SWSubVersion 0 %*GlobalSubVersion1200
			/SWBetaInfo 'b01' %*GlobalBetaInfo1200
			/TreeVersion 6 %*GlobalVersion1200
			/TreeSubVersion 0 %*GlobalSubVersion1200				
			/TreeBetaInfo 'b01' %*GlobalBetaInfo1200
		]
		
		/INTF_CO_DEFINITIONS [D
			/Name 'CanOpen'
			/Caption 'CanOpen'
			/Description 'CanOpen'
			/IntfDir	'Interfaces\CanOpen'		
		] 
		
		/INTF_LINRS_DEFINITIONS [D
			/Name 'LinRS'
			/Caption 'LinRS'			
			/Description 'Protocol for RS232/RS485 communication'
			/IntfDir	'Interfaces\LinRS'
		]
		
		/INTF_DP_DEFINITIONS [D
			/Name 'Profibus'
			/Caption 'Profibus DP'		
			/Description 'Profibus DP'
			/IntfDir 'Interfaces\Profibus'
		] 


		% B1100 DEFINITIONS % B1100 DEFINITIONS % B1100 DEFINITIONS % B1100 DEFINITIONS % B1100 DEFINITIONS
		/B1100_TYPE_DEFINITIONS	[D
			/TypeSupported 1
			/InstallMCSW 1						
			/SupportedDSWVersions [A
				$10
			]		   
			/EloTypeExt 'B1100'
			/IntfTypeExt 'B1100'
			/ApplTypeExt 'B1100'
		]

		/B1100_HW_VERSIONS	[D
			/SupportedHWVersions [A  $0104   $0105   $0106 ]
			/NotSupportedHWVersion [A
				[D /HWVersion $0102 /LastReleaseName 'Firmware V3.9 Build20090630' ]
				[D /HWVersion $0103 /LastReleaseName 'Firmware V3.9 Build20090630' ]
			]
		]
		
		/B1100_GP_INTERFACES_APPLICATIONS [D
			/Interfaces [A  CanOpen   LinRS   DeviceNet   None ]			   	
			/Applications [A  None   EasySteps   Sinoide ]			   	
		]

		/B1100_VF_INTERFACES_APPLICATIONS [D
			/Interfaces [A  None ]			   	
			/Applications [A  EasySteps   None ]			   	
		]

		/B1100_PP_INTERFACES_APPLICATIONS [D
			/Interfaces [A  None ]			   	
			/Applications [A  EasySteps ]			   	
		]
		
		
		
		% B1150 DEFINITIONS % B1150 DEFINITIONS % B1150 DEFINITIONS % B1150 DEFINITIONS % B1150 DEFINITIONS

		/B1150_TYPE_DEFINITIONS	[D
			/TypeSupported 1
			/InstallMCSW 1						
			/SupportedHWVersions [A  $0105   $0106 ]
			/SupportedDSWVersions [A  $10 ]		   
			/EloTypeExt 'B1150'
			/IntfTypeExt 'B1100'
			/ApplTypeExt 'B1100'
			/EasyStepsParExt ''
			/Interfaces [A  MCLink ]			   	
			/Applications [A  None   EasySteps   Sinoide ]			   	
		]
		
		% B8000 DEFINITIONS % B8000 DEFINITIONS % B8000 DEFINITIONS % B8000 DEFINITIONS % B8000 DEFINITIONS

		/B8000ML_TYPE_DEFINITIONS [D
			/TypeSupported 1	
			/InstallMCSW 0
			/SupportedDSWVersions [A  $00 ]		
			/EloTypeExt 'B8000'
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]
		
		/B8000_APPLICATIONS [D
			/Applications [A  None ]			   	
		]
		
		/B8000ML_GP_INTERFACES [D
			/Interfaces [A   CanOpen_GW   None ]		   
		]
		
		/B8050ML_PL_INTERFACES [D
			/Interfaces [A  POWERLINK_ML ]		   
		]
		
		/B8050ML_SC_INTERFACES [D
			/Interfaces [A  SERCOSIII_ML ]		   
		]
		
		/B8050ML_EC_INTERFACES [D
			/Interfaces [A   EtherCAT_ML ]		   
		]
		
		/B8050ML_IP_INTERFACES [D
			/Interfaces [A   EthernetIP_ML ]		   
		]
		
		/B8050ML_PN_INTERFACES [D
			/Interfaces [A  ProfiNet_ML ]		   
		]

		% A1100 DEFINITIONS % A1100 DEFINITIONS % A1100 DEFINITIONS % A1100 DEFINITIONS % A1100 DEFINITIONS
		
		/A1100_TYPE_DEFINITIONS_0S [D
			/TypeSupported 1
			/InstallMCSW 1				
			/PowerExtension 'LC0S'  
			/EloTypeExt 'A1100'
			/OSTypeExt 'SG7'	
			/IntfTypeExt 'SG7'
			/ApplTypeExt 'SG7'
			/EasyStepsParExt ''
			/SupportedHWVersions [A $0102 $0103 $0104 ]
			/SupportedDSWVersions [A $12 ]		   		 
		]

		% C1100 DEFINITIONS % C1100 DEFINITIONS % C1100 DEFINITIONS % C1100 DEFINITIONS % C1100 DEFINITIONS
		
		/C1100_TYPE_DEFINITIONS_0S [D
			/TypeSupported 1
			/InstallMCSW 1				
			/PowerExtension 'XC0S'  
			/EloTypeExt 'C1100'
			/OSTypeExt 'SG7'	
			/IntfTypeExt 'SG7'
			/ApplTypeExt 'SG7'
			/EasyStepsParExt ''
			/SupportedHWVersions [A $0103 ]
			/SupportedDSWVersions [A $12 ]		   		 
		]
		
		/C1100_TYPE_DEFINITIONS_1S [D
			/TypeSupported 1
			/InstallMCSW 1				
			/PowerExtension 'XC1S'  
			/EloTypeExt 'C11001S'
			/UPOSExt 'C1100'
			/OSTypeExt 'SG7'	
			/IntfTypeExt 'SG7'
			/ApplTypeExt 'SG7'
			/EasyStepsParExt ''
			/SupportedHWVersions [A $0103 ]
			/SupportedDSWVersions [A $12 ]		   		 
		]

		/A1100_GP_INTERFACES [D
			/Interfaces [A  CanOpen_A1100 None ] 
		]
		
		/C1100_GP_INTERFACES [D
			/Interfaces [A  CanOpen_C1100 None ] 
		]
		/C1150_EC_INTERFACES_0S [D
			/Interfaces [A  EtherCAT_C1150_0S EtherCAT_SoE_C1150_0S   None ] %   CanOpen_E1200   LinRS_E1200   None ]		   
		]
		/C1150_EC_INTERFACES_1S [D
			/Interfaces [A  EtherCAT_C1150_1S EtherCAT_SoE_C1150_1S   None ] %   EtherCAT_SoE   CanOpen_E1200   LinRS_E1200   None ]		   
		]
		/C1150_PN_INTERFACES [D
			/Interfaces [A  PROFINET_C1150  None ] 
		]
		
		/A1100_APPLICATIONS [D
			/Applications [A  None ]			   	
		]

		/C1100_APPLICATIONS [D
			/Applications [A  None EasySteps_C1x00 ]			   	
		]
			
		% C1200 DEFINITIONS % C1200 DEFINITIONS % C1200 DEFINITIONS % C1200 DEFINITIONS % C1200 DEFINITIONS
		

		/C1200_0S_TYPE_DEFINITIONS [D
			/TypeSupported 1
			/InstallMCSW 1				
			/EloTypeExt 'C1200'
			/IntfTypeExt 'SG6'
			/ApplTypeExt 'SG6'
			/EasyStepsParExt ''
			/SupportedHWVersions [A $0103 $0104 $0105 $0106 $0107 $0108 ]
			/SupportedDSWVersions [A $21 ]		   		 
		]

	
		/C1200_1S_TYPE_DEFINITIONS [D
			/TypeSupported 1
			/InstallMCSW 1				
			/EloTypeExt 'C12001S'
			/UPOSExt 'C1200'
			/OSTypeExt 'C1200'
			/IntfTypeExt 'SG6'
			/ApplTypeExt 'SG6'
			/EasyStepsParExt ''
			/SupportedHWVersions [A $0103 $0104 $0105 $0106 $0107 $0108 ]
			/SupportedDSWVersions [A $21 ]		   		 
		]

%		/C1200_GP_INTERFACES [D
%			/Interfaces [A  None ]	
%		]
%		/C1230_DP_INTERFACES [D
%			/Interfaces [A  Profibus_E1200  None ] %  LinRS_E1200   None ]		   
%		]
		
		/C1250_PL_INTERFACES [D
			/Interfaces [A  POWERLINK  None ] % LinRS_E1200   None ]		   
		]

		/C1250_EC_0S_INTERFACES [D
			/Interfaces [A  EtherCAT_C1250_0S  EtherCAT_SoE  None ] 				%  LinRS_E1200   None ]		   
		]

		/C1250_EC_1S_INTERFACES [D
			/Interfaces [A  EtherCAT_C1250_1S  EtherCAT_SoE  None ] 				%   LinRS_E1200   None ]		   
		]

		/C1250_SE_0S_INTERFACES [D
			/Interfaces [A  EtherCAT_SoE_C1250_0S   EtherCAT_C1250_0S  None ] %   LinRS_E1200   None ]		   
		]
		
		/C1250_SE_1S_INTERFACES [D
			/Interfaces [A  EtherCAT_SoE_C1250_1S   EtherCAT_C1250_1S  None ] %   LinRS_E1200   None ]		   
		]

		/C1250_IP_INTERFACES [D
			/Interfaces [A  EthernetIP   LinUDP  None ] %   LinRS_E1200   None ]		   
		]
		
		/C1250_SC_INTERFACES [D
			/Interfaces [A  SERCOSIII  None ] %   LinRS_E1200   None ]		   
		]

		/C1250_PN_INTERFACES [D
			/Interfaces [A  PROFINET_C1250  None ] %  LinRS_E1200   None ]		   
		]
			
		/C1200_APPLICATIONS [D
			/Applications [A  None   EasySteps_C1x00 ]			   	
		]

		% E1100 DEFINITIONS % E1100 DEFINITIONS % E1100 DEFINITIONS % E1100 DEFINITIONS % E1100 DEFINITIONS

		/E1100_TYPE_DEFINITIONS [D
			/TypeSupported 1
			/InstallMCSW 1					
			/EloTypeExt 'E1100'
			/IntfTypeExt 'E1100'
			/ApplTypeExt 'E1100'
			/EasyStepsParExt ''
		]
			
		/E1100_GP_INTERFACES [D
			/Interfaces [A	CTIOIntf    LinRS   CanOpen   DeviceNet   None ]	
		]
		
		/E1100_RS_INTERFACES [D
			/Interfaces [A  LinRS   None	]			   
		]
		
		/E1100_DN_INTERFACES [D
			/Interfaces [A 	DeviceNet   CanOpen   LinRS   None ]		   		   	
		] 
		
		/E1100_CO_INTERFACES [D
			/Interfaces [A  CanOpen   LinRS   None ]		   		   		
		]

		/E1130_DP_INTERFACES [D
			/Interfaces [A 	 Profibus   LinRS   CanOpen   DeviceNet   None	]		   		   	
		]
		
		/E1100_GP_APPLICATIONS [D
			/Applications [A   None   EasySteps   EasyStepsX6   MasterSlave   AutoStart   Sinoide ]			   	
		]

		/E1100_CRDP_APPLICATIONS [D
			/Applications [A   None   EasySteps   MasterSlave   AutoStart   Sinoide	]			   	
		]
		
		% E1200 DEFINITIONS % E1200 DEFINITIONS % E1200 DEFINITIONS % E1200 DEFINITIONS % E1200 DEFINITIONS
		
		/E1200_UC_TYPE_DEFINITIONS [D
			/TypeSupported 1
			/InstallMCSW 1					
			/SupportedDSWVersions [A  $20 ]		   		 
			/PowerExtension 'UC'  
			/EloTypeExt 'E1200'
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]
		
		/E1200_APPLICATIONS [D
			/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
		]
		
		
		% E1400 DEFINITIONS % E1400 DEFINITIONS % E1400 DEFINITIONS % E1400 DEFINITIONS % E1400 DEFINITIONS
		
		/E1400_QN_TYPE_DEFINITIONS [D
			/TypeSupported 1	
			/InstallMCSW 1
			/SupportedDSWVersions [A  $30 ]		   		 
			/PowerExtension ''  
			/EloTypeExt 'E1400'			
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]
		
		
		/E1400_QN_0S_TYPE_DEFINITIONS [D
			/TypeSupported 1	
			/InstallMCSW 1
			/SupportedHWVersions [A	 $0106 ]
			/SupportedDSWVersions [A  $30 ]		   		 
			/EloTypeExt 'E1400'
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]

		/E1400_QN_1S_TYPE_DEFINITIONS [D
			/TypeSupported 1	
			/InstallMCSW 1
			/SupportedHWVersions [A	 $0106 ]
			/SupportedDSWVersions [A  $30 ]		   		 
			/EloTypeExt 'E14001S'
			/UPOSExt 'E1400'
			/OSTypeExt 'E1400'
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]

		/E1400_GP_INTERFACES [D
			/Interfaces [A  CanOpen_E1200   LinRS_E1200   None ]
		]

		/E1430_DP_INTERFACES [D
			/Interfaces [A  Profibus_E1200   CanOpen_E1200   LinRS_E1200   None  ]		   
		]

		/E1450_PL_INTERFACES [D
			/Interfaces [A  POWERLINK   CanOpen_E1200   LinRS_E1200    None ]		   
		]

		/E1450_EC_0S_INTERFACES [D
			/Interfaces [A  EtherCAT_E1450_0S   EtherCAT_SoE_E1450_0S   CanOpen_E1200   LinRS_E1200   None ]		   
		]
		
		/E1450_EC_1S_INTERFACES [D
			/Interfaces [A  EtherCAT_E1450_1S   EtherCAT_SoE_E1450_1S   CanOpen_E1200   LinRS_E1200   None ]		   
		]

		/E1450_SE_0S_INTERFACES [D
			/Interfaces [A  EtherCAT_SoE_E1450_0S   EtherCAT_E1450_0S   CanOpen_E1200   LinRS_E1200   None ]		   
		]

		/E1450_SE_1S_INTERFACES [D
			/Interfaces [A  EtherCAT_SoE_E1450_1S   EtherCAT_E1450_1S   CanOpen_E1200   LinRS_E1200   None ]		   
		]

		/E1450_IP_INTERFACES [D
			/Interfaces [A  EthernetIP   LinUDP   CanOpen_E1200   LinRS_E1200   None ]		   
		]

		/E1450_SC_INTERFACES [D
			/Interfaces [A  SERCOSIII   CanOpen_E1200   LinRS_E1200   None ]		   
		]
		
		/E1450_PN_INTERFACES [D
			/Interfaces [A  PROFINET_E1450   CanOpen_E1200   LinRS_E1200   None ]		   
		]
		
		/E1400_APPLICATIONS [D
			/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
		]
		
		
		% D1400 DEFINITIONS % D1400 DEFINITIONS % D1400 DEFINITIONS % D1400 DEFINITIONS % D1400 DEFINITIONS
		
		/D1400_TYPE_DEFINITIONS [D
			/TypeSupported 1	
			/InstallMCSW 1
			/SupportedHWVersions [A	 $0102 ]
			/SupportedDSWVersions [A  $31 ]		   		 
			/EloTypeExt 'D1400'
			/IntfTypeExt 'SG5'
			/ApplTypeExt 'SG5'
			/EasyStepsParExt ''
		]
		
		/D1450_PN_INTERFACES [D
			/Interfaces [A  PROFINET_E1450  None ]		   
		]
		
		/D1400_APPLICATIONS [D
			/Applications [A  None ]			   	
		]
	
	]


	%/Main [B
	/FirmwareScriptVer 4
	/Init [B        
		/ProgFlag exch def
		ProgFlag [B
			'PIVar' nknown not [B 'PIVar' cnamespace ] if
			%/InFilePath exch def
			/FilePath exch def 	
			/PIVar:PortType exch def           
			%/FilePath 'FirmwareFiles\FirmwareE1100\' def
		] [B
			/FilePath '' def	
		] ifelse 
		
		'PackInst' nknown not [B 'PackInst' import ] if     
		
		/RelInfoDict [D
			/E1100 [D *Global_VerDef_1100 ]	
			/B1100 [D *Global_VerDef_1100 ]
			/B1150 [D *Global_VerDef_1100 ]				
			/E1200 [D *Global_VerDef_1200 ]
			/D1400 [D *Global_VerDef_1200 ]
			/E1400 [D *Global_VerDef_1200 ]
			/E14001S [D *Global_VerDef_1200 ]
			/B8000 [D *Global_VerDef_1200 ]
			/P1070 [D *Global_VerDef_1100 ]
			/C1200 [D *Global_VerDef_1200 ]
			/C12001S [D *Global_VerDef_1200 ]
			/A1100 [D *Global_VerDef_1200 ]
			/C1100 [D *Global_VerDef_1200 ]
			/C11001S [D *Global_VerDef_1200 ]
		] def		
		

		/OSDir 'OS' def
		/OSLoaderFile 'OSLoader' def
		/OSLoadSW [B	 OSLoader:LoadSW ] def
		/OSSWFileName 'UPOS_' def

		/OSInfoDict [D							
			/E1100 [D
				*SW_Tree_Version_1100
				/TreeFileName 'OSTr1100_'
			]	
			/B1100 [D
				*SW_Tree_Version_1100
				/TreeFileName 'OSTr1100_'
			]	
			/B1150 [D
				*SW_Tree_Version_1100
				/TreeFileName 'OSTr1100ML_'
			]	
			/E1200 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr_'
			]	
			/D1400 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTrD1400_'
			]	
			/E1400 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr1400_'
			]	
			/E14001S [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr1400_'
			]	
			/B8000 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr_'
			]	
			/P1070 [D
				*SW_Tree_Version_1100
				/TreeFileName 'OSTr1100_'
			]	
			
			/C1200 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr_'
			]	

			/C12001S [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTr_'
			]	

			/C1100 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTrC1100_'
			]	
			/C11001S [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTrC1100_'
			]	

			/A1100 [D
				*SW_Tree_Version_1200
				/TreeFileName 'OSTrA1100_'
			]	
			
		] def	
		
		
		/MCDir 'MC_SW' def
		/MCLoaderFile 'MCLoader' def
		/MCLoadSW [B	 MCLoader:LoadSW ] def
%		/MCSWFileName 'MCSW1100_' def

		/MCInfoDict [D							
			/E1100 [D
				*SW_Tree_Version_1100
				/MCSWFileName 'MCSW1100_'
				/TreeFileName 'MCTr1100_'
			]	
			/B1100 [D
				*SW_Tree_Version_1100
				/MCSWFileName 'MCSW1100_'
				/TreeFileName 'MCTr1100_'
			]
			/B1150 [D
				*SW_Tree_Version_1100
				/MCSWFileName 'MCSW1100_'
				/TreeFileName 'MCTr1100_'
			]				
			/E1200 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1200_'
				/TreeFileName 'MCTr1200_'
			]			
			/D1400 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1400_'
				/TreeFileName 'MCTrD1400_'
			]			
			/E1400 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1400_'
				/TreeFileName 'MCTr1400_'
			]			
			/E14001S [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1400_'
				/TreeFileName 'MCTr14001S_'
			]			
			/P1070 [D
				*SW_Tree_Version_1100
				/MCSWFileName 'MotSw_'
				/TreeFileName 'MotTr1070_'
			]

			/C1200 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1200_'
				/TreeFileName 'MCTrC1200_'
			]
			/C12001S [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1200_'
				/TreeFileName 'MCTrC12001S_'
			]
			
			/C1100 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1100_'
				/TreeFileName 'MCTrC1100_'
			]
			/C11001S [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSW1100_'
				/TreeFileName 'MCTrC11001S_'
			]
			
			/A1100 [D
				*SW_Tree_Version_1200
				/MCSWFileName 'MCSWA1100_'
				/TreeFileName 'MCTrA1100_'
			]
		] def	

		
		/InterfacesDir 'Interfaces' def	
		/IntfLoaderFile 'IntfLoader' def
		/IntfLoadSW [B IntfLoader:LoadSW ] def		
		
		/ApplicationsDir 'Applications' def
		/ApplLoaderFile 'ApplLoader' def
		/ApplLoadSW [B ApplLoader:LoadSW ] def		
		
		%Interfaces
		/LinRS [D
			*INTF_LINRS_DEFINITIONS
			*SW_Tree_Version_1100
			/IntfSWFileName 'IntfSWLinRS_'
			/IntfTreeFileName 'IntfTr1100LinRS_'
		] def	

		/LinRS_E1200 [D
			*INTF_LINRS_DEFINITIONS
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWLinRS_'
			/IntfTreeFileName 'IntfTrLinRS_'
		] def			


		/MCLink [D
			/Name 'MCLink'
			/Caption 'MCLink'			
			/Description 'MC-Link Interface'
			*SW_Tree_Version_1100
			/IntfDir	'Interfaces\MCLink'
			/IntfSWFileName 'IntfSWML_'
			/IntfTreeFileName 'IntfTr1100ML_'
		] def			

		/DeviceNet [D
			/Name 'DeviceNet'
			/Caption 'DeviceNet'
			/Description 'DeviceNet'
			*SW_Tree_Version_1100
			/IntfDir	'Interfaces\DeviceNet'
			/IntfSWFileName 'IntfSWDN_'
			/IntfTreeFileName 'IntfTr1100DN_'			
		] def			

		/CanOpen [D
			*INTF_CO_DEFINITIONS 
			*SW_Tree_Version_1100
			/IntfSWFileName 'IntfSWCO_'
			/IntfTreeFileName 'IntfTr1100CO_'			
		] def			

		/CanOpen_A1100 [D
			*INTF_CO_DEFINITIONS 
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWCOA1100_'
			/IntfTreeFileName 'IntfTrCOA1100_'			
		] def			

		/CanOpen_C1100 [D
			*INTF_CO_DEFINITIONS 
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWCOC1100_'
			/IntfTreeFileName 'IntfTrCOC1100_'			
		] def			

		/CanOpen_C1200 [D
			*INTF_CO_DEFINITIONS 
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWCOC1200_'
			/IntfTreeFileName 'IntfTrCOC1200_'			
		] def			

		/CanOpen_E1200 [D
			*INTF_CO_DEFINITIONS 
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWCO_'
			/IntfTreeFileName 'IntfTrCO_'			
		] def			

		
		/Profibus [D
			*INTF_DP_DEFINITIONS
			*SW_Tree_Version_1100
			/IntfSWFileName 'IntfSWDP_' 
			/IntfTreeFileName 'IntfTr1100DP_'				
		] def	

		/Profibus_E1200 [D
			*INTF_DP_DEFINITIONS
			*SW_Tree_Version_1200
			/IntfSWFileName 'IntfSWDP_' 
			/IntfTreeFileName 'IntfTrDP_'				
		] def	

		/CTIOIntf [D
			/Name 'CTIOIntf'
			/Caption 'CT IO Interface'		
			/Description 'Command Table digital IO Interface'
			*SW_Tree_Version_1100
			/IntfDir 'Interfaces\CmdTabIO'
			/IntfSWFileName 'IntfSWCmdTabIO_'
			/IntfTreeFileName 'IntfTrCmdTabIO_'			
		] def																	

		/POWERLINK [D
			/Name 'POWERLINK'
			/Caption 'POWERLINK'			
			/Description 'Ethernet POWERLINK communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\POWERLINK'
			/IntfSWFileName 'IntfSWEPL_'
			/IntfTreeFileName 'IntfTrEPL_'		
			/IntfModulePar '\FPGA\EPLHUB_FPGA_V1_3.HX2'			
			/IntfSpecificSetup 'POWERLINKSetup'
		] def

		/CanOpen_GW [D
			/Name 'CanOpen_GW'
			/Caption 'CanOpen_GW'			
			/Description 'CanOpen Gateway'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\CanOpenGw'
			/IntfSWFileName 'IntfSWCoGw_'
			/IntfTreeFileName 'IntfTrCoGw_'			
%			/IntfModulePar '\FPGA\EPLHUB_FPGA_V1_3.HX2'			
%			/IntfSpecificSetup 'POWERLINKSetup' 	
		] def					



		/POWERLINK_ML [D
			/Name 'POWERLINK_ML'
			/Caption 'POWERLINK_ML'			
			/Description 'Ethernet POWERLINK communication with MC-Link'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\POWERLINK_ML'
			/IntfSWFileName 'IntfSWEPLML_'
			/IntfTreeFileName 'IntfTrEPLML_'			
			/IntfModulePar '\FPGA\EPLHUB_FPGA_V1_3.HX2'			
			/IntfSpecificSetup 'POWERLINKSetup' 	
		] def					

		/EtherCAT [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrEC_'
			/IntfModulePar '\EEPROM\EC_EEprom_E1250-EC-UC_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_C1250_0S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrECC1200_'
			/IntfModulePar '\EEPROM\EC_EEprom_C1250-EC-XC-0S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_C1250_1S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrECC1200_'
			/IntfModulePar '\EEPROM\EC_EEprom_C1250-EC-XC-1S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_C1150_0S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrECC1100_'
			/IntfModulePar '\EEPROM\EC_EEprom_C1150-EC-XC-0S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup_C1100' 
		] def	

		/EtherCAT_C1150_1S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrECC1100_'
			/IntfModulePar '\EEPROM\EC_EEProm_C1150-EC-XC-0S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup_C1100' 
		] def	

		/EtherCAT_SoE_C1150_0S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWEcSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_C1150-SE-XC-0S_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup_C1100' 
		] def	

		/EtherCAT_SoE_C1150_1S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWEcSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_C1150-SE-XC-1S_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup_C1100' 
		] def	

		/EtherCAT_SoE [D			% to be defines !!!!!!!!!!!!!!!!!!
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWECSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_E1250-EC-SoE_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_E1450_0S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrEC_'
			/IntfModulePar '\EEPROM\EC_EEprom_E1450-EC-QN-0S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_E1450_1S [D
			/Name 'EtherCAT'
			/Caption 'EtherCAT'			
			/Description 'Ethernet EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT'
			/IntfSWFileName 'IntfSWEC_'
			/IntfTreeFileName 'IntfTrEC_'
			/IntfModulePar '\EEPROM\EC_EEprom_E1450-EC-QN-1S_V1_6.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_SoE_E1450_0S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWECSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_E1450-QN-SoE_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_SoE_E1450_1S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWECSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_E1450-QN-SoE_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_SoE_C1250_0S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWECSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_C1250-SE-XC-0S_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_SoE_C1250_1S [D
			/Name 'EtherCAT_SoE'
			/Caption 'EtherCAT_SoE'			
			/Description 'Sercos over EtherCAT communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_SoE'
			/IntfSWFileName 'IntfSWECSoE_'
			/IntfTreeFileName 'IntfTrECSoE_'
			/IntfModulePar '\EEPROM\EC_EEProm_C1250-SE-XC-1S_V1_0.HX2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/EtherCAT_ML [D
			/Name 'EtherCAT_ML'
			/Caption 'EtherCAT_ML'			
			/Description 'Ethernet EtherCAT communication with MC-Link'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EtherCAT_ML'
			/IntfSWFileName 'IntfSWECML_'
			/IntfTreeFileName 'IntfTrECML_'
			/IntfModulePar '\EEPROM\LinMot_BM8050_EC_V2s1.hx2'			
			/IntfSpecificSetup 'EtherCATSetup' 
		] def			
		
		/EthernetIP [D
			/Name 'EthernetIP'
			/Caption 'EthernetIP'			
			/Description 'Ethernet IP communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EthernetIP'
			/IntfSWFileName 'IntfSWIP_'
			/IntfTreeFileName 'IntfTrIP_'
			%			/IntfModulePar '\EEPROM\EC_EEprom_E1250-EC-UC_V1_1.HX2'			
			%			/IntfSpecificSetup 'EtherCATSetup' 
		] def	
		
		/EthernetIP_ML [D
			/Name 'EthernetIP_ML'
			/Caption 'EthernetIP_ML'			
			/Description 'Ethernet IP communication with MC-Link'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\EthernetIP_ML'
			/IntfSWFileName 'IntfSWIPML_'
			/IntfTreeFileName 'IntfTrIPML_'
			%			/IntfModulePar '\EEPROM\EC_EEprom_E1250-EC-UC_V1_1.HX2'			
			%			/IntfSpecificSetup 'EtherCATSetup' 
		] def	

		/LinUDP [D
			/Name 'LinUDP'
			/Caption 'LinUDP'			
			/Description 'Protocol for UDP communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\LinUDP'
			/IntfSWFileName 'IntfSWLinUDP_'
			/IntfTreeFileName 'IntfTrLinUDP_'
		] def	

		
		
		/SERCOSIII [D
			/Name 'SERCOSIII'
			/Caption 'SERCOSIII'			
			/Description 'SERCOSIII communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\SERCOSIII'
			/IntfSWFileName 'IntfSWS3_'
			/IntfTreeFileName 'IntfTrS3_'
			/IntfModulePar '\FPGA\S3_SERCON100S_FPGA_V1_0.HX2'	
			/IntfSpecificSetup 'SERCOSIIISetup' 
		] def		

		/SERCOSIII_ML [D
			/Name 'SERCOSIII_ML'
			/Caption 'SERCOSIII_ML'			
			/Description 'SERCOSIII communication with MC-Link'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\SERCOSIII_ML'
			/IntfSWFileName 'IntfSWS3ML_'
			/IntfTreeFileName 'IntfTrS3ML_'			
			/IntfModulePar '\FPGA\S3_SERCON100S_FPGA_V1_0.HX2'	
			/IntfSpecificSetup 'SERCOSIIISetup' 	
		] def
		
		/PROFINET_E1250 [D
			/Name 'PROFINET'
			/Caption 'PROFINET'			
			/Description 'Ethernet PROFINET communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\PROFINET'
			/IntfSWFileName 'IntfSWPN_'
			/IntfTreeFileName 'IntfTrPN_'
			/IntfModulePar '\EEPROM\PN_EEprom_E1250-PN-UC_V1_2_0_96.HX2'			
			/IntfSpecificSetup 'ProfiNetSetup' 
		] def	
		
		/PROFINET_C1250 [D
			/Name 'PROFINET'
			/Caption 'PROFINET'			
			/Description 'Ethernet PROFINET communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\PROFINET'
			/IntfSWFileName 'IntfSWPN_'
			/IntfTreeFileName 'IntfTrPNC1200_'
			/IntfModulePar '\EEPROM\PN_EEprom_E1250-PN-UC_V1_2_0_96.HX2'			
			/IntfSpecificSetup 'ProfiNetSetup' 
		] def	

		/PROFINET_C1150 [D
			/Name 'PROFINET'
			/Caption 'PROFINET'			
			/Description 'Ethernet PROFINET communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\PROFINET'
			/IntfSWFileName 'IntfSWPN_'
			/IntfTreeFileName 'IntfTrPNC1100_'
			/IntfModulePar '\EEPROM\PN_EEprom_C1150-PN-UC_V1_2_0_96.HX2'			
			/IntfSpecificSetup 'ProfiNetSetup_C1150' 
		] def	

		/ProfiNet_ML [D
			/Name 'PROFINET_ML'
			/Caption 'PROFINET_ML'			
			/Description 'Ethernet PROFINET communication with MC-Link'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\PROFINET_ML'
			/IntfSWFileName 'IntfSWPNML_'
			/IntfTreeFileName 'IntfTrPNML_'
			/IntfModulePar '\EEPROM\PN_EEprom_B8050-ML-PN_V1_2_0_96.HX2'			
			/IntfSpecificSetup 'ProfiNetSetup' 
		] def	

		/PROFINET_E1450 [D
			/Name 'PROFINET'
			/Caption 'PROFINET'			
			/Description 'Ethernet PROFINET communication'
			*SW_Tree_Version_1200
			/IntfDir	'Interfaces\PROFINET'
			/IntfSWFileName 'IntfSWPN_'
			/IntfTreeFileName 'IntfTrPN_'
			/IntfModulePar '\EEPROM\PN_EEprom_E1450-PN-UC_V1_2_0_96.HX2'			
			/IntfSpecificSetup 'ProfiNetSetup' 
		] def	

		/None [D
			/Name 'None'
			/Caption 'None'		
		] def
		
		%Applications
		/EasySteps [D
			/Name 'EasySteps'
			/Caption 'EasySteps'			
			/Description 'Easy Steps Application'
			*SW_Tree_Version_1100
			/ApplDir	'Applications\EasySteps'
			/ApplSWFileName 'ApplSWEasySteps_'
			/ApplTreeFileName 'ApplTrEasySteps_'			
		] def			
		/EasySteps_E1200 [D
			/Name 'EasySteps'
			/Caption 'EasySteps'			
			/Description 'Easy Steps Application'					
			*SW_Tree_Version_1200
			/ApplDir	'Applications\EasySteps'
			/ApplSWFileName 'ApplSWEasySteps_'
			/ApplTreeFileName 'ApplTrEasySteps_'			
		] def	
		/EasySteps_C1x00 [D
			/Name 'EasySteps'
			/Caption 'EasySteps'			
			/Description 'Easy Steps Application'					
			*SW_Tree_Version_1200
			/ApplDir	'Applications\EasySteps'
			/ApplSWFileName 'ApplSWEasySteps_'
			/ApplTreeFileName 'ApplTrEasyStepsC_'			
		] def	
		/EasyStepsX6 [D
			/Name 'EasyStepsX6'
			/Caption 'EasyStepsX6'			
			/Description 'Easy Steps on X6 Application'
			*SW_Tree_Version_1100
			/ApplDir	'Applications\EasyStepsX6'
			/ApplSWFileName 'ApSWEasyStepsX6_'
			/ApplTreeFileName 'ApTrEasyStepsX6_'			
		] def			
		/MasterSlave [D
			/Name 'MasterSlave'
			/Caption 'MasterSlave'			
			/Description 'Master Slave Application'
			*SW_Tree_Version_1100
			/ApplDir	'Applications\MasterSlave'
			/ApplSWFileName 'ApSWMasterSlave_'
			/ApplTreeFileName 'ApTrMasterSlave_'			
		] def		
		/MasterSlave_E1200 [D
			/Name 'MasterSlave'
			/Caption 'MasterSlave'			
			/Description 'Master Slave Application'
			*SW_Tree_Version_1200
			/ApplDir	'Applications\MasterSlave'
			/ApplSWFileName 'ApSWMasterSlave_'
			/ApplTreeFileName 'ApTrMasterSlave_'			
		] def		
		/AutoStart [D
			/Name 'AutoStart'
			/Caption 'AutoStart'			
			/Description 'Auto Start Application'
			*SW_Tree_Version_1100
			/ApplDir	'Applications\AutoStart'
			/ApplSWFileName 'ApplSWAutSt_' 
			/ApplTreeFileName 'ApplTr1100AutSt_'			
		] def				
		/Sinoide [D
			/Name 'Sinoide'
			/Caption 'Sinoide'			
			/Description 'Sinoide Application'
			*SW_Tree_Version_1100
			/ApplDir	'Applications\Sinoide'
			/ApplSWFileName 'ApplSWSinoide_' 
			/ApplTreeFileName 'ApplTrSinoide_'			
		] def		

		/Controllers [A
			%E1100MP
			[D
				/Name 'E1100-MP'
				/TypeID $411
				/TypeSupported 0
				/InstallMCSW 1					
			]
			%E1100MPHC
			[D
				/Name 'E1100-MP-HC'
				/TypeID $421
				/TypeSupported 0
				/InstallMCSW 1					
			]
			%E1100MT
			[D
				/Name 'E1100-MT'
				/TypeID $431
				/TypeSupported 0
				/InstallMCSW 1					
			]
			%E1100MTHC
			[D
				/Name 'E1100-MT-HC'
				/TypeID $441
				/TypeSupported 0
				/InstallMCSW 1					
			]
			%E1100GP
			[D
				/Name 'E1100-GP'
				/TypeID $451
				/PowerExtension 'LC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102   $0103   $0104   $0105 ]
				/SupportedDSWVersions [A $2 ]		   
				*E1100_GP_INTERFACES
				*E1100_GP_APPLICATIONS
			]
			%E1100GPHC
			[D
				/Name 'E1100-GP-HC'
				/TypeID $461
				/PowerExtension 'HC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102   $0103   $0104   $0105 ]
				/SupportedDSWVersions [A $2	]		   
				*E1100_GP_INTERFACES
				*E1100_GP_APPLICATIONS
			]
			
			%E1100GPXC
			[D
				/Name 'E1100-GP-XC'
				/TypeID $541
				/PowerExtension 'XC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0105 ]
				/SupportedDSWVersions [A $2 ]		   
				*E1100_GP_INTERFACES
				*E1100_GP_APPLICATIONS
			]
			
			%E1100RS
			[D
				/Name 'E1100-RS'
				/TypeID $471
				/PowerExtension 'LC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102   $0103   $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $2   $4 ]		   
				*E1100_RS_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100RSHC
			[D
				/Name 'E1100-RS-HC'
				/TypeID $481
				/PowerExtension 'HC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102   $0103   $0104   $0105   $0106   $0107 ]
				/SupportedDSWVersions [A $2   $4 ]		   
				*E1100_RS_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100RSXC
			[D
				/Name 'E1100-RS-XC'
				/TypeID $511
				/PowerExtension 'XC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_RS_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100DN
			[D
				/Name 'E1100-DN'
				/TypeID $491
				/PowerExtension 'LC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_DN_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100DNHC
			[D
				/Name 'E1100-DN-HC'
				/TypeID $4A1
				/PowerExtension 'HC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_DN_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100DNXC
			[D
				/Name 'E1100-DN-XC'
				/TypeID $521
				/PowerExtension 'XC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_DN_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100CO
			[D
				/Name 'E1100-CO'
				/TypeID $4B1
				/PowerExtension 'LC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_CO_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100COHC
			[D
				/Name 'E1100-CO-HC'
				/TypeID $4C1
				/PowerExtension 'HC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		   
				*E1100_CO_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1100COXC
			[D
				/Name 'E1100-CO-XC'
				/TypeID $4F1
				/PowerExtension 'XC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1100_CO_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1130DP
			[D
				/Name 'E1130-DP'
				/TypeID $4D1
				/PowerExtension 'LC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		 
				*E1130_DP_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1130DPHC
			[D
				/Name 'E1130-DP-HC'
				/TypeID $4E1
				/PowerExtension 'HC'
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106   $0107 ]
				/SupportedDSWVersions [A $4 ]		   		   
				*E1130_DP_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]	
			
			%E1130DPXC
			[D
				/Name 'E1130-DP-XC'
				/TypeID $531
				/PowerExtension 'XC'  
				*E1100_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0106   $0107 ]
				/SupportedDSWVersions [A $4	]		   		 
				*E1130_DP_INTERFACES
				*E1100_CRDP_APPLICATIONS
			]
			
			%E1130DPHV
%			[D
%				/Name 'E1130-DP-HV'
%				/TypeID $501
%				/PowerExtension 'HCHV'
%				*E1100_TYPE_DEFINITIONS
%				/SupportedHWVersions [A  $0104   $0106   $0107 ]
%				/SupportedDSWVersions [A $4 ]		   		   
%				*E1130_DP_INTERFACES
%				*E1100_CRDP_APPLICATIONS
%			]	
			
			% B1100 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			% B1100-GP
			[D
				/Name 'B1100-GP'
				/TypeID $0D61
				/PowerExtension 'LC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_GP_INTERFACES_APPLICATIONS
			]

			% B1100-GP-HC
			[D
				/Name 'B1100-GP-HC'
				/TypeID $0D71
				/PowerExtension 'HC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_GP_INTERFACES_APPLICATIONS
			]
			% B1100-GP-XC
			[D
				/Name 'B1100-GP-XC'
				/TypeID $0D81
				/PowerExtension 'XC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_GP_INTERFACES_APPLICATIONS
			]
			
			% B1100-VF
			[D
				/Name 'B1100-VF'
				/TypeID $0D31
				/PowerExtension 'LC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_VF_INTERFACES_APPLICATIONS
			]

			% B1100-VF-HC
			[D
				/Name 'B1100-VF-HC'
				/TypeID $0D41
				/PowerExtension 'HC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_VF_INTERFACES_APPLICATIONS
			]

			% B1100-VF-XC
			[D
				/Name 'B1100-VF-XC'
				/TypeID $0D51
				/PowerExtension 'XC'
				/EasyStepsParExt ''
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_VF_INTERFACES_APPLICATIONS
			]
			
			% B1100-PP
			[D
				/Name 'B1100-PP'
				/TypeID $0D01
				/PowerExtension 'LCPP'
				/EasyStepsParExt 'PP'
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_PP_INTERFACES_APPLICATIONS
			]
			% B1100-PP-HC
			[D
				/Name 'B1100-PP-HC'
				/TypeID $0D11
				/PowerExtension 'HCPP'
				/EasyStepsParExt 'PP'
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_PP_INTERFACES_APPLICATIONS
			]
			% B1100-PP-XC
			[D
				/Name 'B1100-PP-XC'
				/TypeID $0D21
				/PowerExtension 'XCPP'
				/EasyStepsParExt 'PP'
				*B1100_TYPE_DEFINITIONS
				*B1100_HW_VERSIONS
				*B1100_PP_INTERFACES_APPLICATIONS
			]
			
			% B1150-ML-LC
			[D
				/Name 'B1150-ML'
				/TypeID $0DB1
				/PowerExtension 'LC'
				*B1150_TYPE_DEFINITIONS
%				/TypeSupported 1
%				/InstallMCSW 1						
%				/SupportedHWVersions [A  $0105   $0106 ]
%				/SupportedDSWVersions [A $10 ]		   
%				/EloTypeExt 'B1150'
%				/IntfTypeExt 'B1100'
%				/ApplTypeExt 'B1100'
%				/EasyStepsParExt ''
%				/Interfaces [A  MCLink ]			   	
%				/Applications [A  None   EasySteps   Sinoide ]			   	
			]
			% B1150-ML-HC
			[D
				/Name 'B1150-ML-HC'
				/TypeID $0DC1
				/PowerExtension 'HC'
				*B1150_TYPE_DEFINITIONS
			]			
			% B1150-ML-XC
			[D
				/Name 'B1150-ML-XC'
				/TypeID $0DD1
				/PowerExtension 'XC'
				*B1150_TYPE_DEFINITIONS
			]

			% MB1150-ML-XC
			[D
				/Name 'MB1150-ML-XC-1S'
				/TypeID $1511
				/PowerExtension 'XCM'
				
				/TypeSupported 1
				/InstallMCSW 1						
				/SupportedHWVersions [A  $0106 ]
				/SupportedDSWVersions [A $10 ]		   
				/EloTypeExt 'B1150'
				/IntfTypeExt 'B1100'
				/ApplTypeExt 'B1100'
				/EasyStepsParExt ''
				/Interfaces [A  MCLink ]			   	
				/Applications [A  None   EasySteps   Sinoide ]			   	
			]
			
			% B1100-I1_LV
			[D
				/Name 'B1100-I1-LV'
				/TypeID $0D91
				/TypeSupported 1	
				/InstallMCSW 1						
				/SupportedHWVersions [A  $0201   $0202 ]
				/NotSupportedHWVersion [A ]
				/SupportedDSWVersions [A $10 ]		   
				/PowerExtension 'HC'
				/EloTypeExt 'B1100'
				/IntfTypeExt 'B1100'
				/ApplTypeExt 'B1100'				
				/EasyStepsParExt ''
				/Interfaces [A  CanOpen   LinRS   DeviceNet   None ]			   	
				/Applications [A  None   EasySteps ]			   	
			]

			% B1100-I2 (Krones with 100V FET)
			[D
				/Name 'B1100-I2'
				/TypeID $0DA1
				/TypeSupported 0
				/InstallMCSW 1	
			]

			% A1100 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			[D
				/Name 'A1100 GP LC 0S 000'
				/TypeID $1701
				*A1100_TYPE_DEFINITIONS_0S
				*A1100_GP_INTERFACES
				*A1100_APPLICATIONS
			]

			
			% C1100 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			[D
				/Name 'C1100 GP XC 0S 000'
				/TypeID $1601
				*C1100_TYPE_DEFINITIONS_0S
				*C1100_GP_INTERFACES
				*C1100_APPLICATIONS
			]

			[D
				/Name 'C1100 GP XC 1S 000'
				/TypeID $1611
				*C1100_TYPE_DEFINITIONS_1S
				*C1100_GP_INTERFACES
				*C1100_APPLICATIONS
			]
			
			[D
				/Name 'C1150 EC XC 0S 000'
				/TypeID $1621
				*C1100_TYPE_DEFINITIONS_0S
				*C1150_EC_INTERFACES_0S
				*C1100_APPLICATIONS
			]

			[D
				/Name 'C1150 EC XC 1S 000'
				/TypeID $1631
				*C1100_TYPE_DEFINITIONS_1S
				*C1150_EC_INTERFACES_1S
				*C1100_APPLICATIONS
			]
			
			[D
				/Name 'C1150 PN XC 0S 000'
				/TypeID $1641
				*C1100_TYPE_DEFINITIONS_0S
				*C1150_PN_INTERFACES
				*C1100_APPLICATIONS
			]

			[D
				/Name 'C1150 PN XC 1S 000'
				/TypeID $1651
				*C1100_TYPE_DEFINITIONS_1S
				*C1150_PN_INTERFACES
				*C1100_APPLICATIONS
			]
				
				
			
			
			% C1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%			[D
%				/Name 'C1200 GP XC 0S 000'
%				/TypeID $1001
%				*C1200_0S_TYPE_DEFINITIONS
%				/PowerExtension 'XC0S'  
%				*C1200_GP_INTERFACES
%				*C1200_APPLICATIONS
%			]

%			%[D
%				%/Name 'C1230 DP XC 0S 000'
%				%/TypeID $1061
%				%*C1200_TYPE_DEFINITIONS
%				%/PowerExtension 'XC0S'  
%				%*C1230_DP_INTERFACES
%				%*C1200_APPLICATIONS
%			%]

			%[D
			%	/Name 'C1250 PL XC 0S 000'
			%	/TypeID $1011
			%	*C1200_TYPE_DEFINITIONS
			%	/PowerExtension 'XC0S'  
			%	*C1250_PL_INTERFACES
			%	*C1200_APPLICATIONS
			%]

			[D
				/Name 'C1250 EC XC 0S 000'
				/TypeID $1021
				*C1200_0S_TYPE_DEFINITIONS
				/PowerExtension 'XC0S'  
				*C1250_EC_0S_INTERFACES
				*C1200_APPLICATIONS
			]

			[D
				/Name 'C1250 SE XC 0S 000'
				/TypeID $1071
				*C1200_0S_TYPE_DEFINITIONS
				/PowerExtension 'XC0S'  
				*C1250_SE_0S_INTERFACES
				*C1200_APPLICATIONS
			]

			[D
				/Name 'C1250 IP XC 0S 000'
				/TypeID $1031
				*C1200_0S_TYPE_DEFINITIONS
%				*C1200_TYPE_DEFINITIONS % use the following positions
%					/TypeSupported 1
%					/InstallMCSW 1				
%					/EloTypeExt 'C1200'
%					/IntfTypeExt 'SG6'
%					/ApplTypeExt 'SG6'
%					/EasyStepsParExt ''
%					/SupportedHWVersions [A $0103 $0104 $0105 $0106 ]
%					/SupportedDSWVersions [A $21 ]		   		 
				/PowerExtension 'XC0S'  
				*C1250_IP_INTERFACES
				*C1200_APPLICATIONS
			]

			%[D
			%	/Name 'C1250 SC XC 0S 000'
			%	/TypeID $1051
			%	*C1200_TYPE_DEFINITIONS
			%	/PowerExtension 'XC0S'  
			%	*C1250_SC_INTERFACES
			%	*C1200_APPLICATIONS
			%]

			[D
				/Name 'C1250 PN XC 0S 000'
				/TypeID $1041
				*C1200_0S_TYPE_DEFINITIONS
				/PowerExtension 'XC0S'  
				*C1250_PN_INTERFACES
				*C1200_APPLICATIONS
			]

%			[D
%				/Name 'C1200 GP XC 1S 000'
%				/TypeID $1301
%				*C1200_TYPE_DEFINITIONS
%				/PowerExtension 'XC1S'  
%				*C1200_GP_INTERFACES
%				*C1200_APPLICATIONS
%			]

%			%[D
%				%/Name 'C1230 DP XC 1S 000'
%				%/TypeID $1361
%				%*C1200_TYPE_DEFINITIONS
%				%/PowerExtension 'XC1S'  
%				%*C1230_DP_INTERFACES
%				%*C1200_APPLICATIONS
%			%]
				
			%[D
			%	/Name 'C1250 PL XC 1S 000'
			%	/TypeID $1311
			%	*C1200_TYPE_DEFINITIONS
			%	/PowerExtension 'XC1S'  
			%	*C1250_PL_INTERFACES
			%	*C1200_APPLICATIONS
			%]
				
			[D
				/Name 'C1250 EC XC 1S 000'
				/TypeID $1321
				*C1200_1S_TYPE_DEFINITIONS
				/PowerExtension 'XC1S'  
				*C1250_EC_1S_INTERFACES
				*C1200_APPLICATIONS
			]

			[D
				/Name 'C1250 SE XC 1S 000'
				/TypeID $1371
				*C1200_1S_TYPE_DEFINITIONS
				/PowerExtension 'XC1S'  
				*C1250_SE_1S_INTERFACES
				*C1200_APPLICATIONS
			]
			
			[D
				/Name 'C1250 IP XC 1S 000'
				/TypeID $1331
				*C1200_1S_TYPE_DEFINITIONS % use the following positions
				/PowerExtension 'XC1S'  
				*C1250_IP_INTERFACES
				*C1200_APPLICATIONS
			]
			
			%[D
			%	/Name 'C1250 SC XC 1S 000'
			%	/TypeID $1351
			%	*C1200_TYPE_DEFINITIONS
			%	/PowerExtension 'XC1S'  
			%	*C1250_SC_INTERFACES
			%	*C1200_APPLICATIONS
			%]
			
			[D
				/Name 'C1250 PN XC 1S 000'
				/TypeID $1341
				*C1200_1S_TYPE_DEFINITIONS
				/PowerExtension 'XC1S'  
				*C1250_PN_INTERFACES
				*C1200_APPLICATIONS
			]
			
			% E1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			% E1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			% E1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			% E1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			% E1200 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			
			%E1200GPUC
			[D
				/Name 'E1200-GP-UC'
				/TypeID $961
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  CanOpen_E1200   LinRS_E1200   None ]	
				*E1200_APPLICATIONS				
			]
			
			%E1230DPUC
			[D
				/Name 'E1230-DP-UC'
				/TypeID $951
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  Profibus_E1200   CanOpen_E1200    LinRS_E1200   None ]	
				*E1200_APPLICATIONS				
			]
			
			%E1250PLUC
			[D
				/Name 'E1250-PL-UC'
				/TypeID $901
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106   $0107 ]
				/Interfaces [A  POWERLINK   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]
			
			
			%E1250ECUC
			[D
				/Name 'E1250-EC-UC'
				/TypeID $911
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  EtherCAT   EtherCAT_SoE   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]

			%E1250SEUC
			[D
				/Name 'E1250-SE-UC'
				/TypeID $971
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  EtherCAT_SoE   EtherCAT   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]
			
			
			%E1250IPUC
			[D
				/Name 'E1250-IP-UC'
				/TypeID $921
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  EthernetIP   LinUDP   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]
			
			%E1250SCUC
			[D
				/Name 'E1250-SC-UC'
				/TypeID $941
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A   SERCOSIII   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]
			
			%E1250PNUC
			[D
				/Name 'E1250-PN-UC'
				/TypeID $931
				*E1200_UC_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0104   $0105   $0106 ]
				/Interfaces [A  PROFINET_E1250   CanOpen_E1200   LinRS_E1200   None ]		   
				*E1200_APPLICATIONS				
			]

			%E1200GPHV
%			[D
%				/Name 'E1200-GP-HV'
%				/TypeID $9E1
%				/TypeSupported 1
%				/InstallMCSW 1	
%				/SupportedHWVersions [A  $0104   $0105   $0106 ]
%				/SupportedDSWVersions [A $20 ]		   		 
%				/PowerExtension 'HV'  
%				/EloTypeExt 'E1200'
%				/IntfTypeExt 'SG5'
%				/ApplTypeExt 'SG5'
%				/EasyStepsParExt ''
%				/Interfaces [A  CanOpen_E1200   LinRS_E1200   None ]		   
%				/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
%			]
			
			%E1250PLHV
%			[D
%				/Name 'E1250-PL-HV'
%				/TypeID $981
%				/TypeSupported 1	
%				/InstallMCSW 1
%				/SupportedHWVersions [A  $0104   $0105   $0106 ]
%				/SupportedDSWVersions [A $20 ]		   		 
%				/PowerExtension 'HV'  
%				/EloTypeExt 'E1200'
%				/IntfTypeExt 'SG5'
%				/ApplTypeExt 'SG5'
%				/EasyStepsParExt ''
%				/Interfaces [A  POWERLINK   CanOpen_E1200   LinRS_E1200   None ]		   
%				/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
%			]
			
			
			%E1250ECHV
%			[D
%				/Name 'E1250-EC-HV'
%				/TypeID $991
%				/TypeSupported 1	
%				/InstallMCSW 1
%				/SupportedHWVersions [A  $0104   $0105   $0106 ]
%				/SupportedDSWVersions [A $20 ]		   		 
%				/PowerExtension 'HV'  
%				/EloTypeExt 'E1200'
%				/IntfTypeExt 'SG5'
%				/ApplTypeExt 'SG5'
%				/EasyStepsParExt ''
%				/Interfaces [A  EtherCAT   EtherCAT_SoE   CanOpen_E1200   LinRS_E1200   None ]		   
%				/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
%			]
	
			%E1250SEHV
%			[D
%				/Name 'E1250-SE-HV'
%				/TypeID $9F1
%				/TypeSupported 1	
%				/InstallMCSW 1
%				/SupportedHWVersions [A  $0104   $0105   $0106 ]
%				/SupportedDSWVersions [A $20 ]		   		 
%				/PowerExtension 'HV'  
%				/EloTypeExt 'E1200'
%				/IntfTypeExt 'SG5'
%				/ApplTypeExt 'SG5'
%				/EasyStepsParExt ''
%				/Interfaces [A  EtherCAT_SoE   EtherCAT   CanOpen_E1200   LinRS_E1200   None ]		   
%				/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
%			]
	
			
			%E1250IPHV
%			[D
%				/Name 'E1250-IP-HV'
%				/TypeID $9A1
%				/TypeSupported 1	
%				/InstallMCSW 1
%				/SupportedHWVersions [A  $0104   $0105   $0106 ]
%				/SupportedDSWVersions [A $20 ]		   		 
%				/PowerExtension 'HV'  
%				/EloTypeExt 'E1200'
%				/IntfTypeExt 'SG5'
%				/ApplTypeExt 'SG5'
%				/EasyStepsParExt ''
%				/Interfaces [A  EthernetIP   LinUDP   CanOpen_E1200   LinRS_E1200   None ]		   
%				/Applications [A  None   EasySteps_E1200   MasterSlave_E1200 ]			   	
%			]
			

			%E1400GPQN
			%[D
				%/Name 'E1400-GP-QN'
				%/TypeID $C01
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A  $0103   $0105 	]
				%*E1400_GP_INTERFACES
				%*E1400_APPLICATIONS				
			%]

			%E1430DP-QN
			%[D
				%/Name 'E1430-DP-QN'
				%/TypeID $C61
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A  $0103   $0105 ]
				%*E1430_DP_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			%E1450PL-QN
			%[D
				%/Name 'E1450-PL-QN'
				%/TypeID $C11
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A  $0103   $0104   $0105 ]
				%*E1450_PL_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			
			%E1450EC-QN
			%[D
				%/Name 'E1450-EC-QN'
				%/TypeID $C21
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A	 $0103   $0105 ]
				%*E1450_EC_INTERFACES
				%*E1400_APPLICATIONS				
			%]

			%E1450SE-QN
			%[D
				%/Name 'E1450-SE-QN'
				%/TypeID $C71
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A	 $0103   $0105 ]
				%*E1450_SE_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			%E1450IP-QN
			%[D
				%/Name 'E1450-IP-QN'
				%/TypeID $C31
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A  $0103   $0105 ]
				%*E1450_IP_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			%E1450SC-QN
			%[D
				%/Name 'E1450-SC-QN'
				%/TypeID $C51
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A  $0103   $0105 ]
				%*E1450_SC_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			%E1450PN-QN
			%[D
				%/Name 'E1450-PN-QN'
				%/TypeID $C41
				%*E1400_QN_TYPE_DEFINITIONS
				%/SupportedHWVersions [A	$0105 ]
				%*E1450_PN_INTERFACES
				%*E1400_APPLICATIONS				
			%]
			
			%E1400GPQN0S E1400GPQN0S E1400GPQN0S E1400GPQN0S E1400GPQN0S E1400GPQN0S E1400GPQN0S E1400GPQN0S 
			[D
				/Name 'E1400-GP-QN-0S'
				/TypeID $1101
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1400_GP_INTERFACES
				*E1400_APPLICATIONS				
			]

			%E1430DP-QN-0S
			[D
				/Name 'E1430-DP-QN-0S'
				/TypeID $1161
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1430_DP_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450PL-QN-0S
			[D
				/Name 'E1450-PL-QN-0S'
				/TypeID $1111
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_PL_INTERFACES
				*E1400_APPLICATIONS				
			]
						
			%E1450EC-QN-0S
			[D
				/Name 'E1450-EC-QN-0S'
				/TypeID $1121
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_EC_0S_INTERFACES
				*E1400_APPLICATIONS				
			]

			%E1450SE-QN-0S
			[D
				/Name 'E1450-SE-QN-0S'
				/TypeID $1171
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_SE_0S_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450IP-QN-0S
			[D
				/Name 'E1450-IP-QN-0S'
				/TypeID $1131
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_IP_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450SC-QN-0S
			[D
				/Name 'E1450-SC-QN-0S'
				/TypeID $1151
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_SC_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450PN-QN-0S
			[D
				/Name 'E1450-PN-QN-0S'
				/TypeID $1141
				/PowerExtension 'QN0S'  
				*E1400_QN_0S_TYPE_DEFINITIONS
				*E1450_PN_INTERFACES
				*E1400_APPLICATIONS				
			]


			%E1400GPQN1S E1400GPQN1S E1400GPQN1S E1400GPQN1S E1400GPQN1S E1400GPQN1S E1400GPQN1S E1400GPQN1S 
			[D
				/Name 'E1400-GP-QN-1S'
				/TypeID $1201
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1400_GP_INTERFACES
				*E1400_APPLICATIONS				
			]

			%E1430DP-QN-1S
			[D
				/Name 'E1430-DP-QN-1S'
				/TypeID $1261
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1430_DP_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450PL-QN-1S
			[D
				/Name 'E1450-PL-QN-1S'
				/TypeID $1211
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_PL_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450EC-QN-1S
			[D
				/Name 'E1450-EC-QN-1S'
				/TypeID $1221
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_EC_1S_INTERFACES
				*E1400_APPLICATIONS				
			]

			%E1450SE-QN-1S
			[D
				/Name 'E1450-SE-QN-1S'
				/TypeID $1271
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_SE_1S_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450IP-QN-1S
			[D
				/Name 'E1450-IP-QN-1S'
				/TypeID $1231
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_IP_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450SC-QN-1S
			[D
				/Name 'E1450-SC-QN-1S'
				/TypeID $1251
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_SC_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			%E1450PN-QN-1S
			[D
				/Name 'E1450-PN-QN-1S'
				/TypeID $1241
				/PowerExtension 'QN1S'  
				*E1400_QN_1S_TYPE_DEFINITIONS
				*E1450_PN_INTERFACES
				*E1400_APPLICATIONS				
			]
			
			
			%D1450PN-0S
			[D
				/Name 'D1450-PN-QN-0S'
				/TypeID $1801
				/PowerExtension 'QN0S'  
				*D1400_TYPE_DEFINITIONS
				*D1450_PN_INTERFACES
				*D1400_APPLICATIONS				
			]

			
			

			
			%B8000MLGP
			[D
				/Name 'B8000-ML-GP'
				/TypeID $0E51
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102 ]
				*B8000ML_GP_INTERFACES
				*B8000_APPLICATIONS
			]

			%B8050MLPL
			[D
				/Name 'B8050-ML-PL'
				/TypeID $0E01
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102   $0103 ]
				*B8050ML_PL_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%B8050MLSC
			[D
				/Name 'B8050-ML-SC'
				/TypeID $0E41
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102 ]
				*B8050ML_SC_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%B8050MLEC
			[D
				/Name 'B8050-ML-EC'
				/TypeID $0E11
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102 ]
				*B8050ML_EC_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%B8050MLIP
			[D
				/Name 'B8050-ML-IP'
				/TypeID $0E21
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102 ]
				*B8050ML_IP_INTERFACES
				*B8000_APPLICATIONS
			]
			
			
			

			%MB8050MLPN
			[D
				/Name 'B8050-ML-PN'
				/TypeID $0E31
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0102 ]
				*B8050ML_PN_INTERFACES
				*B8000_APPLICATIONS
			]
			
%			%MB8000MLGP
%			[D
%				/Name 'MB8000-ML-GP'
%				/TypeID $1451
%				*B8000ML_TYPE_DEFINITIONS
%				/SupportedHWVersions [A  $0101 ]
%				*B8000ML_GP_INTERFACES
%				*B8000_APPLICATIONS
%			]

			%MB8050MLPL
			[D
				/Name 'MB8050-ML-PL'
				/TypeID $1401
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A $0101 ]
				*B8050ML_PL_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%MB8050MLSC
			[D
				/Name 'MB8050-ML-SC'
				/TypeID $1441
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0101 ]
				*B8050ML_SC_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%MB8050MLEC
			[D
				/Name 'MB8050-ML-EC'
				/TypeID $1411
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0101 ]
				*B8050ML_EC_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%MB8050MLIP
			[D
				/Name 'MB8050-ML-IP'
				/TypeID $1421
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A $0101 ]
				*B8050ML_IP_INTERFACES
				*B8000_APPLICATIONS
			]
			
			%MB8050MLPN
			[D
				/Name 'MB8050-ML-PN'
				/TypeID $1431
				*B8000ML_TYPE_DEFINITIONS
				/SupportedHWVersions [A  $0101   $0102 ]
				*B8050ML_PN_INTERFACES
				*B8000_APPLICATIONS
			]

			%PS10-70
			[D
				/Name 'P1070'
				/TypeID $0F01
				/TypeSupported 1	
				/HideOffline 1
				/InstallMCSW 1
				/PowerExtension ''  
				/SupportedHWVersions [A
					$0101
					$0102				
				]
				/SupportedDSWVersions [A
					$F0
				]		   
				/EloTypeExt 'P1070'
				/IntfTypeExt 'P1070'
				/ApplTypeExt 'P1070'
				/EasyStepsParExt ''
				/Interfaces [A
					None
				]		   
				/Applications [A
					None
				]			   	
			]
			
		] def
		
		
		/WriteStringToElo [P
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			% This procedure writes an string value of the  %
			% protected block to the ELO          %
			%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
			[A /Address /InString ]
			
			/StrLength InString length def
			0 2 StrLength 2 sub [B
				/TmpIndex exch def
				/TmpAddr Address TmpIndex add def
				/TmpData InString TmpIndex 1 getsubstr ord def
				/TmpIndex TmpIndex 1 add def
				TmpIndex StrLength lt [B
					/TmpData TmpData InString TmpIndex 1 getsubstr ord 256 mul add def
				] if 
				TmpAddr TmpData WriteWordToElo
			] for
			
			[A ]
		] def
		
		/WriteWordToElo [B
			TalkIntf.WriteMemory
		] def
		
		/ReadMemory [B 
			TalkIntf.ReadMemory     
			TalkIntf.GetResult 0 eq 
			[B TalkIntf.GetData ]
			[B 'TalkError: ' TalkIntf.GetResult cvs add raisese ] ifelse
		] def
		
		/StartProgram [B 
			TalkIntf.StartProgram
			TalkIntf.GetResult 0 ne
			[B 'TalkError: ' TalkIntf.GetResult cvs add raisese ] if
		] def
		
		/ResetDevice [B 
			TalkIntf.ResetDevice
			TalkIntf.GetResult 0 ne
			[B 'TalkError: ' TalkIntf.GetResult cvs add raisese ] if
		] def
		
		/RebootDevice [B 
			TalkIntf.RebootDevice
			TalkIntf.GetResult 0 ne
			[B 'TalkError: ' TalkIntf.GetResult cvs add raisese ] if
		] def
		
		
		/GetEloType [B
			Offset $680 add ReadMemory
		] def
		
		/GetEloVersion [B
			Offset $682 add ReadMemory
		] def
		
		/GetEloSWVersion [B
			Offset $102A add ReadMemory	
		] def
		
		/GetEloTypeStr [P
			[A ]
			/EloName '' def 
			/StringEndFound #0 def 
			Offset $690 add 2 Offset $69E add [B
				/WordAddr exch def
				StringEndFound not [B
					/Value WordAddr ReadMemory def
					Value $FF and 0 ne [B	
						/EloName EloName Value $FF and chr add def
						Value 8 shr 0 ne [B
							/EloName EloName Value 8 shr chr add def              
						]
						[B
							/StringEndFound #1 def
						] ifelse
					]	
					[B
						/StringEndFound #1 def
					] ifelse
				]if
			] for 
			
			[A EloName]
		] def
		
		/CheckEloIsKnown [P
			[A Type]
			/IsKnown False def
			Controllers [B
				/TempEloDict exch def
				TempEloDict.TypeID Type eq [B
					/IsKnown True def
				] if 
			] forall		
			[A IsKnown]
		] def
		
		/CheckHWVersionCompatible [P
			[A HWVersion Controller]
			/Result #0 def
			/Msg '' def		
			Controller /SupportedHWVersions known [B
				Controller.SupportedHWVersions [B
					HWVersion eq [B
						/Result #1 def
						exitloop	
					] if 
				] forall
			] if		
			Controller /NotSupportedHWVersion known [B
				Controller.NotSupportedHWVersion [B
					/TempDict exch def
					TempDict.HWVersion HWVersion eq [B
						/Msg TempDict.LastReleaseName def
						exitloop	
					] if 
				] forall
			] if		
			[A Result Msg ]
		] def
		
		/CheckEloSWVersionCompatible [P
			[A EloSWVersion Controller]
			/Result #0 def		
			Controller /SupportedDSWVersions known [B
				Controller.SupportedDSWVersions [B
					EloSWVersion eq [B
						/Result #1 def	
					] if 
				] forall
			] if		
			[A Result]
		] def
		
		/GetEloDict [P
			[A Type]
			/EloDict Controllers 0 get def	% changed from 1 to 0, Ro, 20090324
			Controllers [B
				/TempEloDict exch def
				TempEloDict.TypeID Type eq [B
					/EloDict TempEloDict def
				] if 
			] forall		
			[A EloDict]
		] def
		
		
		/SelectIntf [P
			[A /IntfArray]
			
			% init variables
			/Result #0 def		
			/IntfSel IntfArray 0 get def
			
			% create choose interface dialog
			/IntfDlg 'Choose Interface' 250 140 Create:Form def
			% add ok/cancel buttons
			75 25 IntfDlg.SetButtonSize
			'Ok' '' 'Ok' 1 50 70 IntfDlg.AddButton
			'Cancel' '' 'Cancel' 2 144 70 IntfDlg.AddButton
			
			%add Interface combo box
			
			
			% create label and combo box
			'IntfLabel' '' 'Interface:' 17 19 IntfDlg.AddLabel
			
			130 21 IntfDlg.SetComboSize
			'IntfCombo' '' 88 16 IntfDlg.AddCombo
			
			% create one entry for each interface
			/First 1 def
			IntfArray [B
				/TmpIntf exch def
				'IntfCombo' TmpIntf.Caption IntfDlg.AddString
				First 1 eq [B
					'IntfCombo' TmpIntf.Caption IntfDlg.SetStrVal
					/First 0 def
				] if
			] forall    
			/TmpIntf IntfArray 0 get def
			
			% execute dialog
			IntfDlg.Execute 1 eq [B
				/IntfCaption 'IntfCombo' IntfDlg.GetStrVal def      		
				IntfArray [B
					/TmpIntf exch def
					TmpIntf.Caption IntfCaption eq [B
						/IntfSel TmpIntf def	
					] if	  			
				] forall
				/Result #1 def
			] if
			[A /IntfSel /Result]
		] def
		
		
		/SelectAppl [P
			[A /ApplArray]
			
			% init variables
			/Result #0 def		
			/ApplSel ApplArray 0 get def
			
			% create choose application dialog
			/ApplDlg 'Choose Application' 218 140 Create:Form def
			% add ok/cancel buttons
			75 25 ApplDlg.SetButtonSize
			'Ok' '' 'Ok' 1 17 70 ApplDlg.AddButton
			'Cancel' '' 'Cancel' 2 112 70 ApplDlg.AddButton
			
			%add application combo box
			
			
			% create label and combo box
			'ApplLabel' '' 'Application:' 17 19 ApplDlg.AddLabel
			
			99 21 ApplDlg.SetComboSize
			'ApplCombo' '' 88 16 ApplDlg.AddCombo
			
			% create one entry for each application
			/First 1 def
			ApplArray [B
				/TmpAppl exch def
				'ApplCombo' TmpAppl.Caption ApplDlg.AddString
				First 1 eq [B
					'ApplCombo' TmpAppl.Caption ApplDlg.SetStrVal
					/First 0 def
				] if
			] forall    
			/TmpAppl ApplArray 0 get def
			
			% execute dialog
			ApplDlg.Execute 1 eq [B
				/ApplCaption 'ApplCombo' ApplDlg.GetStrVal def      		
				ApplArray [B
					/TmpAppl exch def
					TmpAppl.Caption ApplCaption eq [B
						/ApplSel TmpAppl def	
					] if	  			
				] forall
				/Result #1 def
			] if
			[A /ApplSel /Result]
		] def
		
		
		/ReadyForStopDlg [P
			[A ]
			/Result #0 def		
			/ReadyDlg 'Ready to Download' 400 150 Create:Form def
			
			'Label1' '' 'The System is ready to download the firmware.' 17 19 ReadyDlg.AddLabel
			'Label2' '' 'The download procedure will erase all former settings.' 17 32 ReadyDlg.AddLabel
			'Label3' '' 'Do you want to continue?' 17 55 ReadyDlg.AddLabel
			
			% add ok/cancel buttons
			75 25 ReadyDlg.SetButtonSize
			'Ok' '' 'Ok' 1 108 80 ReadyDlg.AddButton
			'Cancel' '' 'Cancel' 2 203 80 ReadyDlg.AddButton	
			/Result ReadyDlg.Execute 1 eq def 
			
			[A /Result]
		] def
		
		/AbortDlg [P
			[A Msg Msg2 Msg3 ]
			
			
			Msg3 '' ne [B
				/AbortDlg 'Abort' 520 180 Create:Form def
				'AbortLbl' '' 'Installation aborted!' 20 19 AbortDlg.AddLabel
				'AbortMsg' '' Msg 20 49 AbortDlg.AddLabel
				'AbortMsg2' '' Msg2 20 65 AbortDlg.AddLabel
				'AbortMsg3' '' Msg3 20 81 AbortDlg.AddLabel
				% add ok button
				75 25 AbortDlg.SetButtonSize
				'Ok' '' 'Ok' 1 235 106 AbortDlg.AddButton
			]
			[B	
				Msg2 '' ne [B
					/AbortDlg 'Abort' 450 160 Create:Form def
					'AbortLbl' '' 'Installation aborted!' 20 19 AbortDlg.AddLabel
					'AbortMsg' '' Msg 20 49 AbortDlg.AddLabel
					'AbortMsg2' '' Msg2 20 65 AbortDlg.AddLabel
					% add ok button
					75 25 AbortDlg.SetButtonSize
					'Ok' '' 'Ok' 1 185 90 AbortDlg.AddButton
				]	
				[B
					/AbortDlg 'Abort' 368 150 Create:Form def
					'AbortLbl' '' 'Installation aborted!' 92 19 AbortDlg.AddLabel
					'AbortMsg' '' Msg 92 49 AbortDlg.AddLabel
					% add ok button
					75 25 AbortDlg.SetButtonSize
					'Ok' '' 'Ok' 1 146 80 AbortDlg.AddButton
				] ifelse
			] ifelse  
			
			AbortDlg.Execute
			[A ]
		] def
		
		/SuccessDlg [P
			[A Msg]
			
			/SuccessDlg 'Success' 368 140 Create:Form def
			
			'SuccessLbl' '' 'Installation successfully completed!' 92 19 SuccessDlg.AddLabel   	    	
			
			% add ok button
			75 25 SuccessDlg.SetButtonSize
			'Ok' '' 'Ok' 1 146 70 SuccessDlg.AddButton
			SuccessDlg.Execute
			[A ]
		] def
		
		/InstallationOkPowerUPDlg [P
			[A ]
			
			/PowerUPDlg 'Power UP' 450 140 Create:Form def
			'PowerUPLbl' '' 'Installation successfully completed! Please power cycle the drive, then press OK!' 10 19 PowerUPDlg.AddLabel
			% add ok button
			75 25 PowerUPDlg.SetButtonSize
			'Ok' '' 'Ok' 1 190 70 PowerUPDlg.AddButton
			PowerUPDlg.Execute
			[A ]
		] def
		
		/FileCheck [P
			[A ]
			/Result #1 def
			/MissingFile '' def
			% OS
			Result [B	
				/FileName FilePath OSDir add '\' add OSLoaderFile add def
				FileName '.stx' add FileExist [B
					OSLoaderFile nknown not [B FileName import ] if
					#0 OSLoadSW not [B
						/Result #0 def 
						/MissingFile exch def
					] if
				][B
					/Result #0 def 
					/MissingFile FileName def
				] ifelse
			] if
			% MC  
			Controller.InstallMCSW 1 eq [B	
				Result [B	
					/FileName FilePath MCDir add '\' add MCLoaderFile add def
					FileName '.stx' add FileExist [B
						MCLoaderFile nknown not [B FileName import ] if
						#0 MCLoadSW not [B
							/Result #0 def 
							/MissingFile exch def
						] if
					][B
						/Result #0 def 
						/MissingFile FileName def
					] ifelse
				] if
			]if
			% Interface
			Result [B	
				IntfSel.Name 'None' ne [B
					/FileName FilePath InterfacesDir add '\' add IntfLoaderFile add def
					FileName '.stx' add FileExist [B
						IntfLoaderFile nknown not [B FileName import ] if
						#0 IntfLoadSW not [B
							/Result #0 def 
							/MissingFile exch def
						] if
					][B
						/Result #0 def 
						/MissingFile FileName def
					] ifelse
				] if
			] if 			  
			% Application
			Result [B	
				ApplSel.Name 'None' ne [B
					/FileName FilePath ApplicationsDir add '\' add ApplLoaderFile add def
					FileName '.stx' add FileExist [B
						ApplLoaderFile nknown not [B FileName import ] if
						#0 ApplLoadSW not [B
							/Result #0 def 
							/MissingFile exch def
						] if
					][B
						/Result #0 def 
						/MissingFile FileName def
					] ifelse
				] if
			] if 			  
			
			[A /MissingFile /Result]
		] def
				
	]
	
	/InstallProc [P
		
		[A ]
		/Continue #1 def
		'Checking Servo Drive...' log
		/EloType  GetEloType def
		EloType CheckEloIsKnown [B
			/Controller EloType GetEloDict def			
			%'Device Type: ' Controller.Name add log
			'Device Text: ' GetEloTypeStr add log
			'Device Type ID: 0' EloType 16 cvrs add 'h' add log
			Controller.TypeSupported 1 eq [B
				/Family Controller.EloTypeExt def
				% Release Info
				/RelDict RelInfoDict Family cvn get def
				/ReleaseVersion RelDict.RelVersion  def
				/ReleaseSubVersion RelDict.RelSubVersion def
				/ReleaseBuildInfo RelDict.RelBuildInfo def
				/ReleaseString RelDict.RelString def
				% OS Info
				/RelDict OSInfoDict Family cvn get def
				/OSSWVersion RelDict.SWVersion def
				/OSSWSubVersion RelDict.SWSubVersion def
				/OSSWBetaInfo RelDict.SWBetaInfo def
				/OSTreeVersion	RelDict.TreeVersion def
				/OSTreeSubVersion RelDict.TreeSubVersion def
				/OSTreeBetaInfo RelDict.TreeBetaInfo def
				/OSTreeFileName RelDict.TreeFileName def
				
				Controller.InstallMCSW 1 eq [B
					% MC Info
					/RelDict MCInfoDict Family cvn get def
					/MCSWVersion RelDict.SWVersion def
					/MCSWSubVersion RelDict.SWSubVersion def
					/MCSWBetaInfo RelDict.SWBetaInfo def
					/MCTreeVersion RelDict.TreeVersion def
					/MCTreeSubVersion RelDict.TreeSubVersion def
					/MCTreeBetaInfo RelDict.TreeBetaInfo def
					/MCTreeFileName RelDict.TreeFileName def
					/MCSWFileName RelDict.MCSWFileName def
				]if
				
				'Device Type Supported: True' log
				/EloHWVersion GetEloVersion def
				'Device HW Version: 0' EloHWVersion 16 cvrs add 'h' add log	
				EloHWVersion Controller CheckHWVersionCompatible 
				/LastCompatibleFirmware exch def
				/Compatible exch def
				Compatible [B
					'Device HW version supported: True' log
					Controller.InstallMCSW 1 eq [B					
						/EloSWVersion GetEloSWVersion def
						'Device SW Version: ' EloSWVersion cvs add log
					][B
						/EloSWVersion $00 def 		
					]ifelse
					EloSWVersion Controller CheckEloSWVersionCompatible [B 
						Controller.InstallMCSW 1 eq [B	
								'Device SW ID Supported: True' log		    
								'' log
							/PowerExtension Controller.PowerExtension def
						]if
						
						/EloTypeExt Controller.EloTypeExt def
						Controller /OSTypeExt known [B
							/OSTypeExt Controller.OSTypeExt def
						] [B
							/OSTypeExt '' def
						] ifelse		
						Controller /UPOSExt known [B
							/UPOSExt Controller.UPOSExt def
						] [B
							/UPOSExt '' def
						] ifelse		
						/IntfTypeExt Controller.IntfTypeExt def
						/ApplTypeExt Controller.ApplTypeExt def
						/EasyStepsParExt Controller.EasyStepsParExt def
						
						% Interfaces						
						Controller.Interfaces Count 0 eq [B
							/NoIntf #1 def	
						][B
							/NoIntf #0 def
						] ifelse
						
						'Interfaces compatible with Drive: ' log
						Controller.Interfaces [B
							/IntfInfo exch def
							IntfInfo.Name 'No' ne [B
								'- ' IntfInfo.Caption add log
							] if
						] forall
						/Continue #1 def
						
						Controller.Interfaces count 1 gt [B
							ProgFlag not [B														
								Controller.Interfaces SelectIntf [B
									/IntfSel exch def
									IntfSel.Caption ' selected.' add log				
								][B
									/IntfSel exch def
									'Installation aborted! No Interface selected!' log				
									/Continue #0 def
								] ifelse
							]
							[B
								Controller.Interfaces [B
									/IntfSel exch def
									ExitLoop								
								] forall
							] ifelse	
						][B  	
							NoIntf not [B
								Controller.Interfaces [B
									/IntfSel exch def  
								] forall  
								IntfSel.Caption ' Interface selected.' add log				
							] if
						] ifelse
						
						Continue [B
							% Applications
							Controller.Applications Count 0 eq [B
								/NoAppl #1 def	
							][B
								/NoAppl #0 def
							] ifelse
							
							'Applications compatible with Drive: ' log
							Controller.Applications [B
								/ApplInfo exch def
								ApplInfo.Name 'None' ne [B
									'- ' ApplInfo.Caption add log
								] if
							] forall
							/Continue #1 def
							
							Controller.Applications count 1 gt [B
								ProgFlag not [B														
									Controller.Applications SelectAppl [B
										/ApplSel exch def
										ApplSel.Caption ' selected.' add log				
									][B
										/ApplSel exch def
										'Installation aborted! No Application selected!' log				
										/Continue #0 def
									] ifelse
								]
								[B
									Controller.Applications [B
										/ApplSel exch def
										ExitLoop								
									] forall
								] ifelse	
							][B  	
								NoAppl not [B
									Controller.Applications [B
										/ApplSel exch def  
									] forall  
									ApplSel.Caption ' Application selected.' add log				
								] if
							] ifelse
						] if	
						
						Continue [B
							'' log
							'Checking files...'  log	
							
							FileCheck [B
								'...all necessary files have been found.' log	
								'' log
								'Installing Firmware Release ' ReleaseString add  log
								'' log
								
								ProgFlag not [B
									/Bool ReadyForStopDlg def
								]
								[B
									/Bool #1 def
								] ifelse
								
								Bool [B							
									'Starting download procedure...' log
									'' log
									Continue [B
										FWInstallValidAddr InstallationInvalid WriteWordToElo
										OSInstallValidAddr InstallationInvalid WriteWordToElo
										MCInstallValidAddr InstallationInvalid WriteWordToElo
										INTFInstallValidAddr InstallationInvalid WriteWordToElo
										APPLInstallValidAddr InstallationInvalid WriteWordToElo
										
									] if 
									
									Continue [B
										#1 OSLoadSW
										/Continue exch def
										/MissingFile exch def
										'' log
										Continue [B
											OSInstallValidAddr InstallationValid WriteWordToElo
											'' TalkIntf.DeviceLogin											
											/PIVar:FlashInfo PackInst:_GetFlashInfo def
										] if
									] if
									
									Controller.InstallMCSW 1 eq [B
										Continue [B
											#1 MCLoadSW
											/Continue exch def
											/MissingFile exch def
											'' log
											Continue [B
												MCInstallValidAddr InstallationValid WriteWordToElo
											] if
										] if
									]if
									
									Continue [B
										IntfSel.Name 'None' ne [B
											#1 IntfLoadSW
											/Continue exch def
											/MissingFile exch def
											'' log
											Continue [B
												INTFInstallValidAddr InstallationValid WriteWordToElo
											] if
										] if
									] if
									
									Continue [B
										ApplSel.Name 'None' ne [B
											#1 ApplLoadSW
											/Continue exch def
											/MissingFile exch def
											'' log
											Continue [B
												APPLInstallValidAddr InstallationValid WriteWordToElo
											] if
										] if
									] if
									
									Continue [B
%										'Erasing remanent memory blocks...' log
%										% clear remanent memory blocks of MC, INTF and APPL
%										MCRemVarStart   MCRemVarEnd   $0000 WriteBlockToElo						
%										INTFRemVarStart INTFRemVarEnd $0000 WriteBlockToElo						
%										APPLRemVarStart APPLRemVarEnd $0000 WriteBlockToElo						
										
										
										/TalkVersion PIVar:TalkVersion $F0 and def
										
										%B1100
										TalkVersion $40 eq [B	
											/ReleaseInfoAddr		Offset $830 add def
											/ReleaseVersionAddr 	Offset $850 add def
											/ReleaseSubVersionAddr	Offset $852 add def
											ProgFlag [B $C80E $0 WriteWordToElo ] if
										]if
										
										%E1100 
										TalkVersion $20 eq [B	
											/ReleaseInfoAddr		Offset $748 add def
											/ReleaseVersionAddr 	Offset $7A8 add def
											/ReleaseSubVersionAddr	Offset $7AA add def
											ProgFlag [B $9210 $0 WriteWordToElo ] if
										]if
										%E1250
										TalkVersion $30 eq [B	
											/ReleaseInfoAddr		Offset $1F48 add def
											/ReleaseVersionAddr 	Offset $1FA8 add def
											/ReleaseSubVersionAddr	Offset $1FAA add def
											ProgFlag [B $D0001816 $0 WriteWordToElo ] if
										]if
										%A1100, C1100
										TalkVersion $50 eq [B	
											/ReleaseInfoAddr		Offset $830 add def
											/ReleaseVersionAddr 	Offset $850 add def
											/ReleaseSubVersionAddr	Offset $852 add def
											ProgFlag [B $F80E $0 WriteWordToElo ] if
										]if
										%C1200
										TalkVersion $60 eq [B	
											/ReleaseInfoAddr		Offset $1F48 add def
											/ReleaseVersionAddr 	Offset $1FA8 add def
											/ReleaseSubVersionAddr	Offset $1FAA add def
											ProgFlag [B $D0001816 $0 WriteWordToElo ] if
										]if
										
										'Writing Release Info...' log
										
										ReleaseInfoAddr ReleaseString 32 ' ' padr WriteStringToElo
										ReleaseVersionAddr ReleaseVersion WriteWordToElo
										ReleaseSubVersionAddr ReleaseSubVersion WriteWordToElo
										FWInstallValidAddr InstallationValid WriteWordToElo
										
										TalkVersion $40 eq [B
											SaveDefaultValuesAddr SaveDevaultValuesPattern WriteWordToElo
										] if   	         								
										
										'' log
										'Resetting Device. Please wait...' log
										ResetDevice                                                                                            
										6000 wait
										
									] if
									
									Continue not [B
										'Installation aborted! ' log
										'' '' '' AbortDlg														
									][B
										'Installation successfully completed!' log
										ProgFlag not [B
											TalkVersion [B
												$30 [B
													%InstallationOkPowerUPDlg
													SuccessDlg
												]
											]  
											[B  
												SuccessDlg
											] case  
										] if
									] ifelse
								][B
									/Continue #0 def
									'Installation aborted! ' log																				
								] ifelse						
							][B
								/Continue #0 def
								/MissingFile exch def
								'Installation aborted! ' log											
								'File not found: \' MissingFile add log
								'File not found: \' MissingFile add '' '' AbortDlg								
							] ifelse								
						] if		
						
					][B
						/Continue #0 def
						'Device SW ID Supported: False' log				
						'' log
						'Installation aborted! ' log
						'Device SW ID not supported!' '' '' AbortDlg
					] ifelse
				][B
					/Continue #0 def
					'Device HW version supported: False' log				
					'' log
					'Installation aborted! '
					'The Version ' add EloHWVersion 16 cvrs add 'h' add 
					' of the Drive ' add Controller.Name add 
					' is not compatible with this firmware release!' add log 
					LastCompatibleFirmware '' ne [B
						'HW version not supported!' 'Last firmware version that supports this hardware: ' LastCompatibleFirmware add 
						'The corresponding installation script file can be found in the subfolder: ..\Firmware\OlderReleases\'  AbortDlg				
					]
					[B
						'Please try a newer firmware release!' log
						'HW version not supported! ' '' '' AbortDlg
					] ifelse  
				] ifelse
			][B
				/Continue #0 def
				'Device Type Supported: False' log	
				'' log
				'Installation aborted! '
				'The Drive ' add Controller.Name add 
				' is not compatible with this firmware release!' add log
				'Device Type not supported!' '' '' AbortDlg							
			] ifelse
		][B
			/Continue #0 def
			'Device Type: 0' EloType 16 cvrs add 'h' add log
			'' log
			'Installation aborted! Unknown  Device Type!' log
			'Unknown  Device Type!' '' '' AbortDlg
		] ifelse       	
		
		[A /Continue ]
		
	]
	
	/InitPackInst [B
		ProgFlag [B
			/DevName exch def        	        	
			/Device Create:Device def
			DevName Device.AssignDevice
			DevName /PackInst:OnMessageCallback PackInst:Init
		] [B
			/PackInst:OnMessageCallback PackInst:InitNew
			/Device PIVar:Device def
			/PortName 'PortName' Device.GetDeviceVar def
		] ifelse
		/InitResult exch def
		InitResult [B
			/TalkIntf PIVar:TalkIntf def
			/TalkVersion PIVar:TalkVersion $F0 and def
			/InstallationInvalid $ffff def
			/InstallationValid $1111 def
			TalkVersion [B
			
				% E1100 
				$20 [B 
					/Offset $200000 def 
					/FWInstallValidAddr $20071A def
					/OSInstallValidAddr $20073E def
					/MCInstallValidAddr $200740 def
					/INTFInstallValidAddr $200742 def
					/APPLInstallValidAddr $200744 def
					
					/MCRemVarStart   $009300 def
					/MCRemVarEnd     $0093FF def
					/INTFRemVarStart $009400 def
					/INTFRemVarEnd   $00947F def
					/APPLRemVarStart $009480 def
					/APPLRemVarEnd   $0094FF def
					
				]

				% E1250	
				$30 [B 
					/Offset $A2000000 def 
					/FWInstallValidAddr $A2001940 def
					/OSInstallValidAddr $A2001942 def
					/MCInstallValidAddr $A2001944 def
					/INTFInstallValidAddr $A2001946 def
					/APPLInstallValidAddr $A2001948 def
					/IPAddressAddrWorking $C0000084 def
					/NetMaskAddrWorking $C0000088 def
					/DefaultGatewayAddrWorking $C000008C def           				           				
					/IPAddressAddr $A2001840 def
					/NetMaskAddr $A2001844 def
					/DefaultGatewayAddr $A2001848 def           				
					/IPConfigModeAddr $A200184E def
					/DefGWConfigModeAddr $A2001892 def
					
					/MCRemVarStart   $D0002000 def
					/MCRemVarEnd     $D000203F def
					/INTFRemVarStart $D0003000 def
					/INTFRemVarEnd   $D000303F def
					/APPLRemVarStart $D0003800 def
					/APPLRemVarEnd   $D000383F def				
				] 

				% B1100
				$40 [B 
					/Offset $300000 def 
					/FWInstallValidAddr $30086A def
					/OSInstallValidAddr $30086C def
					/MCInstallValidAddr $30086E def
					/INTFInstallValidAddr $300870 def
					/APPLInstallValidAddr $300872 def
					/MACIDSourceSelAddr $300860 def
					/MACIDValueAddr $300802 def
					
					/MCRemVarStart   $E00200 def
					/MCRemVarEnd     $E0021F def
					/INTFRemVarStart $00FA00 def
					/INTFRemVarEnd   $00FA1F def
					/APPLRemVarStart $00FC00 def
					/APPLRemVarEnd   $00FC1F def
					
					/SaveDefaultValuesAddr 		$30080A def
					/SaveDevaultValuesPattern 	$579B   def
				]
				
				% A1100, C1100	
				$50 [B 
					/Offset $300000 def 
					/FWInstallValidAddr $30086A def
					/OSInstallValidAddr $30086C def
					/MCInstallValidAddr $30086E def
					/INTFInstallValidAddr $300870 def
					/APPLInstallValidAddr $300872 def
					/MACIDSourceSelAddr $300860 def
					/MACIDValueAddr $300802 def
					
					/MCRemVarStart   $E00200 def
					/MCRemVarEnd     $E0021F def
					/INTFRemVarStart $00FA00 def
					/INTFRemVarEnd   $00FA1F def
					/APPLRemVarStart $00FC00 def
					/APPLRemVarEnd   $00FC1F def
					
					/SaveDefaultValuesAddr 		$30080A def
					/SaveDevaultValuesPattern 	$579B   def
				] 

				% C1200
				$60 [B 
					/Offset $A2000000 def 
					/FWInstallValidAddr $A2001940 def
					/OSInstallValidAddr $A2001942 def
					/MCInstallValidAddr $A2001944 def
					/INTFInstallValidAddr $A2001946 def
					/APPLInstallValidAddr $A2001948 def
					/IPAddressAddrWorking $C0000084 def
					/NetMaskAddrWorking $C0000088 def
					/DefaultGatewayAddrWorking $C000008C def           				           				
					/IPAddressAddr $A2001840 def
					/NetMaskAddr $A2001844 def
					/DefaultGatewayAddr $A2001848 def           				
					/IPConfigModeAddr $A200184E def
					/DefGWConfigModeAddr $A2001892 def
					
					/MCRemVarStart   $D0002000 def
					/MCRemVarEnd     $D000203F def
					/INTFRemVarStart $D0003000 def
					/INTFRemVarEnd   $D000303F def
					/APPLRemVarStart $D0003800 def
					/APPLRemVarEnd   $D000383F def
					
				] 

			]
			[B				
				'Installation aborted! Unknown talk protocol version!' raisese
			] case
			/log [B 'LogTxt' exch PackInst:OnMessageCallback ] def
			#1
		] [B
			#0
		] ifelse
	]
	
	/PackInstExit [B
		PackInst:Exit
	]
	
]
