fp@1877: /****************************************************************************** fp@1877: * fp@1877: * $Id$ fp@1877: * fp@1877: * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH fp@1877: * fp@1877: * This file is part of the IgH EtherCAT Master. fp@1877: * fp@1877: * The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1877: * modify it under the terms of the GNU General Public License version 2, as fp@1877: * published by the Free Software Foundation. fp@1877: * fp@1877: * The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1877: * but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1877: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1877: * Public License for more details. fp@1877: * fp@1877: * You should have received a copy of the GNU General Public License along fp@1877: * with the IgH EtherCAT Master; if not, write to the Free Software fp@1877: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@1877: * fp@1877: * --- fp@1877: * fp@1877: * The license mentioned above concerns the source code only. Using the fp@1877: * EtherCAT technology and brand is only permitted in compliance with the fp@1877: * industrial property and similar rights of Beckhoff Automation GmbH. fp@1877: * fp@1877: *****************************************************************************/ fp@1877: fp@1877: /** fp@1877: \file fp@1877: EtherCAT SoE errors. fp@1877: */ fp@1877: fp@1877: /*****************************************************************************/ fp@1877: fp@1877: #include "globals.h" fp@1877: fp@1877: /*****************************************************************************/ fp@1877: fp@1877: /** SoE error codes. fp@1877: */ fp@1877: const ec_code_msg_t soe_error_codes[] = { fp@1877: {0x1001, "No IDN"}, fp@1877: {0x1009, "Invalid access to element 1"}, fp@1877: {0x2001, "No name"}, fp@1877: {0x2002, "Name transmission too short"}, fp@1877: {0x2003, "Name transmission too long"}, fp@1877: {0x2004, "Name cannot be changed, read only"}, fp@1877: {0x2005, "Name is write protected at this time"}, fp@1877: {0x3002, "Attribute transmission too short"}, fp@1877: {0x3003, "Attribute transmission too long"}, fp@1877: {0x3004, "Attribute cannot be changed, read only"}, fp@1877: {0x3005, "Attribute is write protected at this time"}, fp@1877: {0x4001, "No unit"}, fp@1877: {0x4002, "Unit transmission too short"}, fp@1877: {0x4003, "Unit transmission too long"}, fp@1877: {0x4004, "Unit cannot be changed, read only"}, fp@1877: {0x4005, "Unit is write proteced at this time"}, fp@1877: {0x5001, "No minimum input value"}, fp@1877: {0x5002, "Minimum input value transmission too short"}, fp@1877: {0x5003, "Minimum input value transmission too long"}, fp@1877: {0x5004, "Minimum input value cannot be changed, read only"}, fp@1877: {0x5005, "Minimum input value is write protected at this time"}, fp@1877: {0x6001, "No maximum input value"}, fp@1877: {0x6002, "Maximum input value transmission too short"}, fp@1877: {0x6003, "Maximum input value transmission too long"}, fp@1877: {0x6004, "Maximum input value cannot be changed, read only"}, fp@1877: {0x6005, "Maximum input value is write protected at this time"}, fp@1877: {0x7002, "Operation data value transmission too short"}, fp@1877: {0x7003, "Operation data value transmission too long"}, fp@1877: {0x7004, "Operation data value cannot be changed, read only"}, fp@1877: {0x7005, "Operation data value is write protected at this time"}, fp@1877: {0x7006, "Operation data value is smaller than the minimum input value"}, fp@1877: {0x7007, "Operation data value is greater than the minimum input value"}, fp@1877: {0x7008, "Invalid operation data"}, fp@1877: {0x7009, "Operation data is write protected by a password"}, fp@1877: {0x700A, "Operation data is write protected"}, fp@1877: {0x700B, "Invalid indirect addressing"}, fp@1877: {0x700C, "Operation data is write protected due to other settings"}, fp@1877: {0x700D, "Reserved"}, fp@1877: {0x7010, "Procedure command already active"}, fp@1877: {0x7011, "Procedure command not interruptible"}, fp@1877: {0x7012, "Procedure command is at this time not executable"}, fp@1877: {0x7013, "Procedure command not executable"}, fp@1877: {0x7014, "No data state"}, fp@1877: {0x8001, "No default value"}, fp@1877: {0x8002, "Default value transmission too long"}, fp@1877: {0x8004, "Default value cannot be changed, read only"}, fp@1877: {0x800A, "Invalid drive number"}, fp@1877: {0x800B, "General error"}, fp@1877: {0x800C, "No element addressed"}, fp@1877: {} fp@1877: }; fp@1877: fp@1877: /*****************************************************************************/