00001 00002 #include <al/ethercat_slave_conf.h> 00003 #include <dll/ethercat_slave_memory.h> 00004 00006 EtherCAT_FMMU_Config fmmu_config_EK1100(0); 00007 EtherCAT_PD_Config pd_config_EK1100(0); 00008 EtherCAT_SlaveConfig EC_EK1100(0x044c2c52,0x00010000,1001,&fmmu_config_EK1100,&pd_config_EK1100); 00009 00011 EtherCAT_FMMU_Config fmmu_config_EL4102(2); 00012 EC_FMMU fmmu0_EL4102(0x00080000,1,0,0,0x080D,0,true,false,true); 00013 EC_FMMU fmmu1_EL4102(0x00010000,4,0,7,0x1000,0,false,true,true); 00014 00015 EC_SyncMan syncman_mbx0_EL4102(0x1800,246,EC_QUEUED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00016 EC_SyncMan syncman_mbx1_EL4102(0x18f6,246,EC_QUEUED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00017 EtherCAT_MbxConfig mbx_conf_EL4102 = {syncman_mbx0_EL4102, syncman_mbx1_EL4102}; 00018 00019 EtherCAT_PD_Config pd_config_EL4102(2); 00020 EC_SyncMan 00021 syncman0_EL4102(0x1000,4,EC_BUFFERED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00022 EC_SyncMan 00023 syncman1_EL4102(0x1100,0,EC_BUFFERED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00024 00025 EtherCAT_SlaveConfig EC_EL4102(0x10063052,0,1002,&fmmu_config_EL4102,&pd_config_EL4102,&mbx_conf_EL4102); 00026 00027 00029 EtherCAT_FMMU_Config fmmu_config_EL3162(2); 00030 EC_FMMU fmmu0_EL3162(0x00080000,1,1,1,0x080D,0,true,false,true); 00031 EC_FMMU fmmu1_EL3162(0x00010004,6,0,7,0x1100,0,true,false,true); 00032 00033 EC_SyncMan syncman_mbx0_EL3162(0x1800,246,EC_QUEUED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00034 EC_SyncMan syncman_mbx1_EL3162(0x18f6,246,EC_QUEUED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00035 EtherCAT_MbxConfig mbx_conf_EL3162 = {syncman_mbx0_EL3162, syncman_mbx1_EL3162}; 00036 00037 EtherCAT_PD_Config pd_config_EL3162(2); 00038 EC_SyncMan syncman0_EL3162(0x1000,0,EC_BUFFERED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,false); 00039 EC_SyncMan syncman1_EL3162(0x1100,6,EC_BUFFERED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00040 00041 EtherCAT_SlaveConfig EC_EL3162(0x0C5A3052,0,1003,&fmmu_config_EL3162, &pd_config_EL3162, &mbx_conf_EL3162); 00042 00043 00045 EtherCAT_FMMU_Config fmmu_config_EL2004_1(1); 00046 EC_FMMU fmmu0_EL2004_1(0x0001000A,1,0,3,0x0F00,0,false,true,true); 00047 00048 EtherCAT_PD_Config pd_config_EL2004_1(1); 00049 EC_SyncMan syncman0_EL2004_1(0x0F00,1,EC_QUEUED,EC_WRITTEN_FROM_MASTER,false,true,false,false,false,false,EC_FIRST_BUFFER,true); 00050 00051 EtherCAT_SlaveConfig EC_EL2004_1(0x7d43052,0,1004,&fmmu_config_EL2004_1,&pd_config_EL2004_1); 00052 00054 EtherCAT_FMMU_Config fmmu_config_EL2004_2(1); 00055 EC_FMMU fmmu0_EL2004_2(0x0001000A,1,4,7,0x0F00,0,false,true,true); 00056 00057 EtherCAT_PD_Config pd_config_EL2004_2(1); 00058 EC_SyncMan syncman0_EL2004_2(0x0F00,1,EC_QUEUED,EC_WRITTEN_FROM_MASTER,false,true,false,false,false,false,EC_FIRST_BUFFER,true); 00059 00060 EtherCAT_SlaveConfig EC_EL2004_2(0x7d43052,0,1005,&fmmu_config_EL2004_2,&pd_config_EL2004_2); 00061 00063 EtherCAT_FMMU_Config fmmu_config_EL1014_1(1); 00064 EC_FMMU fmmu0_EL1014_1(0x0001000B,1,0,3,0x1000,0,true,false,true); 00065 00066 EtherCAT_PD_Config pd_config_EL1014_1(1); 00067 EC_SyncMan syncman0_EL1014_1(0x1000,1,EC_BUFFERED,EC_READ_FROM_MASTER,false,false,false,false,false,false,EC_FIRST_BUFFER,true); 00068 00069 EtherCAT_SlaveConfig EC_EL1014_1(0x03F63052,0,1006,&fmmu_config_EL1014_1, &pd_config_EL1014_1); 00070 00072 EtherCAT_FMMU_Config fmmu_config_EL1014_2(1); 00073 EC_FMMU fmmu0_EL1014_2(0x0001000B,1,4,7,0x1000,0,true,false,true); 00074 00075 EtherCAT_PD_Config pd_config_EL1014_2(1); 00076 EC_SyncMan syncman0_EL1014_2(0x1000,1,EC_BUFFERED,EC_READ_FROM_MASTER,false,false,false,false,false,false,EC_FIRST_BUFFER,true); 00077 00078 EtherCAT_SlaveConfig EC_EL1014_2(0x03F63052,0,1007,&fmmu_config_EL1014_2, &pd_config_EL1014_2); 00079 00081 EtherCAT_FMMU_Config fmmu_config_EL5101_1(2); 00082 EC_FMMU fmmu0_EL5101_1(0x00010010,3,0,7,0x1000,0,false,true,true); 00083 EC_FMMU fmmu1_EL5101_1(0x00010013,5,0,7,0x1100,0,true,false,true); 00084 00085 EC_SyncMan syncman_mbx0_EL5101_1(0x1800,246,EC_QUEUED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00086 EC_SyncMan syncman_mbx1_EL5101_1(0x18f6,246,EC_QUEUED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00087 EtherCAT_MbxConfig mbx_conf_EL5101_1 = {syncman_mbx0_EL5101_1, syncman_mbx1_EL5101_1}; 00088 00089 EtherCAT_PD_Config pd_config_EL5101_1(2); 00090 EC_SyncMan syncman0_EL5101_1(0x1000,3,EC_BUFFERED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00091 EC_SyncMan syncman1_EL5101_1(0x1100,5,EC_BUFFERED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00092 00093 EtherCAT_SlaveConfig EC_EL5101_1(0x13ED3052,0x270B0000,1008,&fmmu_config_EL5101_1, &pd_config_EL5101_1, &mbx_conf_EL5101_1); 00094 00096 EtherCAT_FMMU_Config fmmu_config_EL5101_2(2); 00097 EC_FMMU fmmu0_EL5101_2(0x00010803,3,0,7,0x1000,0,false,true,true); 00098 EC_FMMU fmmu1_EL5101_2(0x00011005,5,0,7,0x1100,0,true,false,true); 00099 00100 EC_SyncMan syncman_mbx0_EL5101_2(0x1800,246,EC_QUEUED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00101 EC_SyncMan syncman_mbx1_EL5101_2(0x18f6,246,EC_QUEUED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00102 EtherCAT_MbxConfig mbx_conf_EL5101_2 = {syncman_mbx0_EL5101_2, syncman_mbx1_EL5101_2}; 00103 00104 EtherCAT_PD_Config pd_config_EL5101_2(2); 00105 EC_SyncMan syncman0_EL5101_2(0x1000,3,EC_BUFFERED,EC_WRITTEN_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00106 EC_SyncMan syncman1_EL5101_2(0x1100,5,EC_BUFFERED,EC_READ_FROM_MASTER,true,false,false,false,false,false,EC_FIRST_BUFFER,true); 00107 00108 EtherCAT_SlaveConfig EC_EL5101_2(0x13ED3052,0x270B0000,1009,&fmmu_config_EL5101_2, &pd_config_EL5101_2, &mbx_conf_EL5101_2); 00109