Klemme Beckhoff EL2032 hinzugef?gt.
authorFlorian Pose <fp@igh-essen.com>
Wed, 22 Feb 2006 17:36:28 +0000
changeset 72 7c986b717411
parent 71 79d7b9cfdeb9
child 73 9f4ea66d89a3
Klemme Beckhoff EL2032 hinzugef?gt.
master/types.c
--- a/master/types.c	Mon Feb 20 08:36:03 2006 +0000
+++ b/master/types.c	Wed Feb 22 17:36:28 2006 +0000
@@ -30,7 +30,7 @@
 
 unsigned char sm0_1014[] = {0x00, 0x10, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00};
 
-unsigned char sm0_2004[] = {0x00, 0x0F, 0x01, 0x00, 0x46, 0x00, 0x01, 0x00};
+unsigned char sm0_20xx[] = {0x00, 0x0F, 0x01, 0x00, 0x46, 0x00, 0x01, 0x00};
 
 unsigned char sm2_31xx[] = {0x00, 0x10, 0x04, 0x00, 0x24, 0x00, 0x00, 0x00};
 unsigned char sm3_31xx[] = {0x00, 0x11, 0x06, 0x00, 0x20, 0x00, 0x01, 0x00};
@@ -60,7 +60,7 @@
 unsigned char fmmu0_1014[] = {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x07,
                               0x00, 0x10, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00};
 
-unsigned char fmmu0_2004[] = {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x07,
+unsigned char fmmu0_20xx[] = {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x07,
                               0x00, 0x0F, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00};
 
 unsigned char fmmu0_31xx[] = {0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x07,
@@ -100,7 +100,13 @@
 ec_slave_type_t Beckhoff_EL2004 =
 {
     "Beckhoff", "EL2004", "4x Digital Output",
-    EC_SIMPLE_SLAVE, sm0_2004, NULL, NULL, NULL, fmmu0_2004, 1
+    EC_SIMPLE_SLAVE, sm0_20xx, NULL, NULL, NULL, fmmu0_20xx, 1
+};
+
+ec_slave_type_t Beckhoff_EL2032 =
+{
+    "Beckhoff", "EL2032", "2x Digital Output (2A)",
+    EC_SIMPLE_SLAVE, sm0_20xx, NULL, NULL, NULL, fmmu0_20xx, 1
 };
 
 ec_slave_type_t Beckhoff_EL3102 =
@@ -155,6 +161,7 @@
     {0x00000002, 0x044C2C52, &Beckhoff_EK1100},
     {0x00000002, 0x04562C52, &Beckhoff_EK1110},
     {0x00000002, 0x07D43052, &Beckhoff_EL2004},
+    {0x00000002, 0x07F03052, &Beckhoff_EL2032},
     {0x00000002, 0x0C1E3052, &Beckhoff_EL3102},
     {0x00000002, 0x0C5A3052, &Beckhoff_EL3162},
     {0x00000002, 0x10063052, &Beckhoff_EL4102},