]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
Many fixes in OD of DS401_Slave_GUI. Still very unstable. Work in progress
authoretisserant <etisserant>
Tue, 2 Oct 2007 15:57:16 +0000 (15:57 +0000)
committeretisserant <etisserant>
Tue, 2 Oct 2007 15:57:16 +0000 (15:57 +0000)
examples/DS401_Slave_Gui/CallBack.cpp
examples/DS401_Slave_Gui/DS401_Slave_Gui.eds
examples/DS401_Slave_Gui/ObjDict.c
examples/DS401_Slave_Gui/ObjDict.h
examples/DS401_Slave_Gui/ObjDict.od
examples/DS401_Slave_Gui/TestSlaveGui.cpp
examples/DS401_Slave_Gui/main.cpp

index cee9b59a7191c981f832ac06017ed0c1bcc4621b..3b8016f565fa5bc73189d8a5c2ef2f2f94f9b3ee 100644 (file)
@@ -37,27 +37,27 @@ extern wxTextCtrl   *textLog;
 /*****************************************************************************/
 void Call_heartbeatError(UNS8 heartbeatID)
 {
-       *textLog << wxT("HeartbeatError\n");
+       //*textLog << wxT("HeartbeatError\n");
 }
 
 void Call_initialisation()
 {
-       *textLog << wxT("Initialisation\n");
+       //*textLog << wxT("Initialisation\n");
 }
 
 void Call_preOperational()
 {
-       *textLog << wxT("PreOperational\n");
+       //*textLog << wxT("PreOperational\n");
 }
 
 void Call_operational()
 {
-       *textLog << wxT("Operational\n");
+       //*textLog << wxT("Operational\n");
 }
 
 void Call_stopped()
 {
-       *textLog << wxT("Stopped\n");
+       //*textLog << wxT("Stopped\n");
 }
 
 void Call_post_sync()
@@ -70,11 +70,11 @@ void Call_post_sync()
 
 void Call_post_TPDO()
 {
-       *textLog << wxT("Post_TPDO\n");
+       //*textLog << wxT("Post_TPDO\n");
 }
 
 void Call_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex)
 {
        printf("StoreODSubIndex : %4.4x %2.2x\n", wIndex,  bSubindex);
-       *textLog << wxT("StoreODSubIndex :\n");
+       //*textLog << wxT("StoreODSubIndex :\n");
 }
index dc8ccc0074bc469c83550d41afe6dfbf2dc3cf03..b72f279766c51b97b788982b59d1f37a484705df 100644 (file)
@@ -4,11 +4,11 @@ FileVersion=1
 FileRevision=1
 EDSVersion=4.0
 Description=
-CreationTime=06:00PM
-CreationDate=09-27-2007
+CreationTime=05:58PM
+CreationDate=10-02-2007
 CreatedBy=CANFestival
-ModificationTime=06:00PM
-ModificationDate=09-27-2007
+ModificationTime=05:58PM
+ModificationDate=10-02-2007
 ModifiedBy=CANFestival
 
 [DeviceInfo]
@@ -31,8 +31,8 @@ Granularity=8
 DynamicChannelsSupported=0
 CompactPDO=0
 GroupMessaging=0
-NrOfRXPDO=4
-NrOfTXPDO=4
+NrOfRXPDO=2
+NrOfTXPDO=3
 LSS_Supported=0
 
 [DummyUsage]
@@ -107,7 +107,7 @@ DefaultValue=65537
 PDOMapping=0
 
 [OptionalObjects]
-SupportedObjects=39
+SupportedObjects=35
 1=0x1002
 2=0x1005
 3=0x1008
@@ -123,30 +123,26 @@ SupportedObjects=39
 13=0x1200
 14=0x1400
 15=0x1401
-16=0x1402
-17=0x1403
-18=0x1600
-19=0x1601
-20=0x1800
-21=0x1801
-22=0x1802
-23=0x1803
-24=0x1A00
-25=0x1A01
-26=0x1A02
-27=0x1F50
-28=0x6000
-29=0x6002
-30=0x6200
-31=0x6202
-32=0x6206
-33=0x6207
-34=0x6401
-35=0x6411
-36=0x6423
-37=0x6426
-38=0x6443
-39=0x6444
+16=0x1600
+17=0x1601
+18=0x1800
+19=0x1801
+20=0x1802
+21=0x1A00
+22=0x1A01
+23=0x1A02
+24=0x6000
+25=0x6002
+26=0x6200
+27=0x6202
+28=0x6206
+29=0x6207
+30=0x6401
+31=0x6411
+32=0x6423
+33=0x6426
+34=0x6443
+35=0x6444
 
 [1002]
 ParameterName=Manufacturer Status Register
@@ -169,7 +165,7 @@ ParameterName=Manufacturer Device Name
 ObjectType=0x7
 DataType=0x0009
 AccessType=ro
-DefaultValue=
+DefaultValue=0
 PDOMapping=0
 
 [1009]
@@ -177,7 +173,7 @@ ParameterName=Manufacturer Hardware Version
 ObjectType=0x7
 DataType=0x0009
 AccessType=ro
-DefaultValue=
+DefaultValue=0
 PDOMapping=0
 
 [100A]
@@ -185,7 +181,7 @@ ParameterName=Manufacturer Software Version
 ObjectType=0x7
 DataType=0x0009
 AccessType=ro
-DefaultValue=
+DefaultValue=0
 PDOMapping=0
 
 [100C]
@@ -338,7 +334,7 @@ ParameterName=COB ID Client to Server (Receive SDO)
 ObjectType=0x7
 DataType=0x0007
 AccessType=ro
-DefaultValue=1600
+DefaultValue=$NODEID+0x600
 PDOMapping=0
 
 [1200sub2]
@@ -346,7 +342,7 @@ ParameterName=COB ID Server to Client (Transmit SDO)
 ObjectType=0x7
 DataType=0x0007
 AccessType=ro
-DefaultValue=1472
+DefaultValue=$NODEID+0x580
 PDOMapping=0
 
 [1400]
@@ -367,7 +363,7 @@ ParameterName=COB ID used by PDO
 ObjectType=0x7
 DataType=0x0007
 AccessType=rw
-DefaultValue=576
+DefaultValue=$NODEID+0x200
 PDOMapping=0
 
 [1400sub2]
@@ -396,7 +392,7 @@ ParameterName=COB ID used by PDO
 ObjectType=0x7
 DataType=0x0007
 AccessType=rw
-DefaultValue=832
+DefaultValue=$NODEID+0x300
 PDOMapping=0
 
 [1401sub2]
@@ -407,64 +403,6 @@ AccessType=rw
 DefaultValue=1
 PDOMapping=0
 
-[1402]
-ParameterName=Receive PDO 3 Parameter
-ObjectType=0x8
-SubNumber=3
-
-[1402sub0]
-ParameterName=Highest SubIndex Supported
-ObjectType=0x7
-DataType=0x0005
-AccessType=ro
-DefaultValue=2
-PDOMapping=0
-
-[1402sub1]
-ParameterName=COB ID used by PDO
-ObjectType=0x7
-DataType=0x0007
-AccessType=rw
-DefaultValue=2147484736
-PDOMapping=0
-
-[1402sub2]
-ParameterName=Transmission Type
-ObjectType=0x7
-DataType=0x0005
-AccessType=rw
-DefaultValue=1
-PDOMapping=0
-
-[1403]
-ParameterName=Receive PDO 4 Parameter
-ObjectType=0x8
-SubNumber=3
-
-[1403sub0]
-ParameterName=Highest SubIndex Supported
-ObjectType=0x7
-DataType=0x0005
-AccessType=ro
-DefaultValue=2
-PDOMapping=0
-
-[1403sub1]
-ParameterName=COB ID used by PDO
-ObjectType=0x7
-DataType=0x0007
-AccessType=rw
-DefaultValue=2147484992
-PDOMapping=0
-
-[1403sub2]
-ParameterName=Transmission Type
-ObjectType=0x7
-DataType=0x0005
-AccessType=rw
-DefaultValue=1
-PDOMapping=0
-
 [1600]
 ParameterName=Receive PDO 1 Mapping
 ObjectType=0x9
@@ -549,7 +487,7 @@ ParameterName=COB ID used by PDO
 ObjectType=0x7
 DataType=0x0007
 AccessType=rw
-DefaultValue=448
+DefaultValue=$NODEID+0x180
 PDOMapping=0
 
 [1800sub2]
@@ -594,7 +532,7 @@ ParameterName=COB ID used by PDO
 ObjectType=0x7
 DataType=0x0007
 AccessType=rw
-DefaultValue=704
+DefaultValue=$NODEID+0x280
 PDOMapping=0
 
 [1801sub2]
@@ -639,7 +577,7 @@ ParameterName=COB ID used by PDO
 ObjectType=0x7
 DataType=0x0007
 AccessType=rw
-DefaultValue=960
+DefaultValue=$NODEID+0x380
 PDOMapping=0
 
 [1802sub2]
@@ -666,51 +604,6 @@ AccessType=rw
 DefaultValue=0
 PDOMapping=0
 
