IgH EtherCAT Master
1.5.3
foe.h
Go to the documentation of this file.
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
34
#ifndef __FOE_H__
35
#define __FOE_H__
36
37
/*****************************************************************************/
38
41
typedef
enum
{
42
FOE_BUSY
= 0,
43
FOE_READY
= 1,
44
FOE_IDLE
= 2,
45
FOE_WC_ERROR
= 3,
46
FOE_RECEIVE_ERROR
= 4,
47
FOE_PROT_ERROR
= 5,
48
FOE_NODATA_ERROR
= 6,
49
FOE_PACKETNO_ERROR
= 7,
50
FOE_OPCODE_ERROR
= 8,
51
FOE_TIMEOUT_ERROR
= 9,
52
FOE_SEND_RX_DATA_ERROR
= 10,
53
FOE_RX_DATA_ACK_ERROR
= 11,
54
FOE_ACK_ERROR
= 12,
55
FOE_MBOX_FETCH_ERROR
= 13,
56
FOE_READ_NODATA_ERROR
= 14,
57
FOE_MBOX_PROT_ERROR
= 15,
58
}
ec_foe_error_t
;
59
60
/*****************************************************************************/
61
62
#endif
FOE_RECEIVE_ERROR
Receive error.
Definition:
foe.h:46
FOE_MBOX_FETCH_ERROR
Error fetching data from mailbox.
Definition:
foe.h:55
FOE_WC_ERROR
Working counter error.
Definition:
foe.h:45
FOE_NODATA_ERROR
No data error.
Definition:
foe.h:48
FOE_PACKETNO_ERROR
Packet number error.
Definition:
foe.h:49
FOE_OPCODE_ERROR
OpCode error.
Definition:
foe.h:50
ec_foe_error_t
ec_foe_error_t
FoE error enumeration type.
Definition:
foe.h:41
FOE_RX_DATA_ACK_ERROR
Error acknowledging received data.
Definition:
foe.h:53
FOE_BUSY
Busy.
Definition:
foe.h:42
FOE_TIMEOUT_ERROR
Timeout error.
Definition:
foe.h:51
FOE_IDLE
Idle.
Definition:
foe.h:44
FOE_PROT_ERROR
Protocol error.
Definition:
foe.h:47
FOE_READY
Ready.
Definition:
foe.h:43
FOE_SEND_RX_DATA_ERROR
Error sending received data.
Definition:
foe.h:52
FOE_MBOX_PROT_ERROR
Mailbox protocol error.
Definition:
foe.h:57
FOE_ACK_ERROR
Acknowledge error.
Definition:
foe.h:54
FOE_READ_NODATA_ERROR
No data while reading.
Definition:
foe.h:56
Documentation automatically createt on Fri Jun 7 2024 11:28:44 by
. - IgH EtherCAT Master developed by
Ingenieurgemeinschaft IgH GmbH
. All rights reserved.