|
1 /****************************************************************************** |
|
2 * |
|
3 * $Id$ |
|
4 * |
|
5 * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
|
6 * |
|
7 * This file is part of the IgH EtherCAT Master. |
|
8 * |
|
9 * The IgH EtherCAT Master is free software; you can redistribute it and/or |
|
10 * modify it under the terms of the GNU General Public License version 2, as |
|
11 * published by the Free Software Foundation. |
|
12 * |
|
13 * The IgH EtherCAT Master is distributed in the hope that it will be useful, |
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
|
16 * Public License for more details. |
|
17 * |
|
18 * You should have received a copy of the GNU General Public License along |
|
19 * with the IgH EtherCAT Master; if not, write to the Free Software |
|
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
21 * |
|
22 * --- |
|
23 * |
|
24 * The license mentioned above concerns the source code only. Using the |
|
25 * EtherCAT technology and brand is only permitted in compliance with the |
|
26 * industrial property and similar rights of Beckhoff Automation GmbH. |
|
27 * |
|
28 *****************************************************************************/ |
|
29 |
|
30 /** |
|
31 \file |
|
32 EtherCAT SoE errors. |
|
33 */ |
|
34 |
|
35 /*****************************************************************************/ |
|
36 |
|
37 #include "globals.h" |
|
38 |
|
39 /*****************************************************************************/ |
|
40 |
|
41 /** SoE error codes. |
|
42 */ |
|
43 const ec_code_msg_t soe_error_codes[] = { |
|
44 {0x1001, "No IDN"}, |
|
45 {0x1009, "Invalid access to element 1"}, |
|
46 {0x2001, "No name"}, |
|
47 {0x2002, "Name transmission too short"}, |
|
48 {0x2003, "Name transmission too long"}, |
|
49 {0x2004, "Name cannot be changed, read only"}, |
|
50 {0x2005, "Name is write protected at this time"}, |
|
51 {0x3002, "Attribute transmission too short"}, |
|
52 {0x3003, "Attribute transmission too long"}, |
|
53 {0x3004, "Attribute cannot be changed, read only"}, |
|
54 {0x3005, "Attribute is write protected at this time"}, |
|
55 {0x4001, "No unit"}, |
|
56 {0x4002, "Unit transmission too short"}, |
|
57 {0x4003, "Unit transmission too long"}, |
|
58 {0x4004, "Unit cannot be changed, read only"}, |
|
59 {0x4005, "Unit is write proteced at this time"}, |
|
60 {0x5001, "No minimum input value"}, |
|
61 {0x5002, "Minimum input value transmission too short"}, |
|
62 {0x5003, "Minimum input value transmission too long"}, |
|
63 {0x5004, "Minimum input value cannot be changed, read only"}, |
|
64 {0x5005, "Minimum input value is write protected at this time"}, |
|
65 {0x6001, "No maximum input value"}, |
|
66 {0x6002, "Maximum input value transmission too short"}, |
|
67 {0x6003, "Maximum input value transmission too long"}, |
|
68 {0x6004, "Maximum input value cannot be changed, read only"}, |
|
69 {0x6005, "Maximum input value is write protected at this time"}, |
|
70 {0x7002, "Operation data value transmission too short"}, |
|
71 {0x7003, "Operation data value transmission too long"}, |
|
72 {0x7004, "Operation data value cannot be changed, read only"}, |
|
73 {0x7005, "Operation data value is write protected at this time"}, |
|
74 {0x7006, "Operation data value is smaller than the minimum input value"}, |
|
75 {0x7007, "Operation data value is greater than the minimum input value"}, |
|
76 {0x7008, "Invalid operation data"}, |
|
77 {0x7009, "Operation data is write protected by a password"}, |
|
78 {0x700A, "Operation data is write protected"}, |
|
79 {0x700B, "Invalid indirect addressing"}, |
|
80 {0x700C, "Operation data is write protected due to other settings"}, |
|
81 {0x700D, "Reserved"}, |
|
82 {0x7010, "Procedure command already active"}, |
|
83 {0x7011, "Procedure command not interruptible"}, |
|
84 {0x7012, "Procedure command is at this time not executable"}, |
|
85 {0x7013, "Procedure command not executable"}, |
|
86 {0x7014, "No data state"}, |
|
87 {0x8001, "No default value"}, |
|
88 {0x8002, "Default value transmission too long"}, |
|
89 {0x8004, "Default value cannot be changed, read only"}, |
|
90 {0x800A, "Invalid drive number"}, |
|
91 {0x800B, "General error"}, |
|
92 {0x800C, "No element addressed"}, |
|
93 {} |
|
94 }; |
|
95 |
|
96 /*****************************************************************************/ |