-[1803]
-ParameterName=Transmit PDO 4 Parameter
-ObjectType=0x8
-SubNumber=5
-
-[1803sub0]
-ParameterName=Highest SubIndex Supported
-ObjectType=0x7
-DataType=0x0005
-AccessType=ro
-DefaultValue=5
-PDOMapping=0
-
-[1803sub1]
-ParameterName=COB ID used by PDO
-ObjectType=0x7
-DataType=0x0007
-AccessType=rw
-DefaultValue=2147484864
-PDOMapping=0
-
-[1803sub2]
-ParameterName=Transmission Type
-ObjectType=0x7
-DataType=0x0005
-AccessType=rw
-DefaultValue=1
-PDOMapping=0
-
-[1803sub3]
-ParameterName=Inhibit Time
-ObjectType=0x7
-DataType=0x0006
-AccessType=rw
-DefaultValue=0
-PDOMapping=0
-
-[1803sub5]
-ParameterName=Event Timer
-ObjectType=0x7
-DataType=0x0006
-AccessType=rw
-DefaultValue=0
-PDOMapping=0
-
 [1A00]
 ParameterName=Transmit PDO 1 Mapping
 ObjectType=0x9
@@ -822,35 +715,6 @@ AccessType=rw
 DefaultValue=1677789200
 PDOMapping=0
 
-[1F50]
-ParameterName=Download Program Data
-ObjectType=0x8
-SubNumber=3
-
-[1F50sub0]
-ParameterName=Number of Entries
-ObjectType=0x7
-DataType=0x0005
-AccessType=ro
-DefaultValue=3
-PDOMapping=0
-
-[1F50sub2]
-ParameterName=Compatibility
-ObjectType=0x7
-DataType=0x0005
-AccessType=rw
-DefaultValue=0
-PDOMapping=0
-
-[1F50sub3]
-ParameterName=Download Program Data - HW Settings
-ObjectType=0x7
-DataType=0x000F
-AccessType=rw
-DefaultValue=
-PDOMapping=0
-
 [6000]
 ParameterName=Read Inputs 8 Bit
 ObjectType=0x9
index 141dcca0546f7b2a42f9d1b720a581f8c19668fa..95c956a8cf97463da460dfca8c2fc70e0e0962a5 100644 (file)
@@ -84,7 +84,7 @@ UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value)
 {
   switch (typeValue) {
     case valueRange_EMC:
-      if (*(UNS8*)value > (UNS8)0) return OD_VALUE_TOO_HIGH;
+      if (*(UNS8*)value != (UNS8)0) return OD_VALUE_RANGE_EXCEEDED;
       break;
   }
   return 0;
@@ -94,7 +94,7 @@ UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value)
 /* The node id                                                            */
 /**************************************************************************/
 /* node_id default value.*/
-UNS8 ObjDict_bDeviceNodeId = 0x40;
+UNS8 ObjDict_bDeviceNodeId = 0x00;
 
 /**************************************************************************/
 /* Array of message processing information */
@@ -269,8 +269,8 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1200 :   Server SDO Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1200 = 2; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x640; /* 1600 */
-                    UNS32 ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x5C0;        /* 1472 */
+                    UNS32 ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x600; /* 1536 */
+                    UNS32 ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x580;        /* 1408 */
                     subindex ObjDict_Index1200[] = 
                      {
                        { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1200 },
@@ -280,7 +280,7 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1400 :   Receive PDO 1 Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1400 = 2; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1400_COB_ID_used_by_PDO = 0x240;  /* 576 */
+                    UNS32 ObjDict_obj1400_COB_ID_used_by_PDO = 0x200;  /* 512 */
                     UNS8 ObjDict_obj1400_Transmission_Type = 0x1;      /* 1 */
                     subindex ObjDict_Index1400[] = 
                      {
@@ -291,7 +291,7 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1401 :   Receive PDO 2 Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1401 = 2; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1401_COB_ID_used_by_PDO = 0x340;  /* 832 */
+                    UNS32 ObjDict_obj1401_COB_ID_used_by_PDO = 0x300;  /* 768 */
                     UNS8 ObjDict_obj1401_Transmission_Type = 0x1;      /* 1 */
                     subindex ObjDict_Index1401[] = 
                      {
@@ -300,28 +300,6 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
                        { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1401_Transmission_Type }
                      };
 
-/* index 0x1402 :   Receive PDO 3 Parameter. */
-                    UNS8 ObjDict_highestSubIndex_obj1402 = 2; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1402_COB_ID_used_by_PDO = 0x80000440;     /* 2147484736 */
-                    UNS8 ObjDict_obj1402_Transmission_Type = 0x1;      /* 1 */
-                    subindex ObjDict_Index1402[] = 
-                     {
-                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1402 },
-                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1402_COB_ID_used_by_PDO },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1402_Transmission_Type }
-                     };
-
-/* index 0x1403 :   Receive PDO 4 Parameter. */
-                    UNS8 ObjDict_highestSubIndex_obj1403 = 2; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1403_COB_ID_used_by_PDO = 0x80000540;     /* 2147484992 */
-                    UNS8 ObjDict_obj1403_Transmission_Type = 0x1;      /* 1 */
-                    subindex ObjDict_Index1403[] = 
-                     {
-                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1403 },
-                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1403_COB_ID_used_by_PDO },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1403_Transmission_Type }
-                     };
-
 /* index 0x1600 :   Receive PDO 1 Mapping. */
                     UNS8 ObjDict_highestSubIndex_obj1600 = 1; /* number of subindex - 1*/
                     UNS32 ObjDict_obj1600[] = 
@@ -354,7 +332,7 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1800 :   Transmit PDO 1 Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1800_COB_ID_used_by_PDO = 0x1C0;  /* 448 */
+                    UNS32 ObjDict_obj1800_COB_ID_used_by_PDO = 0x180;  /* 384 */
                     UNS8 ObjDict_obj1800_Transmission_Type = 0x1;      /* 1 */
                     UNS16 ObjDict_obj1800_Inhibit_Time = 0x0;  /* 0 */
                     UNS8 ObjDict_obj1800_Compatibility_Entry = 0x0;    /* 0 */
@@ -380,7 +358,7 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1801 :   Transmit PDO 2 Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1801 = 5; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1801_COB_ID_used_by_PDO = 0x2C0;  /* 704 */
+                    UNS32 ObjDict_obj1801_COB_ID_used_by_PDO = 0x280;  /* 640 */
                     UNS8 ObjDict_obj1801_Transmission_Type = 0x1;      /* 1 */
                     UNS16 ObjDict_obj1801_Inhibit_Time = 0x0;  /* 0 */
                     UNS8 ObjDict_obj1801_Compatibility_Entry = 0x0;    /* 0 */
@@ -406,7 +384,7 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
 /* index 0x1802 :   Transmit PDO 3 Parameter. */
                     UNS8 ObjDict_highestSubIndex_obj1802 = 5; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1802_COB_ID_used_by_PDO = 0x3C0;  /* 960 */
+                    UNS32 ObjDict_obj1802_COB_ID_used_by_PDO = 0x380;  /* 896 */
                     UNS8 ObjDict_obj1802_Transmission_Type = 0x1;      /* 1 */
                     UNS16 ObjDict_obj1802_Inhibit_Time = 0x0;  /* 0 */
                     UNS8 ObjDict_obj1802_Compatibility_Entry = 0x0;    /* 0 */
@@ -430,32 +408,6 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
                        { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1802_Event_Timer }
                      };
 
-/* index 0x1803 :   Transmit PDO 4 Parameter. */
-                    UNS8 ObjDict_highestSubIndex_obj1803 = 5; /* number of subindex - 1*/
-                    UNS32 ObjDict_obj1803_COB_ID_used_by_PDO = 0x800004C0;     /* 2147484864 */
-                    UNS8 ObjDict_obj1803_Transmission_Type = 0x1;      /* 1 */
-                    UNS16 ObjDict_obj1803_Inhibit_Time = 0x0;  /* 0 */
-                    UNS8 ObjDict_obj1803_Compatibility_Entry = 0x0;    /* 0 */
-                    UNS16 ObjDict_obj1803_Event_Timer = 0x0;   /* 0 */
-                    ODCallback_t ObjDict_Index1803_callbacks[] = 
-                     {
-                       NULL,
-                       NULL,
-                       NULL,
-                       NULL,
-                       NULL,
-                       NULL,
-                     };
-                    subindex ObjDict_Index1803[] = 
-                     {
-                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1803 },
-                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1803_COB_ID_used_by_PDO },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1803_Transmission_Type },
-                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1803_Inhibit_Time },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1803_Compatibility_Entry },
-                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1803_Event_Timer }
-                     };
-
 /* index 0x1A00 :   Transmit PDO 1 Mapping. */
                     UNS8 ObjDict_highestSubIndex_obj1A00 = 1; /* number of subindex - 1*/
                     UNS32 ObjDict_obj1A00[] = 
@@ -504,19 +456,6 @@ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
                        { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A02[3] }
                      };
 
-/* index 0x1F50 :   Download Program Data. */
-                    UNS8 ObjDict_highestSubIndex_obj1F50 = 3; /* number of subindex - 1*/
-                    UNS8 ObjDict_obj1F50_Compatibility_Entry = 0x0;    /* 0 */
-                    UNS8 ObjDict_obj1F50_Compatibility = 0x0;  /* 0 */
-                    UNS8* ObjDict_obj1F50_Download_Program_Data_HW_Settings = "";
-                    subindex ObjDict_Index1F50[] = 
-                     {
-                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1F50 },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1F50_Compatibility_Entry },
-                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1F50_Compatibility },
-                       { RW, domain, 0, (void*)&ObjDict_obj1F50_Download_Program_Data_HW_Settings }
-                     };
-
 /* index 0x6000 :   Mapped variable Read Inputs 8 Bit */
                     UNS8 ObjDict_highestSubIndex_obj6000 = 1; /* number of subindex - 1*/
                     subindex ObjDict_Index6000[] = 
