--- a/trunk/IoDrvMEGAIO_1/IoDrvMEGAIO/ICmpIoDrv/IoDrvUpdateConfiguration/svnobj
+++ b/trunk/IoDrvMEGAIO_1/IoDrvMEGAIO/ICmpIoDrv/IoDrvUpdateConfiguration/svnobj
@@ -1,5 +1,5 @@
-Gx_lf!0…jüo-Ì3ÂÛé"L—System.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
-longTagText
ŠIoDrvUpdateConfiguration_Count := IoDrvUpdateConfiguration_Count + 1;TIoDrvUpdateConfiguration := Errors.ERR_OK;8IF (pConnectorList = 0) THEN	RETURN;END_IFÄm_pConnector := IoMgrConfigGetConnector(pConnectorList, ADR(nCount), m_wModuleType, m_dwInstance);0IF m_pConnector = 0 THENd	IoDrvUpdateConfiguration := ERRORS.ERR_PARAMETER;^//check if device is enabled in the device tree€IF (m_pConnector^.dwFlags AND ConnectorFlags.CF_ENABLE) = 0 THENV	IoDrvUpdateConfiguration := Errors.ERR_OK;@IF m_pConnector^.hIoDrv = 0 THENL	m_pConnector^.hIoDrv := m_hInterface;^	m_pConnector^.pFather^.hIoDrv := m_hInterface;	V	{IF defined (pou:IoMgrConfigSetDiagnosis)}L	IoMgrConfigSetDiagnosis(m_pConnector,X							ConnectorFlags.CF_DRIVER_AVAILABLE OR V							ConnectorFlags.CF_CONNECTOR_FOUND OR!`							ConnectorFlags.CF_CONNECTOR_CONFIGURED OR"V							ConnectorFlags.CF_CONNECTOR_ACTIVE);#	{END_IF}$^	IoMgrConfigSetDiagnosis(m_pConnector^.pFather,%^	{IF defined (pou:IoMgrSetDriverProperties)}			&¸		IoMgrSetDriverProperties(m_hInterface, DRVPROP_CONSISTENCY OR DRVPROP_BACKGROUND_GETDIAG);'&	{END_IF}										(\	// Map config-, input- and output parameters )v	pParameter := IoMgrConfigGetParameter(m_pConnector, 1000);*4	IF (pParameter <> 0) THEN+l		pParameter^.dwDriverSpecific := ADR(_instance.stIn);,	END_IF-    .v	pParameter := IoMgrConfigGetParameter(m_pConnector, 2000);/n		pParameter^.dwDriverSpecific := ADR(_instance.stOut);0|	// pParameter := IoMgrConfigGetParameter(m_pConnector, 3000);1:	// IF (pParameter <> 0) THEN2¬	// 	pudtConfig := IoStandard.ConfigGetParameterValuePointer(pParameter, ADR(Result));3P	// 	_instance.udtConfig := pudtConfig^;4	// END_IF5Interface6L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}7:{attribute 'conditionalshow'}8NMETHOD IoDrvUpdateConfiguration : UDINT9VAR_INPUT:^	pConnectorList : POINTER TO IoConfigConnector;;	nCount : DINT;<END_VAR=VAR>X	pParameter : POINTER TO IoConfigParameter;	?2	Result : RTS_IEC_RESULT;@J	pudtConfig : POINTER TO IoDrvConfig;A	i : int;ÐÐÐE=ÐÐ	
+Gx_lü!0…jüoƶ¸@ozjSystem.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
+longTagText
ŠIoDrvUpdateConfiguration_Count := IoDrvUpdateConfiguration_Count + 1;TIoDrvUpdateConfiguration := Errors.ERR_OK;8IF (pConnectorList = 0) THEN	RETURN;END_IFÄm_pConnector := IoMgrConfigGetConnector(pConnectorList, ADR(nCount), m_wModuleType, m_dwInstance);0IF m_pConnector = 0 THENd	IoDrvUpdateConfiguration := ERRORS.ERR_PARAMETER;^//check if device is enabled in the device tree€IF (m_pConnector^.dwFlags AND ConnectorFlags.CF_ENABLE) = 0 THENV	IoDrvUpdateConfiguration := Errors.ERR_OK;@IF m_pConnector^.hIoDrv = 0 THENL	m_pConnector^.hIoDrv := m_hInterface;^	m_pConnector^.pFather^.hIoDrv := m_hInterface;	V	{IF defined (pou:IoMgrConfigSetDiagnosis)}L	IoMgrConfigSetDiagnosis(m_pConnector,X							ConnectorFlags.CF_DRIVER_AVAILABLE OR V							ConnectorFlags.CF_CONNECTOR_FOUND OR!`							ConnectorFlags.CF_CONNECTOR_CONFIGURED OR"V							ConnectorFlags.CF_CONNECTOR_ACTIVE);#	{END_IF}$^	IoMgrConfigSetDiagnosis(m_pConnector^.pFather,%^	{IF defined (pou:IoMgrSetDriverProperties)}			&¸		IoMgrSetDriverProperties(m_hInterface, DRVPROP_CONSISTENCY OR DRVPROP_BACKGROUND_GETDIAG);'&	{END_IF}										(\	// Map config-, input- and output parameters )v	pParameter := IoMgrConfigGetParameter(m_pConnector, 1000);*4	IF (pParameter <> 0) THEN+l		pParameter^.dwDriverSpecific := ADR(_instance.stIn);,	END_IF-    .v	pParameter := IoMgrConfigGetParameter(m_pConnector, 2000);/n		pParameter^.dwDriverSpecific := ADR(_instance.stOut);0   1v	pParameter := IoMgrConfigGetParameter(m_pConnector, 3000);2¤		pstConfig := IoStandard.ConfigGetParameterValuePointer(pParameter, ADR(Result));3@		_instance.stCfg := pstConfig^;4Interface5L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}6:{attribute 'conditionalshow'}7NMETHOD IoDrvUpdateConfiguration : UDINT8VAR_INPUT9^	pConnectorList : POINTER TO IoConfigConnector;:	nCount : DINT;;END_VAR<VAR=X	pParameter : POINTER TO IoConfigParameter;	>2	Result : RTS_IEC_RESULT;?H	pstConfig : POINTER TO IoDrvConfig;@	i : int;ÐÐÐE=ÐÐ	
 ­2ÚÐ-
