From 1a4d83d2db1e209036be354148eb677013e2b114 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Wed, 22 Feb 2006 17:36:28 +0000
Subject: [PATCH] =?UTF-8?q?Klemme=20Beckhoff=20EL2032=20hinzugef=C3=BCgt.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 master/types.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/master/types.c b/master/types.c
index baf68f71..4911600d 100644
--- a/master/types.c
+++ b/master/types.c
@@ -30,7 +30,7 @@ unsigned char sm1_multi[] = {0xF6, 0x18, 0xF6, 0x00, 0x22, 0x00, 0x01, 0x00};
 
 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 sm3_5101[] = {0x00, 0x11, 0x05, 0x00, 0x20, 0x00, 0x01, 0x00};
 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_EL1014 =
 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 @@ ec_slave_ident_t slave_idents[] =
     {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},
-- 
GitLab