@@ -654,18 +593,14 @@ const indextable ObjDict_objdict[] =
   { (subindex*)ObjDict_Index1200,sizeof(ObjDict_Index1200)/sizeof(ObjDict_Index1200[0]), 0x1200},
   { (subindex*)ObjDict_Index1400,sizeof(ObjDict_Index1400)/sizeof(ObjDict_Index1400[0]), 0x1400},
   { (subindex*)ObjDict_Index1401,sizeof(ObjDict_Index1401)/sizeof(ObjDict_Index1401[0]), 0x1401},
-  { (subindex*)ObjDict_Index1402,sizeof(ObjDict_Index1402)/sizeof(ObjDict_Index1402[0]), 0x1402},
-  { (subindex*)ObjDict_Index1403,sizeof(ObjDict_Index1403)/sizeof(ObjDict_Index1403[0]), 0x1403},
   { (subindex*)ObjDict_Index1600,sizeof(ObjDict_Index1600)/sizeof(ObjDict_Index1600[0]), 0x1600},
   { (subindex*)ObjDict_Index1601,sizeof(ObjDict_Index1601)/sizeof(ObjDict_Index1601[0]), 0x1601},
   { (subindex*)ObjDict_Index1800,sizeof(ObjDict_Index1800)/sizeof(ObjDict_Index1800[0]), 0x1800},
   { (subindex*)ObjDict_Index1801,sizeof(ObjDict_Index1801)/sizeof(ObjDict_Index1801[0]), 0x1801},
   { (subindex*)ObjDict_Index1802,sizeof(ObjDict_Index1802)/sizeof(ObjDict_Index1802[0]), 0x1802},
-  { (subindex*)ObjDict_Index1803,sizeof(ObjDict_Index1803)/sizeof(ObjDict_Index1803[0]), 0x1803},
   { (subindex*)ObjDict_Index1A00,sizeof(ObjDict_Index1A00)/sizeof(ObjDict_Index1A00[0]), 0x1A00},
   { (subindex*)ObjDict_Index1A01,sizeof(ObjDict_Index1A01)/sizeof(ObjDict_Index1A01[0]), 0x1A01},
   { (subindex*)ObjDict_Index1A02,sizeof(ObjDict_Index1A02)/sizeof(ObjDict_Index1A02[0]), 0x1A02},
-  { (subindex*)ObjDict_Index1F50,sizeof(ObjDict_Index1F50)/sizeof(ObjDict_Index1F50[0]), 0x1F50},
   { (subindex*)ObjDict_Index6000,sizeof(ObjDict_Index6000)/sizeof(ObjDict_Index6000[0]), 0x6000},
   { (subindex*)ObjDict_Index6002,sizeof(ObjDict_Index6002)/sizeof(ObjDict_Index6002[0]), 0x6002},
   { (subindex*)ObjDict_Index6200,sizeof(ObjDict_Index6200)/sizeof(ObjDict_Index6200[0]), 0x6200},
@@ -703,30 +638,26 @@ const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallb
                case 0x1200: i = 15;break;
                case 0x1400: i = 16;break;
                case 0x1401: i = 17;break;
-               case 0x1402: i = 18;break;
-               case 0x1403: i = 19;break;
-               case 0x1600: i = 20;break;
-               case 0x1601: i = 21;break;
-               case 0x1800: i = 22;*callbacks = ObjDict_Index1800_callbacks; break;
-               case 0x1801: i = 23;*callbacks = ObjDict_Index1801_callbacks; break;
-               case 0x1802: i = 24;*callbacks = ObjDict_Index1802_callbacks; break;
-               case 0x1803: i = 25;*callbacks = ObjDict_Index1803_callbacks; break;
-               case 0x1A00: i = 26;break;
-               case 0x1A01: i = 27;break;
-               case 0x1A02: i = 28;break;
-               case 0x1F50: i = 29;break;
-               case 0x6000: i = 30;break;
-               case 0x6002: i = 31;break;
-               case 0x6200: i = 32;break;
-               case 0x6202: i = 33;break;
-               case 0x6206: i = 34;break;
-               case 0x6207: i = 35;break;
-               case 0x6401: i = 36;break;
-               case 0x6411: i = 37;break;
-               case 0x6423: i = 38;break;
-               case 0x6426: i = 39;break;
-               case 0x6443: i = 40;break;
-               case 0x6444: i = 41;break;
+               case 0x1600: i = 18;break;
+               case 0x1601: i = 19;break;
+               case 0x1800: i = 20;*callbacks = ObjDict_Index1800_callbacks; break;
+               case 0x1801: i = 21;*callbacks = ObjDict_Index1801_callbacks; break;
+               case 0x1802: i = 22;*callbacks = ObjDict_Index1802_callbacks; break;
+               case 0x1A00: i = 23;break;
+               case 0x1A01: i = 24;break;
+               case 0x1A02: i = 25;break;
+               case 0x6000: i = 26;break;
+               case 0x6002: i = 27;break;
+               case 0x6200: i = 28;break;
+               case 0x6202: i = 29;break;
+               case 0x6206: i = 30;break;
+               case 0x6207: i = 31;break;
+               case 0x6401: i = 32;break;
+               case 0x6411: i = 33;break;
+               case 0x6423: i = 34;break;
+               case 0x6426: i = 35;break;
+               case 0x6443: i = 36;break;
+               case 0x6444: i = 37;break;
                default:
                        *errorCode = OD_NO_SUCH_OBJECT;
                        return NULL;
@@ -740,24 +671,24 @@ const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallb
  * Even if no pdoTransmit are defined, at least one entry is computed
  * for compilations issues.
  */
-s_PDO_status ObjDict_PDO_status[4] = {s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer};
+s_PDO_status ObjDict_PDO_status[3] = {s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer};
 
 quick_index ObjDict_firstIndex = {
   15, /* SDO_SVR */
   0, /* SDO_CLT */
   16, /* PDO_RCV */
-  20, /* PDO_RCV_MAP */
-  22, /* PDO_TRS */
-  26 /* PDO_TRS_MAP */
+  18, /* PDO_RCV_MAP */
+  20, /* PDO_TRS */
+  23 /* PDO_TRS_MAP */
 };
 
 quick_index ObjDict_lastIndex = {
   15, /* SDO_SVR */
   0, /* SDO_CLT */
-  19, /* PDO_RCV */
-  21, /* PDO_RCV_MAP */
-  25, /* PDO_TRS */
-  28 /* PDO_TRS_MAP */
+  17, /* PDO_RCV */
+  19, /* PDO_RCV_MAP */
+  22, /* PDO_TRS */
+  25 /* PDO_TRS_MAP */
 };
 
 UNS16 ObjDict_ObjdictSize = sizeof(ObjDict_objdict)/sizeof(ObjDict_objdict[0]); 
index 4051cd575da06a1310640ca7f111772c700ebc1d..fdb2670d04d761292c038b8ce85406e459617271 100644 (file)
@@ -15,7 +15,6 @@ extern CO_Data ObjDict_Data;
 extern ODCallback_t Transmit_PDO_1_Parameter_callbacks[];              /* Callbacks of index0x1800 */
 extern ODCallback_t Transmit_PDO_2_Parameter_callbacks[];              /* Callbacks of index0x1801 */
 extern ODCallback_t Transmit_PDO_3_Parameter_callbacks[];              /* Callbacks of index0x1802 */
-extern ODCallback_t Transmit_PDO_4_Parameter_callbacks[];              /* Callbacks of index0x1803 */
 extern UNS8 Read_Inputs_8_Bit[1];              /* Mapped at index 0x6000, subindex 0x01 - 0x01 */
 extern UNS8 Polarity_Input_8_Bit[1];           /* Mapped at index 0x6002, subindex 0x01 - 0x01 */
 extern UNS8 Write_Outputs_8_Bit[1];            /* Mapped at index 0x6200, subindex 0x01 - 0x01 */
index 7048235635ac1de725038ba46936d6a6744c7f21..c2b868a4ac60e1f2534a002e25b03aeef34f4314 100644 (file)
@@ -1,18 +1,18 @@
 <?xml version="1.0"?>
 <!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
-<PyObject module="node" class="Node" id="159620140">
-<attr name="Profile" type="dict" id="160667820" >
+<PyObject module="node" class="Node" id="16613176">
+<attr name="Profile" type="dict" id="35792288" >
   <entry>
     <key type="numeric" value="24576" />
-    <val type="dict" id="159779940" >
+    <val type="dict" id="13655040" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159633388" >
-          <item type="dict" id="160570740" >
+        <val type="list" id="16472976" >
+          <item type="dict" id="38254320" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
@@ -30,7 +30,7 @@
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="160597236" >
+          <item type="dict" id="17189568" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
   </entry>
   <entry>
     <key type="numeric" value="24832" />
-    <val type="dict" id="160569244" >
+    <val type="dict" id="17386368" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159631948" >
-          <item type="dict" id="160668500" >
+        <val type="list" id="16472760" >
+          <item type="dict" id="19129632" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
@@ -92,7 +92,7 @@
               <val type="string" value="Number of Input 16 bit" />
             </entry>
           </item>
-          <item type="dict" id="160617852" >
+          <item type="dict" id="17340800" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
   </entry>
   <entry>
     <key type="numeric" value="24578" />
-    <val type="dict" id="159743076" >
+    <val type="dict" id="17387440" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159633196" >
-          <item type="dict" id="160560236" >
+        <val type="list" id="16473192" >
+          <item type="dict" id="17198992" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="160668636" >
+          <item type="dict" id="38498448" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24579" />
-    <val type="dict" id="159747308" >
+    <val type="dict" id="15295456" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159631532" >
-          <item type="dict" id="160677932" >
+        <val type="list" id="16473120" >
+          <item type="dict" id="38500064" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="159717548" >
+          <item type="dict" id="38500800" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25604" />
-    <val type="dict" id="160576756" >
+    <val type="dict" id="13983536" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159630252" >
-          <item type="dict" id="159748820" >
+        <val type="list" id="16473264" >
+          <item type="dict" id="37763472" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Input" />
             </entry>
           </item>
