# ethercat struct -a12 /* Master 0, Slave 7 * Vendor ID: 0x00000539 * Product code: 0x02200001 * Revision number: 0x00030001 */ ec_pdo_entry_info_t slave_7_pdo_entries[] = { {0x6040, 0x00, 16}, {0x607a, 0x00, 32}, {0x60b1, 0x00, 32}, {0x6072, 0x00, 16}, {0x60fe, 0x01, 32}, {0x60b8, 0x00, 16}, {0x6060, 0x00, 8}, {0x6041, 0x00, 16}, {0x6064, 0x00, 32}, {0x606c, 0x00, 32}, {0x6077, 0x00, 16}, {0x60f4, 0x00, 32}, {0x60fd, 0x00, 32}, {0x60ba, 0x00, 32}, {0x60b9, 0x00, 16}, {0x6061, 0x00, 8}, {0x6098, 0x00, 8}, {0x603f, 0x00, 16}, {0x6062, 0x00, 32}, }; ec_pdo_info_t slave_7_pdos[] = { {0x1600, 7, slave_7_pdo_entries + 0}, {0x1a00, 8, slave_7_pdo_entries + 7}, {0x1a01, 4, slave_7_pdo_entries + 15}, /* 2nd Transmit PDO mapping??ion */ }; ec_sync_info_t slave_7_syncs[] = { {0, EC_DIR_OUTPUT, 0, NULL, EC_WD_DISABLE}, {1, EC_DIR_INPUT, 0, NULL, EC_WD_DISABLE}, {2, EC_DIR_OUTPUT, 1, slave_7_pdos + 0, EC_WD_ENABLE}, {3, EC_DIR_INPUT, 2, slave_7_pdos + 1, EC_WD_DISABLE}, {0xff} }; # ethercat xml -a12 1337 #x1600 #x6040 0 16 UINT16 #x607a 0 32 UINT32 #x60b1 0 32 UINT32 #x6072 0 16 UINT16 #x60fe 1 32 UINT32 #x60b8 0 16 UINT16 #x6060 0 8 UINT8 #x1a00 #x6041 0 16 UINT16 #x6064 0 32 UINT32 #x606c 0 32 UINT32 #x6077 0 16 UINT16 #x60f4 0 32 UINT32 #x60fd 0 32 UINT32 #x60ba 0 32 UINT32 #x60b9 0 16 UINT16 #x1a01 2nd Transmit PDO mapping??ion #x6061 0 8 UINT8 #x6098 0 8 UINT8 #x603f 0 16 UINT16 #x6062 0 32 UINT32