include/ecdb.h
changeset 909 3b3087d4cdc5
parent 908 386b908033be
child 910 9fd31755f576
equal deleted inserted replaced
908:386b908033be 909:3b3087d4cdc5
     1 /******************************************************************************
       
     2  *
       
     3  *  $Id$
       
     4  *
       
     5  *  Copyright (C) 2006  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
       
    10  *  and/or modify it under the terms of the GNU General Public License
       
    11  *  as published by the Free Software Foundation; either version 2 of the
       
    12  *  License, or (at your option) any later version.
       
    13  *
       
    14  *  The IgH EtherCAT Master is distributed in the hope that it will be
       
    15  *  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    17  *  GNU General Public License for more details.
       
    18  *
       
    19  *  You should have received a copy of the GNU General Public License
       
    20  *  along with the IgH EtherCAT Master; if not, write to the Free Software
       
    21  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    22  *
       
    23  *  The right to use EtherCAT Technology is granted and comes free of
       
    24  *  charge under condition of compatibility of product made by
       
    25  *  Licensee. People intending to distribute/sell products based on the
       
    26  *  code, have to sign an agreement to guarantee that products using
       
    27  *  software based on IgH EtherCAT master stay compatible with the actual
       
    28  *  EtherCAT specification (which are released themselves as an open
       
    29  *  standard) as the (only) precondition to have the right to use EtherCAT
       
    30  *  Technology, IP and trade marks.
       
    31  *
       
    32  *****************************************************************************/
       
    33 
       
    34 /**
       
    35    \file
       
    36    EtherCAT Slave Database.
       
    37 
       
    38    \attention Please do not create any dependencies to this file! It may be
       
    39    changed between releases. Provide a copy, if you want to use it in foreign
       
    40    projects.
       
    41 */
       
    42 
       
    43 /*****************************************************************************/
       
    44 
       
    45 #ifndef __ECDB_H__
       
    46 #define __ECDB_H__
       
    47 
       
    48 /*****************************************************************************/
       
    49 
       
    50 /** \cond */
       
    51 
       
    52 #define Beckhoff_EK1100 0x00000002, 0x044C2C52
       
    53 
       
    54 #define Beckhoff_BK1120 0x00000002, 0x04602C22
       
    55 
       
    56 #define Beckhoff_EL1004 0x00000002, 0x03EC3052
       
    57 #define Beckhoff_EL1004_PDO_Inputs 0x3101, 1
       
    58 #define Beckhoff_EL1004_Inputs Beckhoff_EL1004, Beckhoff_EL1004_PDO_Inputs
       
    59 
       
    60 #define Beckhoff_EL1004v2_PDO_Inputs 0x6000, 1
       
    61 #define Beckhoff_EL1004v2_Inputs Beckhoff_EL1004, Beckhoff_EL1004v2_PDO_Inputs
       
    62 
       
    63 #define Beckhoff_EL1014 0x00000002, 0x03F63052
       
    64 #define Beckhoff_EL1014_PDO_Inputs 0x3101, 1
       
    65 #define Beckhoff_EL1014_Inputs Beckhoff_EL1014, Beckhoff_EL1014_PDO_Inputs 
       
    66 
       
    67 #define Beckhoff_EL1014v2_PDO_Inputs 0x6000, 1
       
    68 #define Beckhoff_EL1014v2_Inputs Beckhoff_EL1014, Beckhoff_EL1014v2_PDO_Inputs
       
    69 
       
    70 #define Beckhoff_EL2004 0x00000002, 0x07D43052
       
    71 #define Beckhoff_EL2004_PDO_Outputs 0x3001, 1
       
    72 #define Beckhoff_EL2004_Outputs Beckhoff_EL2004, Beckhoff_EL2004_PDO_Outputs 
       
    73 
       
    74 #define Beckhoff_EL2032 0x00000002, 0x07F03052
       
    75 #define Beckhoff_EL2032_PDO_Outputs 0x3001, 1
       
    76 #define Beckhoff_EL2032_Outputs Beckhoff_EL2032, Beckhoff_EL2032_PDO_Outputs
       
    77 
       
    78 #define Beckhoff_EL3102 0x00000002, 0x0C1E3052
       
    79 #define Beckhoff_EL3102_PDO_Status1 0x3101, 1
       
    80 #define Beckhoff_EL3102_PDO_Input1  0x3101, 2
       
    81 #define Beckhoff_EL3102_PDO_Status2 0x3102, 1
       
    82 #define Beckhoff_EL3102_PDO_Input2  0x3102, 2
       
    83 #define Beckhoff_EL3102_Status1 Beckhoff_EL3102, Beckhoff_EL3102_PDO_Status1
       
    84 #define Beckhoff_EL3102_Input1  Beckhoff_EL3102, Beckhoff_EL3102_PDO_Input1 
       
    85 #define Beckhoff_EL3102_Status2 Beckhoff_EL3102, Beckhoff_EL3102_PDO_Status2
       
    86 #define Beckhoff_EL3102_Input2  Beckhoff_EL3102, Beckhoff_EL3102_PDO_Input2
       
    87 
       
    88 #define Beckhoff_EL3152 0x00000002, 0x0C503052
       
    89 #define Beckhoff_EL3152_PDO_Status1 0x3101, 1
       
    90 #define Beckhoff_EL3152_PDO_Input1  0x3101, 2
       
    91 #define Beckhoff_EL3152_PDO_Status2 0x3102, 1
       
    92 #define Beckhoff_EL3152_PDO_Input2  0x3102, 2
       
    93 #define Beckhoff_EL3152_Status1 Beckhoff_EL3152, Beckhoff_EL3152_PDO_Status1
       
    94 #define Beckhoff_EL3152_Input1  Beckhoff_EL3152, Beckhoff_EL3152_PDO_Input1
       
    95 #define Beckhoff_EL3152_Status2 Beckhoff_EL3152, Beckhoff_EL3152_PDO_Status2
       
    96 #define Beckhoff_EL3152_Input2  Beckhoff_EL3152, Beckhoff_EL3152_PDO_Input2
       
    97 
       
    98 #define Beckhoff_EL3162 0x00000002, 0x0C5A3052
       
    99 #define Beckhoff_EL3162_PDO_Status1 0x3101, 1
       
   100 #define Beckhoff_EL3162_PDO_Input1  0x3101, 2
       
   101 #define Beckhoff_EL3162_PDO_Status2 0x3102, 1
       
   102 #define Beckhoff_EL3162_PDO_Input2  0x3102, 2
       
   103 #define Beckhoff_EL3162_Status1 Beckhoff_EL3162, Beckhoff_EL3162_PDO_Status1
       
   104 #define Beckhoff_EL3162_Input1  Beckhoff_EL3162, Beckhoff_EL3162_PDO_Input1
       
   105 #define Beckhoff_EL3162_Status2 Beckhoff_EL3162, Beckhoff_EL3162_PDO_Status2
       
   106 #define Beckhoff_EL3162_Input2  Beckhoff_EL3162, Beckhoff_EL3162_PDO_Input2
       
   107 
       
   108 #define Beckhoff_EL4102 0x00000002, 0x10063052
       
   109 #define Beckhoff_EL4102_PDO_Output1 0x6411, 1
       
   110 #define Beckhoff_EL4102_PDO_Output2 0x6411, 2
       
   111 #define Beckhoff_EL4102_Output1 Beckhoff_EL4102, Beckhoff_EL4102_PDO_Output1
       
   112 #define Beckhoff_EL4102_Output2 Beckhoff_EL4102, Beckhoff_EL4102_PDO_Output2
       
   113 
       
   114 #define Beckhoff_EL4132 0x00000002, 0x10243052
       
   115 #define Beckhoff_EL4132_PDO_Output1 0x6411, 1
       
   116 #define Beckhoff_EL4132_PDO_Output2 0x6411, 2
       
   117 #define Beckhoff_EL4132_Output1 Beckhoff_EL4132, Beckhoff_EL4132_PDO_Output1
       
   118 #define Beckhoff_EL4132_Output2 Beckhoff_EL4132, Beckhoff_EL4132_PDO_Output2
       
   119 
       
   120 #define Beckhoff_EL5001 0x00000002, 0x13893052
       
   121 #define Beckhoff_EL5001_PDO_Status 0x3101, 1
       
   122 #define Beckhoff_EL5001_PDO_Value  0x3101, 2
       
   123 #define Beckhoff_EL5001_Status Beckhoff_EL5001, Beckhoff_EL5001_PDO_Status
       
   124 #define Beckhoff_EL5001_Value  Beckhoff_EL5001, Beckhoff_EL5001_PDO_Value
       
   125 
       
   126 #define Beckhoff_EL5101 0x00000002, 0x13ED3052
       
   127 #define Beckhoff_EL5101_PDO_Status      0x6000, 1
       
   128 #define Beckhoff_EL5101_PDO_Value       0x6000, 2
       
   129 #define Beckhoff_EL5101_PDO_Latch       0x6000, 3
       
   130 #define Beckhoff_EL5101_PDO_Frequency   0x6000, 4
       
   131 #define Beckhoff_EL5101_PDO_Period      0x6000, 5
       
   132 #define Beckhoff_EL5101_PDO_Window      0x6000, 6
       
   133 #define Beckhoff_EL5101_PDO_Ctrl        0x7000, 1
       
   134 #define Beckhoff_EL5101_PDO_OutputValue 0x7000, 2
       
   135 #define Beckhoff_EL5101_Status      Beckhoff_EL5101, Beckhoff_EL5101_PDO_Status      
       
   136 #define Beckhoff_EL5101_Value       Beckhoff_EL5101, Beckhoff_EL5101_PDO_Value       
       
   137 #define Beckhoff_EL5101_Latch       Beckhoff_EL5101, Beckhoff_EL5101_PDO_Latch       
       
   138 #define Beckhoff_EL5101_Frequency   Beckhoff_EL5101, Beckhoff_EL5101_PDO_Frequency   
       
   139 #define Beckhoff_EL5101_Period      Beckhoff_EL5101, Beckhoff_EL5101_PDO_Period      
       
   140 #define Beckhoff_EL5101_Window      Beckhoff_EL5101, Beckhoff_EL5101_PDO_Window      
       
   141 #define Beckhoff_EL5101_Ctrl        Beckhoff_EL5101, Beckhoff_EL5101_PDO_Ctrl        
       
   142 #define Beckhoff_EL5101_OutputValue Beckhoff_EL5101, Beckhoff_EL5101_PDO_OutputValue 
       
   143 
       
   144 /** \endcond */
       
   145 
       
   146 /*****************************************************************************/
       
   147 
       
   148 #endif