-          <item type="dict" id="160555188" >
+          <item type="dict" id="38501600" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
   </entry>
   <entry>
     <key type="numeric" value="24581" />
-    <val type="dict" id="160620164" >
+    <val type="dict" id="17199280" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160601004" >
-          <item type="dict" id="160620028" >
+        <val type="list" id="16472112" >
+          <item type="dict" id="38501088" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24582" />
-    <val type="dict" id="160619756" >
+    <val type="dict" id="38501888" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159633004" >
-          <item type="dict" id="160618260" >
+        <val type="list" id="16473048" >
+          <item type="dict" id="37864704" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="159666628" >
+          <item type="dict" id="35803056" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24583" />
-    <val type="dict" id="159667852" >
+    <val type="dict" id="38506336" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159739756" >
-          <item type="dict" id="159666356" >
+        <val type="list" id="16473696" >
+          <item type="dict" id="17385008" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="159666492" >
+          <item type="dict" id="38506624" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24584" />
-    <val type="dict" id="159665932" >
+    <val type="dict" id="38500352" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160701836" >
-          <item type="dict" id="159666220" >
+        <val type="list" id="16473552" >
+          <item type="dict" id="38508752" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 8 bit" />
             </entry>
           </item>
-          <item type="dict" id="159665660" >
+          <item type="dict" id="38499056" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24834" />
-    <val type="dict" id="159665796" >
+    <val type="dict" id="38502400" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160701580" >
-          <item type="dict" id="159665388" >
+        <val type="list" id="16473768" >
+          <item type="dict" id="38499344" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 16 bit" />
             </entry>
           </item>
-          <item type="dict" id="159665524" >
+          <item type="dict" id="38510544" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25616" />
-    <val type="dict" id="159665116" >
+    <val type="dict" id="38502688" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160564620" >
-          <item type="dict" id="159665252" >
+        <val type="list" id="16473336" >
+          <item type="dict" id="38507760" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Input 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="159664844" >
+          <item type="dict" id="38508048" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25617" />
-    <val type="dict" id="159664980" >
+    <val type="dict" id="38507136" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160563884" >
-          <item type="dict" id="159664572" >
+        <val type="list" id="16472544" >
+          <item type="dict" id="38508336" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Input 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="159664708" >
+          <item type="dict" id="38511264" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25618" />
-    <val type="dict" id="159664300" >
+    <val type="dict" id="38499632" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160563532" >
-          <item type="dict" id="159664164" >
+        <val type="list" id="16473480" >
+          <item type="dict" id="38513632" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="159664028" >
+          <item type="dict" id="38514032" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24835" />
-    <val type="dict" id="160533876" >
+    <val type="dict" id="38510976" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160564300" >
-          <item type="dict" id="148728660" >
+        <val type="list" id="16474056" >
+          <item type="dict" id="38512640" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 16 bit" />
             </entry>
           </item>
-          <item type="dict" id="160577980" >
+          <item type="dict" id="38512928" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25620" />
-    <val type="dict" id="160578116" >
+    <val type="dict" id="38511776" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160565356" >
-          <item type="dict" id="160577436" >
+        <val type="list" id="16601240" >
+          <item type="dict" id="38513216" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160577572" >
+          <item type="dict" id="38509520" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25088" />
-    <val type="dict" id="159763556" >
+    <val type="dict" id="38512064" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160566956" >
-          <item type="dict" id="160533196" >
+        <val type="list" id="16473408" >
+          <item type="dict" id="38509808" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160616764" >
+          <item type="dict" id="38510096" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25603" />
-    <val type="dict" id="160569380" >
+    <val type="dict" id="38515376" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160572780" >
-          <item type="dict" id="160540300" >
+        <val type="list" id="16473984" >
+          <item type="dict" id="38514384" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Input Float" />
             </entry>
           </item>
-          <item type="dict" id="160528284" >
+          <item type="dict" id="38517936" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
       </entry>
     </val>
   </entry>
+  <entry>
+    <key type="numeric" value="25378" />
+    <val type="dict" id="38574000" >
+      <entry>
+        <key type="string" value="need" />
+        <val type="False" value="" />
+      </entry>
+      <entry>
+        <key type="string" value="values" />
+        <val type="list" id="16604048" >
+          <item type="dict" id="38574864" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Output 32 Bit" />
+            </entry>
+          </item>
+          <item type="dict" id="38575152" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="rw" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="True" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="7" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Polarity Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="254" />
+            </entry>
+          </item>
+        </val>
+      </entry>
+      <entry>
+        <key type="string" value="name" />
+        <val type="string" value="Change Polarity Outputs 32 Bit" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
+      </entry>
+    </val>
+  </entry>
   <entry>
     <key type="numeric" value="25344" />
-    <val type="dict" id="160550668" >
+    <val type="dict" id="38515664" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159617900" >
-          <item type="dict" id="160568156" >
+        <val type="list" id="16473912" >
+          <item type="dict" id="38514672" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160539076" >
+          <item type="dict" id="38518224" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24608" />
-    <val type="dict" id="160571012" >
+    <val type="dict" id="38516160" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159618796" >
-          <item type="dict" id="160570196" >
+        <val type="list" id="16601168" >
+          <item type="dict" id="38516944" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 1 bit" />
             </entry>
           </item>
-          <item type="dict" id="160598188" >
+          <item type="dict" id="38520176" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25633" />
-    <val type="dict" id="160548900" >
+    <val type="dict" id="37763760" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159630444" >
-          <item type="dict" id="160570604" >
+        <val type="list" id="16601384" >
+          <item type="dict" id="38517232" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160529508" >
+          <item type="dict" id="38520464" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24866" />
-    <val type="dict" id="160550396" >
+    <val type="dict" id="38516496" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159619468" >
-          <item type="dict" id="160571148" >
+        <val type="list" id="16601312" >
+          <item type="dict" id="38519184" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160568020" >
+          <item type="dict" id="38523424" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24867" />
-    <val type="dict" id="160598596" >
+    <val type="dict" id="38518736" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159617740" >
-          <item type="dict" id="159747852" >
+        <val type="list" id="16601672" >
+          <item type="dict" id="38523712" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160598324" >
+          <item type="dict" id="38519760" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25636" />
-    <val type="dict" id="159749500" >
+    <val type="dict" id="38517520" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159620684" >
-          <item type="dict" id="160569108" >
+        <val type="list" id="16601600" >
+          <item type="dict" id="38522432" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160596692" >
+          <item type="dict" id="38522720" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24838" />
-    <val type="dict" id="160599140" >
+    <val type="dict" id="38520976" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159618380" >
-          <item type="dict" id="148738772" >
+        <val type="list" id="16601816" >
+          <item type="dict" id="38523008" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 16 bit" />
             </entry>
           </item>
-          <item type="dict" id="160532244" >
+          <item type="dict" id="38497888" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25638" />
-    <val type="dict" id="148741900" >
+    <val type="dict" id="38519472" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159617228" >
-          <item type="dict" id="160578524" >
+        <val type="list" id="16601744" >
+          <item type="dict" id="38505840" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160555052" >
+          <item type="dict" id="38503536" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25383" />
-    <val type="dict" id="160555324" >
+    <val type="dict" id="38525360" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159609388" >
-          <item type="dict" id="159659388" >
+        <val type="list" id="16601960" >
+          <item type="dict" id="38503824" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160608436" >
+          <item type="dict" id="38541600" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25640" />
-    <val type="dict" id="160608572" >
+    <val type="dict" id="38497600" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159620300" >
-          <item type="dict" id="160608300" >
+        <val type="list" id="16601888" >
+          <item type="dict" id="38504848" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="159673988" >
+          <item type="dict" id="38505136" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25641" />
-    <val type="dict" id="159648052" >
+    <val type="dict" id="38503248" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="148732204" >
-          <item type="dict" id="159741988" >
+        <val type="list" id="16473840" >
+          <item type="dict" id="38505424" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160533740" >
+          <item type="dict" id="38542368" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25642" />
-    <val type="dict" id="159715644" >
+    <val type="dict" id="38504112" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159630764" >
-          <item type="dict" id="159717820" >
+        <val type="list" id="16602104" >
+          <item type="dict" id="38524304" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="159716596" >
+          <item type="dict" id="38524880" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25643" />
-    <val type="dict" id="159716052" >
+    <val type="dict" id="38542080" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159592076" >
-          <item type="dict" id="160586716" >
+        <val type="list" id="16602248" >
+          <item type="dict" id="38544272" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160586988" >
+          <item type="dict" id="38544560" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25644" />
-    <val type="dict" id="160586852" >
+    <val type="dict" id="38543824" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159633132" >
-          <item type="dict" id="160583996" >
+        <val type="list" id="16602176" >
+          <item type="dict" id="38544848" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160583724" >
+          <item type="dict" id="38545744" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25645" />
-    <val type="dict" id="160583860" >
+    <val type="dict" id="38524592" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159589644" >
-          <item type="dict" id="160587396" >
+        <val type="list" id="16602032" >
+          <item type="dict" id="38548112" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160587532" >
+          <item type="dict" id="38542768" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25646" />
-    <val type="dict" id="160586444" >
+    <val type="dict" id="38545456" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159590092" >
-          <item type="dict" id="160586580" >
+        <val type="list" id="16602392" >
+          <item type="dict" id="38543056" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160587124" >
+          <item type="dict" id="38549904" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25647" />
-    <val type="dict" id="160586172" >
+    <val type="dict" id="38546256" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159597644" >
-          <item type="dict" id="160586308" >
+        <val type="list" id="16602536" >
+          <item type="dict" id="38547120" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160586036" >
+          <item type="dict" id="38547408" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24624" />
-    <val type="dict" id="160585900" >
+    <val type="dict" id="38546544" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160545356" >
-          <item type="dict" id="160585764" >
+        <val type="list" id="16602464" >
+          <item type="dict" id="38547696" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 1 bit" />
             </entry>
           </item>
