$search
00001 00002 /****************************************************************************** 00003 * 00004 * Copyright (c) 2012 00005 * 00006 * SCHUNK GmbH & Co. KG 00007 * 00008 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00009 * 00010 * Project name: Drivers for "Amtec M5 Protocol" Electronics V4 00011 * 00012 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00013 * 00014 * Email:robotics@schunk.com 00015 * 00016 * ToDo: 00017 * 00018 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00019 * 00020 * Redistribution and use in source and binary forms, with or without 00021 * modification, are permitted provided that the following conditions are met: 00022 * 00023 * * Redistributions of source code must retain the above copyright 00024 * notice, this list of conditions and the following disclaimer. 00025 * * Redistributions in binary form must reproduce the above copyright 00026 * notice, this list of conditions and the following disclaimer in the 00027 * documentation and/or other materials provided with the distribution. 00028 * * Neither the name of SCHUNK GmbH & Co. KG nor the names of its 00029 * contributors may be used to endorse or promote products derived from 00030 * this software without specific prior written permission. 00031 * 00032 * This program is free software: you can redistribute it and/or modify 00033 * it under the terms of the GNU Lesser General Public License LGPL as 00034 * published by the Free Software Foundation, either version 3 of the 00035 * License, or (at your option) any later version. 00036 * 00037 * This program is distributed in the hope that it will be useful, 00038 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00039 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00040 * GNU Lesser General Public License LGPL for more details. 00041 * 00042 * You should have received a copy of the GNU Lesser General Public 00043 * License LGPL along with this program. 00044 * If not, see <http://www.gnu.org/licenses/>. 00045 * 00046 ******************************************************************************/ 00047 00048 00049 00050 00051 #ifndef DEVICEERRORS_H 00052 #define DEVICEERRORS_H 00053 00054 // Device Errors 00055 00056 #define ERRID_DEV (-200L) // device message 00057 00058 #define ERRID_DEV_FUNCTIONNOTAVAILABLE (ERRID_DEV - 1) 00059 #define ERRID_DEV_NOINITSTRING (ERRID_DEV - 2) 00060 #define ERRID_DEV_NODEVICENAME (ERRID_DEV - 3) 00061 #define ERRID_DEV_BADINITSTRING (ERRID_DEV - 4) 00062 #define ERRID_DEV_INITERROR (ERRID_DEV - 5) 00063 #define ERRID_DEV_NOTINITIALIZED (ERRID_DEV - 6) 00064 #define ERRID_DEV_WRITEERROR (ERRID_DEV - 7) 00065 #define ERRID_DEV_READERROR (ERRID_DEV - 8) 00066 #define ERRID_DEV_WRITETIMEOUT (ERRID_DEV - 9) 00067 #define ERRID_DEV_READTIMEOUT (ERRID_DEV - 10) 00068 #define ERRID_DEV_WRONGMESSAGEID (ERRID_DEV - 11) 00069 #define ERRID_DEV_WRONGCOMMANDID (ERRID_DEV - 12) 00070 #define ERRID_DEV_WRONGPARAMETERID (ERRID_DEV - 13) 00071 #define ERRID_DEV_EXITERROR (ERRID_DEV - 14) 00072 #define ERRID_DEV_NOMODULES (ERRID_DEV - 15) 00073 #define ERRID_DEV_WRONGDEVICEID (ERRID_DEV - 16) 00074 #define ERRID_DEV_NOLIBRARY (ERRID_DEV - 17) 00075 #define ERRID_DEV_ISINITIALIZED (ERRID_DEV - 18) 00076 #define ERRID_DEV_WRONGEMSMODULEID (ERRID_DEV - 19) 00077 #define ERRID_DEV_EMSNOTINITIALIZED (ERRID_DEV - 20) 00078 #define ERRID_DEV_EMSMAXNUMBER (ERRID_DEV - 21) 00079 #define ERRID_DEV_EMSINITERROR (ERRID_DEV - 22) 00080 #define ERRID_DEV_WRONGEMSTYPE (ERRID_DEV - 23) 00081 #define ERRID_DEV_WRONGEMSCHANNELID (ERRID_DEV - 24) 00082 #define ERRID_DEV_WRONGMP55MODULEID (ERRID_DEV - 25) 00083 #define ERRID_DEV_WRONGSCHUNKMODULEID (ERRID_DEV - 26) 00084 #define ERRID_DEV_WRONGMODULEID (ERRID_DEV - 27) 00085 #define ERRID_DEV_MODULEERROR (ERRID_DEV - 28) 00086 #define ERRID_DEV_WAITTIMEOUT (ERRID_DEV - 29) 00087 #define ERRID_DEV_CONNECTIONNOTINIT (ERRID_DEV - 30) 00088 #define ERRID_DEV_PARSERERROR (ERRID_DEV - 31) 00089 #endif