ÐÐ	
 ­ÍÚÐ-ÐÐ	
 ­3ÚÐ-ÐÐ	
@@ -54,23 +54,23 @@
 ­RÚÐ-*ÐÐ	
 ­SÚÐ-/ÐÐ	
 ­TÚÐ-,ÐÐ	
-­VÚÐ--ÐÐ	
-­WÚÐ-0ÐÐ	
-­XÚÐ-1ÐÐ	
+­VÚÐ-0ÐÐ	
+­WÚÐ-1ÐÐ	
+­XÚÐ-*ÐÐ	
 ­]ÚÐ-2ÐÐ	
 ­[ÚÐ-3ÐÐ	
-­ZÚÐ-4ÐÐ	
-­	ÚÐ-Ð56ÐE
ÐÐ	
-­ÚÐ-7ÐÐ	
-­ÚÐ-8ÐÐ	
-­ÚÐ-9ÐÐ	
-­ÚÐ-:ÐÐ	
-­ÚÐ-;ÐÐ	
-­ÚÐ-<ÐÐ	
-­PÚÐ-=ÐÐ	
-­:ÚÐ->ÐÐ	
-­ÚÐ-?ÐÐ	
-­\ÚÐ-@ÐÐ	
-­gÚÐ-AÐÐ	
-­ÚÐ-<ÐÐ	
+­ZÚÐ-,ÐÐ	
+­	ÚÐ-Ð45ÐE
ÐÐ	
+­ÚÐ-6ÐÐ	
+­ÚÐ-7ÐÐ	
+­ÚÐ-8ÐÐ	
+­ÚÐ-9ÐÐ	
+­ÚÐ-:ÐÐ	
+­ÚÐ-;ÐÐ	
+­PÚÐ-<ÐÐ	
+­:ÚÐ-=ÐÐ	
+­ÚÐ->ÐÐ	
+­\ÚÐ-?ÐÐ	
+­gÚÐ-@ÐÐ	
+­ÚÐ-;ÐÐ	
 ­ÚÐ-