-          <item type="dict" id="160587260" >
+          <item type="dict" id="38550624" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25352" />
-    <val type="dict" id="159778716" >
+    <val type="dict" id="38514960" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159596748" >
-          <item type="dict" id="160639556" >
+        <val type="list" id="16602680" >
+          <item type="dict" id="38552992" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160596556" >
+          <item type="dict" id="38553376" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25650" />
-    <val type="dict" id="160713964" >
+    <val type="dict" id="38543344" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160552108" >
-          <item type="dict" id="160713148" >
+        <val type="list" id="16602608" >
+          <item type="dict" id="38548864" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160713284" >
+          <item type="dict" id="38549152" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25350" />
-    <val type="dict" id="160721340" >
+    <key type="numeric" value="25090" />
+    <val type="dict" id="38556528" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160553356" >
-          <item type="dict" id="160721476" >
+        <val type="list" id="16602896" >
+          <item type="dict" id="38580736" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 16 Bit" />
+              <val type="string" value="Number of Output 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160721612" >
+          <item type="dict" id="38581120" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="6" />
+              <val type="numeric" value="5" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Error Mode Outputs 0x%X to 0x%X[(sub*16-15,sub*16)]" />
+              <val type="string" value="Change Polarity Outputs 0x%X to 0x%X[(sub*8-7,sub*8)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Error Mode Outputs 16 Bit" />
+        <val type="string" value="Change Polarity Outputs 8 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
       </entry>
     </val>
   </entry>
-  <entry>
-    <key type="numeric" value="25200" />
-    <val type="dict" id="160688572" >
-      <entry>
-        <key type="string" value="incr" />
-        <val type="numeric" value="1" />
-      </entry>
-      <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="15" />
-      </entry>
-      <entry>
-        <key type="string" value="nbmax" />
-        <val type="numeric" value="8" />
-      </entry>
-      <entry>
-        <key type="string" value="values" />
-        <val type="list" id="159598988" >
-          <item type="dict" id="160688708" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="ro" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Number of Output 1 Bit" />
-            </entry>
-          </item>
-          <item type="dict" id="160688844" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="rw" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="True" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="1" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Filter Constant Outputs 0x%X[((idx-1)*128+sub)]" />
-            </entry>
-            <entry>
-              <key type="string" value="nbmax" />
-              <val type="numeric" value="128" />
-            </entry>
-          </item>
-        </val>
-      </entry>
-      <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
-      </entry>
-      <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Filter Constant Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
-      </entry>
-    </val>
-  </entry>
   <entry>
     <key type="numeric" value="25096" />
-    <val type="dict" id="160713828" >
+    <val type="dict" id="38550336" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160634508" >
-          <item type="dict" id="160713012" >
+        <val type="list" id="16602752" >
+          <item type="dict" id="38554352" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160712876" >
+          <item type="dict" id="38557520" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24632" />
-    <val type="dict" id="160712468" >
+    <val type="dict" id="38553712" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160700300" >
-          <item type="dict" id="160712604" >
+        <val type="list" id="16602968" >
+          <item type="dict" id="38556240" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 1 bit" />
             </entry>
           </item>
-          <item type="dict" id="160712740" >
+          <item type="dict" id="38560480" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25639" />
-    <val type="dict" id="160688164" >
-      <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
-      </entry>
-      <entry>
-        <key type="string" value="values" />
-        <val type="list" id="160565100" >
-          <item type="dict" id="160688300" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="ro" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Number of Analogue Inputs" />
-            </entry>
-          </item>
-          <item type="dict" id="160689660" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="rw" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="True" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="7" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Analogue Input %d[(sub)]" />
-            </entry>
-            <entry>
-              <key type="string" value="nbmax" />
-              <val type="numeric" value="254" />
-            </entry>
-          </item>
-        </val>
-      </entry>
-      <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Analogue Input Interrupt Negative Delta Unsigned" />
-      </entry>
-      <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="7" />
-      </entry>
-    </val>
-  </entry>
-  <entry>
-    <key type="numeric" value="24872" />
-    <val type="dict" id="160688980" >
+    <key type="numeric" value="24871" />
+    <val type="dict" id="38590352" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160564076" >
-          <item type="dict" id="160689116" >
+        <val type="list" id="16604984" >
+          <item type="dict" id="38595824" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160687620" >
+          <item type="dict" id="38596112" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt High to Low Input 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Interrupt Low to High Input  0x%X to 0x%X[(sub*32-31,sub*32)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Interrupt Mask Input High to Low 32 Bit" />
+        <val type="string" value="Interrupt Mask Input Low to High 32 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
   </entry>
   <entry>
     <key type="numeric" value="25152" />
-    <val type="dict" id="160711652" >
+    <val type="dict" id="38554640" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160634092" >
-          <item type="dict" id="160711788" >
+        <val type="list" id="16603256" >
+          <item type="dict" id="38559776" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 1 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160711924" >
+          <item type="dict" id="38560064" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24864" />
-    <val type="dict" id="160711244" >
+    <val type="dict" id="37864416" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160633036" >
-          <item type="dict" id="160711380" >
+        <val type="list" id="16603184" >
+          <item type="dict" id="38564240" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160711516" >
+          <item type="dict" id="38567600" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25666" />
-    <val type="dict" id="160710836" >
+    <val type="dict" id="38558032" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160633260" >
-          <item type="dict" id="160710972" >
+        <val type="list" id="16603400" >
+          <item type="dict" id="38568080" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160711108" >
+          <item type="dict" id="38569536" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25667" />
-    <val type="dict" id="160710700" >
+    <val type="dict" id="38563856" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160632972" >
-          <item type="dict" id="160665916" >
+        <val type="list" id="16603328" >
+          <item type="dict" id="38568432" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160666052" >
+          <item type="dict" id="38568720" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25668" />
-    <val type="dict" id="160666188" >
+    <val type="dict" id="38564528" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160632908" >
-          <item type="dict" id="160681604" >
+        <val type="list" id="16603544" >
+          <item type="dict" id="38569008" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160681740" >
+          <item type="dict" id="38570112" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25669" />
-    <val type="dict" id="160681196" >
+    <val type="dict" id="38565136" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160602156" >
-          <item type="dict" id="160681332" >
+        <val type="list" id="16603472" >
+          <item type="dict" id="38566576" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160681468" >
+          <item type="dict" id="38567152" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25665" />
-    <val type="dict" id="160680788" >
+    <val type="dict" id="38569824" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160602380" >
-          <item type="dict" id="160680924" >
+        <val type="list" id="16603760" >
+          <item type="dict" id="38572016" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160681060" >
+          <item type="dict" id="38572304" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25648" />
-    <val type="dict" id="160680380" >
+    <val type="dict" id="38571568" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160552044" >
-          <item type="dict" id="160680516" >
+        <val type="list" id="16603688" >
+          <item type="dict" id="38572592" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160680652" >
+          <item type="dict" id="38573488" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25634" />
-    <val type="dict" id="160679156" >
+    <key type="numeric" value="24672" />
+    <val type="dict" id="38589408" >
       <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
+        <key type="string" value="incr" />
+        <val type="numeric" value="1" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="15" />
+      </entry>
+      <entry>
+        <key type="string" value="nbmax" />
+        <val type="numeric" value="8" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160552204" >
-          <item type="dict" id="160679292" >
+        <val type="list" id="14717800" >
+          <item type="dict" id="38591456" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Interrupt Source Bank" />
+              <val type="string" value="Number of Input 1 bit" />
             </entry>
           </item>
-          <item type="dict" id="160679428" >
+          <item type="dict" id="38593568" >
             <entry>
               <key type="string" value="access" />
-              <val type="string" value="ro" />
+              <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="pdo" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="7" />
+              <val type="numeric" value="1" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt Source Bank 0x%X[(sub)]" />
+              <val type="string" value="Interrupt Mask Any Change Input bit 0x%X[((idx-1)*128+sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
-              <val type="numeric" value="254" />
+              <val type="numeric" value="128" />
             </entry>
           </item>
         </val>
       </entry>
       <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Analogue Input Interrupt Source" />
+        <key type="string" value="need" />
+        <val type="False" value="" />
       </entry>
       <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="7" />
+        <key type="string" value="name" />
+        <val type="string" value="Interrupt Mask Input Low to High Bit 0x%X to 0x%X[(idx*128-127,idx*128)]" />
       </entry>
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25094" />
-    <val type="dict" id="160679564" >
+    <val type="dict" id="38573200" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160601164" >
-          <item type="dict" id="160679700" >
+        <val type="list" id="16603832" >
+          <item type="dict" id="38570800" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160679836" >
+          <item type="dict" id="38577648" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25378" />
-    <val type="dict" id="159758236" >
+    <key type="numeric" value="25680" />
+    <val type="dict" id="38584976" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159707948" >
-          <item type="dict" id="160539484" >
+        <val type="list" id="16604840" >
+          <item type="dict" id="38591744" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 32 Bit" />
+              <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160528420" >
+          <item type="dict" id="38592032" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Polarity Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Analogue Output %d[(sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Change Polarity Outputs 32 Bit" />
+        <val type="string" value="Analogue Output SI Unit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25680" />
-    <val type="dict" id="160678340" >
+    <key type="numeric" value="25634" />
+    <val type="dict" id="38566864" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160554572" >
-          <item type="dict" id="160678476" >
+        <val type="list" id="16603904" >
+          <item type="dict" id="38575856" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Analogue Outputs" />
+              <val type="string" value="Number of Interrupt Source Bank" />
             </entry>
           </item>
-          <item type="dict" id="160721204" >
+          <item type="dict" id="38570512" >
             <entry>
               <key type="string" value="access" />
-              <val type="string" value="rw" />
+              <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="pdo" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Analogue Output %d[(sub)]" />
+              <val type="string" value="Interrupt Source Bank 0x%X[(sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Analogue Output SI Unit" />
+        <val type="string" value="Analogue Input Interrupt Source" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25090" />
-    <val type="dict" id="160713420" >
+    <key type="numeric" value="25384" />
+    <val type="dict" id="38601296" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159597004" >
-          <item type="dict" id="160713556" >
+        <val type="list" id="36740632" >
+          <item type="dict" id="38602960" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 8 Bit" />
+              <val type="string" value="Number of Output 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160713692" >
+          <item type="dict" id="38603248" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="5" />
+              <val type="numeric" value="7" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Change Polarity Outputs 0x%X to 0x%X[(sub*8-7,sub*8)]" />
+              <val type="string" value="Filter Mask Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Change Polarity Outputs 8 Bit" />
+        <val type="string" value="Filter Mask Outputs 32 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25635" />
-    <val type="dict" id="160721748" >
+    <key type="numeric" value="24656" />
+    <val type="dict" id="38555728" >
       <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
+        <key type="string" value="incr" />
+        <val type="numeric" value="1" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="15" />
+      </entry>
+      <entry>
+        <key type="string" value="nbmax" />
+        <val type="numeric" value="8" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160553164" >
-          <item type="dict" id="160721884" >
+        <val type="list" id="16603040" >
+          <item type="dict" id="38559488" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Input 1 bit" />
+            </entry>
+          </item>
+          <item type="dict" id="38561904" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Analogue Input Global Interrupt Enable" />
+              <val type="string" value="Interrupt Mask Any Change Input bit 0x%X[((idx-1)*128+sub)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="128" />
             </entry>
           </item>
         </val>
       </entry>
       <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Analogue Input Global Interrupt Enable" />
+        <key type="string" value="need" />
+        <val type="False" value="" />
       </entry>
       <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="1" />
+        <key type="string" value="name" />
+        <val type="string" value="Interrupt Mask Input Any Change Bit 0x%X to 0x%X[(idx*128-127,idx*128)]" />
       </entry>
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25601" />
-    <val type="dict" id="160689796" >
+    <key type="numeric" value="25350" />
+    <val type="dict" id="38551136" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159598924" >
-          <item type="dict" id="160689932" >
+        <val type="list" id="16602320" >
+          <item type="dict" id="38549440" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Analogue Input 16 Bit" />
+              <val type="string" value="Number of Output 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160688436" >
+          <item type="dict" id="38555440" >
             <entry>
               <key type="string" value="access" />
-              <val type="string" value="ro" />
+              <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="pdo" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="3" />
+              <val type="numeric" value="6" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Analogue Input %d[(sub)]" />
+              <val type="string" value="Error Mode Outputs 0x%X to 0x%X[(sub*16-15,sub*16)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Read Analogue Input 16 Bit" />
+        <val type="string" value="Error Mode Outputs 16 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25120" />
-    <val type="dict" id="160722428" >
-      <entry>
-        <key type="string" value="incr" />
-        <val type="numeric" value="1" />
-      </entry>
-      <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="15" />
-      </entry>
+    <key type="numeric" value="25635" />
+    <val type="dict" id="38571088" >
       <entry>
-        <key type="string" value="nbmax" />
-        <val type="numeric" value="8" />
+        <key type="string" value="need" />
+        <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160554028" >
-          <item type="dict" id="160722564" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="ro" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Number of Output 1 Bit" />
-            </entry>
-          </item>
-          <item type="dict" id="160722700" >
+        <val type="list" id="16604192" >
+          <item type="dict" id="38576608" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Write Outputs 0x%X[((idx-1)*128+sub)]" />
-            </entry>
-            <entry>
-              <key type="string" value="nbmax" />
-              <val type="numeric" value="128" />
+              <val type="string" value="Analogue Input Global Interrupt Enable" />
             </entry>
           </item>
         </val>
       </entry>
       <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
+        <key type="string" value="name" />
+        <val type="string" value="Analogue Input Global Interrupt Enable" />
       </entry>
       <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Write Outputs Bit %d to %d[(idx*128-127,idx*128)]" />
+        <key type="string" value="struct" />
+        <val type="numeric" value="1" />
       </entry>
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25600" />
-    <val type="dict" id="160706604" >
+    <key type="numeric" value="25351" />
+    <val type="dict" id="38599088" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160552012" >
-          <item type="dict" id="160706740" >
+        <val type="list" id="36740488" >
+          <item type="dict" id="38603952" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Analogue Input 8 Bit" />
+              <val type="string" value="Number of Output 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160706876" >
+          <item type="dict" id="38604304" >
             <entry>
               <key type="string" value="access" />
-              <val type="string" value="ro" />
+              <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="pdo" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="2" />
+              <val type="numeric" value="6" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Analogue Input %d[(sub)]" />
+              <val type="string" value="Error Value Outputs 0x%X to 0x%X[(sub*16-15,sub*16)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Read Analogue Input 8 Bit" />
+        <val type="string" value="Error Value Outputs 16 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25184" />
-    <val type="dict" id="160708644" >
+    <key type="numeric" value="25120" />
+    <val type="dict" id="38582800" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159712204" >
-          <item type="dict" id="160708780" >
+        <val type="list" id="16604264" >
+          <item type="dict" id="38578080" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 1 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160708916" >
+          <item type="dict" id="38585296" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Error Value Outputs 0x%X[((idx-1)*128+sub)]" />
+              <val type="string" value="Write Outputs 0x%X[((idx-1)*128+sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Error Value Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
+        <val type="string" value="Write Outputs Bit %d to %d[(idx*128-127,idx*128)]" />
+      </entry>
+    </val>
+  </entry>
+  <entry>
+    <key type="numeric" value="25600" />
+    <val type="dict" id="38577184" >
+      <entry>
+        <key type="string" value="need" />
+        <val type="False" value="" />
+      </entry>
+      <entry>
+        <key type="string" value="values" />
+        <val type="list" id="16604336" >
+          <item type="dict" id="38581808" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Analogue Input 8 Bit" />
+            </entry>
+          </item>
+          <item type="dict" id="38585728" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="True" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="2" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Analogue Input %d[(sub)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="254" />
+            </entry>
+          </item>
+        </val>
+      </entry>
+      <entry>
+        <key type="string" value="name" />
+        <val type="string" value="Read Analogue Input 8 Bit" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
       </entry>
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25346" />
-    <val type="dict" id="160707420" >
+    <val type="dict" id="38581456" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160554828" >
-          <item type="dict" id="160707556" >
+        <val type="list" id="16604408" >
+          <item type="dict" id="38589120" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160707692" >
+          <item type="dict" id="38586624" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25670" />
-    <val type="dict" id="160707828" >
+    <val type="dict" id="38583472" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160544588" >
-          <item type="dict" id="160707964" >
+        <val type="list" id="16604624" >
+          <item type="dict" id="38588128" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160708100" >
+          <item type="dict" id="38588704" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25376" />
-    <val type="dict" id="160708236" >
+    <val type="dict" id="38582384" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160551692" >
-          <item type="dict" id="160708372" >
+        <val type="list" id="16604552" >
+          <item type="dict" id="38592448" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160708508" >
+          <item type="dict" id="38593088" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="24672" />
-    <val type="dict" id="160679972" >
+    <key type="numeric" value="25184" />
+    <val type="dict" id="38578880" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159739372" >
-          <item type="dict" id="160680108" >
+        <val type="list" id="16604480" >
+          <item type="dict" id="38582096" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Input 1 bit" />
+              <val type="string" value="Number of Output 1 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160680244" >
+          <item type="dict" id="38586016" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt Mask Any Change Input bit 0x%X[((idx-1)*128+sub)]" />
+              <val type="string" value="Error Value Outputs 0x%X[((idx-1)*128+sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Interrupt Mask Input Low to High Bit 0x%X to 0x%X[(idx*128-127,idx*128)]" />
+        <val type="string" value="Error Value Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
       </entry>
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="24656" />
-    <val type="dict" id="160709052" >
+    <key type="numeric" value="25168" />
+    <val type="dict" id="38574288" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160551340" >
-          <item type="dict" id="160709188" >
+        <val type="list" id="16603976" >
+          <item type="dict" id="38575440" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Input 1 bit" />
+              <val type="string" value="Number of Output 1 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160709324" >
+          <item type="dict" id="38578368" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt Mask Any Change Input bit 0x%X[((idx-1)*128+sub)]" />
+              <val type="string" value="Error Mode Outputs 0x%X[((idx-1)*128+sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Interrupt Mask Input Any Change Bit 0x%X to 0x%X[(idx*128-127,idx*128)]" />
+        <val type="string" value="Error Mode Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
       </entry>
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25602" />
-    <val type="dict" id="160709460" >
+    <val type="dict" id="38588416" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160572204" >
-          <item type="dict" id="160709596" >
+        <val type="list" id="16604768" >
+          <item type="dict" id="38590064" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Input 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160709732" >
+          <item type="dict" id="38596816" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25382" />
-    <val type="dict" id="160707012" >
+    <key type="numeric" value="24870" />
+    <val type="dict" id="38591056" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160553324" >
-          <item type="dict" id="160707148" >
+        <val type="list" id="16604912" >
+          <item type="dict" id="38597104" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 32 Bit" />
+              <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160707284" >
+          <item type="dict" id="38590640" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Error Mode Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Interrupt Any Change Input 0x%X to 0x%X[(sub*32-31,sub*32)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Error Mode Outputs 32 Bit" />
+        <val type="string" value="Interrupt Mask Input Any Change 32 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
   </entry>
   <entry>
     <key type="numeric" value="25649" />
-    <val type="dict" id="160710276" >
+    <val type="dict" id="38593856" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160573996" >
-          <item type="dict" id="160710412" >
+        <val type="list" id="16604696" >
+          <item type="dict" id="38597664" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160689252" >
+          <item type="dict" id="38597952" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25095" />
-    <val type="dict" id="160689388" >
+    <val type="dict" id="38594304" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160593100" >
-          <item type="dict" id="160689524" >
+        <val type="list" id="16605056" >
+          <item type="dict" id="38598240" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Output 8 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160688028" >
+          <item type="dict" id="38600864" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="24871" />
-    <val type="dict" id="160712060" >
+    <key type="numeric" value="25639" />
+    <val type="dict" id="38555056" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160691884" >
-          <item type="dict" id="160712196" >
+        <val type="list" id="16603112" >
+          <item type="dict" id="38560768" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Input 32 bit" />
+              <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160712332" >
+          <item type="dict" id="38556816" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt Low to High Input  0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Analogue Input %d[(sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Interrupt Mask Input Low to High 32 Bit" />
+        <val type="string" value="Analogue Input Interrupt Negative Delta Unsigned" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="24870" />
-    <val type="dict" id="160709868" >
+    <key type="numeric" value="25601" />
+    <val type="dict" id="38598800" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160575116" >
-          <item type="dict" id="160710004" >
+        <val type="list" id="36740416" >
+          <item type="dict" id="38596400" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Input 32 bit" />
+              <val type="string" value="Number of Analogue Input 16 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160710140" >
+          <item type="dict" id="38601584" >
             <entry>
               <key type="string" value="access" />
-              <val type="string" value="rw" />
+              <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="pdo" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="7" />
+              <val type="numeric" value="3" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Interrupt Any Change Input 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Analogue Input %d[(sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Interrupt Mask Input Any Change 32 Bit" />
+        <val type="string" value="Read Analogue Input 16 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25351" />
-    <val type="dict" id="160722020" >
+    <key type="numeric" value="25200" />
+    <val type="dict" id="38551424" >
       <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
+        <key type="string" value="incr" />
+        <val type="numeric" value="1" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="15" />
+      </entry>
+      <entry>
+        <key type="string" value="nbmax" />
+        <val type="numeric" value="8" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159599820" >
-          <item type="dict" id="160722156" >
+        <val type="list" id="16602824" >
+          <item type="dict" id="38554064" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 16 Bit" />
+              <val type="string" value="Number of Output 1 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160722292" >
+          <item type="dict" id="38557232" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="6" />
+              <val type="numeric" value="1" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Error Value Outputs 0x%X to 0x%X[(sub*16-15,sub*16)]" />
+              <val type="string" value="Filter Constant Outputs 0x%X[((idx-1)*128+sub)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
-              <val type="numeric" value="254" />
+              <val type="numeric" value="128" />
             </entry>
           </item>
         </val>
       </entry>
       <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Error Value Outputs 16 Bit" />
+        <key type="string" value="need" />
+        <val type="False" value="" />
       </entry>
       <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="7" />
+        <key type="string" value="name" />
+        <val type="string" value="Filter Constant Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
       </entry>
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25384" />
-    <val type="dict" id="160678748" >
+    <key type="numeric" value="24872" />
+    <val type="dict" id="38576896" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160552588" >
-          <item type="dict" id="160678884" >
+        <val type="list" id="16604120" >
+          <item type="dict" id="38583184" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 32 Bit" />
+              <val type="string" value="Number of Input 32 bit" />
             </entry>
           </item>
-          <item type="dict" id="160679020" >
+          <item type="dict" id="38562512" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Filter Mask Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
+              <val type="string" value="Interrupt High to Low Input 0x%X to 0x%X[(sub*32-31,sub*32)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
       </entry>
       <entry>
         <key type="string" value="name" />
-        <val type="string" value="Filter Mask Outputs 32 Bit" />
+        <val type="string" value="Interrupt Mask Input High to Low 32 Bit" />
       </entry>
       <entry>
         <key type="string" value="struct" />
   </entry>
   <entry>
     <key type="numeric" value="25619" />
-    <val type="dict" id="160687756" >
+    <val type="dict" id="38602096" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160566828" >
-          <item type="dict" id="160687892" >
+        <val type="list" id="36740776" >
+          <item type="dict" id="38603536" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs Float" />
             </entry>
           </item>
-          <item type="dict" id="160687212" >
+          <item type="dict" id="38605072" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="25168" />
-    <val type="dict" id="160687348" >
-      <entry>
-        <key type="string" value="incr" />
-        <val type="numeric" value="1" />
-      </entry>
-      <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="15" />
-      </entry>
+    <key type="numeric" value="25382" />
+    <val type="dict" id="38602384" >
       <entry>
-        <key type="string" value="nbmax" />
-        <val type="numeric" value="8" />
+        <key type="string" value="need" />
+        <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160566028" >
-          <item type="dict" id="160687484" >
+        <val type="list" id="36740920" >
+          <item type="dict" id="38607440" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Number of Output 1 Bit" />
+              <val type="string" value="Number of Output 32 Bit" />
             </entry>
           </item>
-          <item type="dict" id="160686804" >
+          <item type="dict" id="38607792" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
             </entry>
             <entry>
               <key type="string" value="type" />
-              <val type="numeric" value="1" />
+              <val type="numeric" value="7" />
             </entry>
             <entry>
               <key type="string" value="name" />
-              <val type="string" value="Error Mode Outputs 0x%X[((idx-1)*128+sub)]" />
+              <val type="string" value="Error Mode Outputs 0x%X to 0x%X[(sub*32-31,sub*32)]" />
             </entry>
             <entry>
               <key type="string" value="nbmax" />
-              <val type="numeric" value="128" />
+              <val type="numeric" value="254" />
             </entry>
           </item>
         </val>
       </entry>
       <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
+        <key type="string" value="name" />
+        <val type="string" value="Error Mode Outputs 32 Bit" />
       </entry>
       <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Error Mode Outputs Lines %d to %d[(idx*128-127,idx*128)]" />
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
       </entry>
     </val>
   </entry>
   <entry>
     <key type="numeric" value="24839" />
-    <val type="dict" id="160686940" >
+    <val type="dict" id="38604784" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160563948" >
-          <item type="dict" id="160687076" >
+        <val type="list" id="36749464" >
+          <item type="dict" id="38606448" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 16 bit" />
             </entry>
           </item>
-          <item type="dict" id="160686396" >
+          <item type="dict" id="38606736" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25671" />
-    <val type="dict" id="160686532" >
+    <val type="dict" id="38605584" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159715084" >
-          <item type="dict" id="160686668" >
+        <val type="list" id="36749536" >
+          <item type="dict" id="38607024" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Outputs" />
             </entry>
           </item>
-          <item type="dict" id="160686124" >
+          <item type="dict" id="38608560" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="25637" />
-    <val type="dict" id="160686260" >
+    <val type="dict" id="38605872" >
       <entry>
         <key type="string" value="need" />
         <val type="False" value="" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="159708108" >
-          <item type="dict" id="160694996" >
+        <val type="list" id="36749608" >
+          <item type="dict" id="38610928" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Analogue Inputs" />
             </entry>
           </item>
-          <item type="dict" id="160695132" >
+          <item type="dict" id="38611280" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
   <entry>
     <key type="numeric" value="24688" />
-    <val type="dict" id="160695268" >
+    <val type="dict" id="38608272" >
       <entry>
         <key type="string" value="incr" />
         <val type="numeric" value="1" />
       </entry>
       <entry>
         <key type="string" value="values" />
-        <val type="list" id="160717676" >
-          <item type="dict" id="160696220" >
+        <val type="list" id="36749680" >
+          <item type="dict" id="38609936" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="ro" />
               <val type="string" value="Number of Input 1 bit" />
             </entry>
           </item>
-          <item type="dict" id="160696356" >
+          <item type="dict" id="38610224" >
             <entry>
               <key type="string" value="access" />
               <val type="string" value="rw" />
   </entry>
 </attr>
 <attr name="Description" type="string" value="" />
-<attr name="Dictionary" type="dict" id="160696492" >
+<attr name="Dictionary" type="dict" id="38579168" >
   <entry>
     <key type="numeric" value="4096" />
     <val type="numeric" value="983441" />
     <key type="numeric" value="4098" />
     <val type="numeric" value="0" />
   </entry>
-  <entry>
-    <key type="numeric" value="5123" />
-    <val type="list" id="160634796" >
-      <item type="string" value="self.ID+0x80000500" />
-      <item type="numeric" value="1" />
-    </val>
-  </entry>
   <entry>
     <key type="numeric" value="4101" />
     <val type="numeric" value="128" />
   </entry>
   <entry>
     <key type="numeric" value="24576" />
-    <val type="list" id="160635052" >
+    <val type="list" id="36750544" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="5121" />
-    <val type="list" id="160636876" >
-      <item type="string" value="self.ID+0x300" />
+    <val type="list" id="36749968" >
+      <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0}[base&lt;4]" />
       <item type="numeric" value="1" />
     </val>
   </entry>
   </entry>
   <entry>
     <key type="numeric" value="4112" />
-    <val type="list" id="160636620" >
+    <val type="list" id="36750112" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="4113" />
-    <val type="list" id="160636844" >
+    <val type="list" id="16472256" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="6658" />
-    <val type="list" id="160636748" >
+    <val type="list" id="36750832" >
       <item type="numeric" value="1677788432" />
       <item type="numeric" value="1677788688" />
       <item type="numeric" value="1677788944" />
       <item type="numeric" value="1677789200" />
     </val>
   </entry>
-  <entry>
-    <key type="numeric" value="6147" />
-    <val type="list" id="160718284" >
-      <item type="string" value="self.ID+0x80000480" />
-      <item type="numeric" value="1" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-    </val>
-  </entry>
   <entry>
     <key type="numeric" value="25088" />
-    <val type="list" id="160718060" >
+    <val type="list" id="36750976" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   </entry>
   <entry>
     <key type="numeric" value="4120" />
-    <val type="list" id="160717356" >
+    <val type="list" id="36750328" >
       <item type="numeric" value="373" />
       <item type="numeric" value="1048576" />
       <item type="numeric" value="65537" />
   </entry>
   <entry>
     <key type="numeric" value="4118" />
-    <val type="list" id="160717196" >
+    <val type="list" id="36751408" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="4128" />
-    <val type="list" id="160717036" >
+    <val type="list" id="36751552" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25094" />
-    <val type="list" id="160716908" >
+    <val type="list" id="36751840" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="5120" />
-    <val type="list" id="160716780" >
-      <item type="string" value="self.ID+0x200" />
+    <val type="list" id="36751192" >
+      <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0}[base&lt;4]" />
       <item type="numeric" value="1" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25095" />
-    <val type="list" id="160715884" >
+    <val type="list" id="36751912" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="6146" />
-    <val type="list" id="160715020" >
-      <item type="string" value="self.ID+0x380" />
-      <item type="numeric" value="1" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
+    <key type="numeric" value="6656" />
+    <val type="list" id="36752272" >
+      <item type="numeric" value="1610613000" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="5632" />
-    <val type="list" id="160716204" >
+    <val type="list" id="36752200" >
       <item type="numeric" value="1644167432" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="24578" />
-    <val type="list" id="160716076" >
+    <val type="list" id="36752056" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="25667" />
-    <val type="list" id="160715948" >
+    <val type="list" id="36752128" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="25668" />
-    <val type="list" id="160715820" >
+    <val type="list" id="36752416" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="6144" />
-    <val type="list" id="160715660" >
-      <item type="string" value="self.ID+0x180" />
+    <val type="list" id="36752488" >
+      <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0}[base&lt;4]" />
       <item type="numeric" value="1" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
     </val>
   </entry>
-  <entry>
-    <key type="numeric" value="8016" />
-    <val type="list" id="160715468" >
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-      <item type="string" value="" />
-    </val>
-  </entry>
   <entry>
     <key type="numeric" value="25090" />
-    <val type="list" id="160715308" >
+    <val type="list" id="36752776" >
       <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="5633" />
-    <val type="list" id="160715180" >
+    <val type="list" id="36752632" >
       <item type="numeric" value="1678835984" />
       <item type="numeric" value="1678836240" />
       <item type="numeric" value="1678836496" />
     </val>
   </entry>
   <entry>
-    <key type="numeric" value="6656" />
-    <val type="list" id="160716364" >
-      <item type="numeric" value="1610613000" />
-    </val>
-  </entry>
-  <entry>
-    <key type="numeric" value="5122" />
-    <val type="list" id="160718092" >
-      <item type="string" value="self.ID+0x80000400" />
+    <key type="numeric" value="6146" />
+    <val type="list" id="16472688" >
+      <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0}[base&lt;4]" />
       <item type="numeric" value="1" />
+      <item type="numeric" value="0" />
+      <item type="numeric" value="0" />
+      <item type="numeric" value="0" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="6145" />
-    <val type="list" id="160716748" >
-      <item type="string" value="self.ID+0x280" />
+    <val type="list" id="36752344" >
+      <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0}[base&lt;4]" />
       <item type="numeric" value="1" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="25638" />
-    <val type="list" id="160718028" >
+    <val type="list" id="36752560" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="25617" />
-    <val type="list" id="160717868" >
+    <val type="list" id="36752992" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="25601" />
-    <val type="list" id="160717804" >
+    <val type="list" id="36753064" >
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
       <item type="numeric" value="0" />
   </entry>
   <entry>
     <key type="numeric" value="4608" />
-    <val type="list" id="160716460" >
-      <item type="numeric" value="1600" />
-      <item type="numeric" value="1472" />
+    <val type="list" id="36752704" >
+      <item type="string" value="&quot;$NODEID+0x600&quot;" />
+      <item type="string" value="&quot;$NODEID+0x580&quot;" />
     </val>
   </entry>
   <entry>
     <key type="numeric" value="6657" />
-    <val type="list" id="160714860" >
+    <val type="list" id="36753280" >
       <item type="numeric" value="1677787408" />
       <item type="numeric" value="1677787664" />
       <item type="numeric" value="1677787920" />
     </val>
   </entry>
 </attr>
-<attr name="SpecificMenu" type="list" id="160714924" >
-  <item type="tuple" id="159587468" >
+<attr name="SpecificMenu" type="list" id="16472328" >
+  <item type="tuple" id="36727552" >
     <item type="string" value="Read Input Bit" />
-    <item type="list" id="160714828" >
+    <item type="list" id="36753208" >
       <item type="numeric" value="24608" />
       <item type="numeric" value="24624" />
       <item type="numeric" value="24632" />
       <item type="numeric" value="24688" />
     </item>
   </item>
-  <item type="tuple" id="159587596" >
+  <item type="tuple" id="36727840" >
     <item type="string" value="Write Output Bit" />
-    <item type="list" id="160715052" >
+    <item type="list" id="36753488" >
       <item type="numeric" value="25120" />
       <item type="numeric" value="25152" />
       <item type="numeric" value="25168" />
     </item>
   </item>
 </attr>
-<attr name="ParamsDictionary" type="dict" id="160697444" >
+<attr name="ParamsDictionary" type="dict" id="13311968" >
 </attr>
-<attr name="UserMapping" type="dict" id="160697580" >
-  <entry>
-    <key type="numeric" value="8016" />
-    <val type="dict" id="160697716" >
-      <entry>
-        <key type="string" value="need" />
-        <val type="False" value="" />
-      </entry>
-      <entry>
-        <key type="string" value="values" />
-        <val type="list" id="160716236" >
-          <item type="dict" id="160697036" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="ro" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Number of Entries" />
-            </entry>
-          </item>
-          <item type="dict" id="160697172" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="rw" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Compatibility Entry" />
-            </entry>
-          </item>
-          <item type="dict" id="160697308" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="rw" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="5" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string">Compatibility</val>
-            </entry>
-          </item>
-          <item type="dict" id="160696628" >
-            <entry>
-              <key type="string" value="access" />
-              <val type="string" value="rw" />
-            </entry>
-            <entry>
-              <key type="string" value="pdo" />
-              <val type="False" value="" />
-            </entry>
-            <entry>
-              <key type="string" value="type" />
-              <val type="numeric" value="15" />
-            </entry>
-            <entry>
-              <key type="string" value="name" />
-              <val type="string" value="Download Program Data - HW Settings" />
-            </entry>
-          </item>
-        </val>
-      </entry>
-      <entry>
-        <key type="string" value="name" />
-        <val type="string" value="Download Program Data" />
-      </entry>
-      <entry>
-        <key type="string" value="struct" />
-        <val type="numeric" value="3" />
-      </entry>
-    </val>
-  </entry>
+<attr name="UserMapping" type="dict" id="38600576" >
 </attr>
-<attr name="DS302" type="dict" id="160696764" >
+<attr name="DS302" type="dict" id="38668640" >
 </attr>
 <attr name="ProfileName" type="string" value="DS-401" />
 <attr name="Type" type="string">slave</attr>
-<attr name="ID" type="numeric" value="64" />
+<attr name="ID" type="numeric" value="0" />
 <attr name="Name" type="string">ObjDict</attr>
 </PyObject>
index 9f04cfda80b3ac1561ae1ecb97827c8cb9834b1f..5e1f6a5f187b9e26cdd16e1e51aa363f017594b1 100644 (file)
@@ -103,12 +103,11 @@ int main_can(s_BOARD SlaveBoard, char* LibraryPath)
 void stop_slave()
 {      
     EnterMutex();
-
        setState(&ObjDict_Data, Stopped);
+    LeaveMutex();
+
     StopTimerLoop();
     canClose(&ObjDict_Data);
 
-    LeaveMutex();
-
        return;
 }
index 8ec87c186d6b43daa223d46b23df56156f06a717..399b481e63511bee73560c1265595b30d473e874 100644 (file)
@@ -672,7 +672,7 @@ static int  is_set(int                      i,
 
 static int     get_bit(UNS8    input, int bit)
 {
-    return input & (((UNS8)1) <<  bit) ? 1 : 0; 
+    return input & (((UNS8)1) <<  bit-1) ? 1 : 0; 
 }
 
 void MyFrame::Paint()