[etherlab-users] Unknown xml configuration

carlos_jimenez carlos_jimenez at encopim.com
Wed Sep 28 15:28:49 CEST 2016


Thank you for your answer Dr. Hagemeister,

For clarification, yes, I'm using an application over the EtherCAT 
master, and I have used this application with a lot of Beckhoff modules 
many times.

I check this way to upload the EEPROM but I think this is not what I 
need, because I want to apply just some configuration from the 
configuration file of the Gantner modules, and the file created with the 
TwinCAT seems too big to be what I need. There are any way with the API 
of the master to send some configuration data to the EEPROM? or this 
does not make sense?

Data what I need to send to slave:
...
<Eeprom>
    <ByteSize>2048</ByteSize>
    <ConfigData>080C0204C8000000000000000000</ConfigData>
</Eeprom>
...
If I just send this data to the EEPROM, maybe I will 'destroy' the 
slave.

The main problem is: I have a couple modules from Gantner, my 
application read the configuration file (including SyncManagers, 
Rx/TxPDO, Watchdog, DC) and apply this configuration to the slaves when 
I start the master. All slaves goes to OPerational state, but I cannot 
receive any data (only 0) with PDO communication, if I use the ethercat 
tool (upload), I can read correctly the value applied to the input.

I'm trying to apply all configuration file from Gantner (there are some 
parts I think I do not need), and the last one could be something 
important is this configuration of the EEPROM.

Log when I start my application:
---
[16619.851942] EtherCAT: Requesting master 0...
[16619.851979] EtherCAT DEBUG 0: IDLE -> OPERATION.
[16619.851981] EtherCAT: Successfully requested master 0.
[16619.852021] EtherCAT DEBUG 0: ecrt_master_create_domain(master = 
0xee1c8000)
[16619.852024] EtherCAT DEBUG 0: Created domain 0.
[16619.852032] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 0, vendor_id = 0x0000050a, 
product_code = 0x00000043)
[16619.852035] EtherCAT DEBUG 0: Creating slave configuration for 0:0, 
0x0000050A/0x00000043.
[16619.852040] EtherCAT DEBUG 0 0:0: Attached slave 0.
[16619.852048] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 1, vendor_id = 0x0000050a, 
product_code = 0x0000bb81)
[16619.852051] EtherCAT DEBUG 0: Creating slave configuration for 0:1, 
0x0000050A/0x0000BB81.
[16619.852053] EtherCAT DEBUG 0 0:1: Attached slave 1.
[16619.852067] EtherCAT DEBUG 0 0:1: ecrt_slave_config_watchdog(sc = 
0xf7915800, divider = 25000, intervals = 100)
[16619.852075] EtherCAT DEBUG 0 0:1: ecrt_slave_config_sync_manager(sc = 
0xf7915800, sync_index = 0, dir = 2, watchdog_mode = 1650551154)
[16619.852082] EtherCAT DEBUG 0 0:1: ecrt_slave_config_sync_manager(sc = 
0xf7915800, sync_index = 1, dir = 2, watchdog_mode = 538976288)
[16619.852089] EtherCAT DEBUG 0 0:1: ecrt_slave_config_sync_manager(sc = 
0xf7915800, sync_index = 2, dir = 2, watchdog_mode = 538976288)
[16619.852095] EtherCAT DEBUG 0 0:1: ecrt_slave_config_sync_manager(sc = 
0xf7915800, sync_index = 3, dir = 2, watchdog_mode = 1009791792)
[16619.852103] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_assign_clear(sc = 0xf7915800, sync_index = 3)
[16619.852112] EtherCAT DEBUG 0 0:1: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915800, sync_index = 3, pdo_index = 0x1A00)
[16619.852114] EtherCAT DEBUG 0 0:1: Loading default mapping for PDO 
0x1A00.
[16619.852116] EtherCAT DEBUG 0 0:1: Found PDO name "InMap: Variable 1".
[16619.852119] EtherCAT DEBUG 0 0:1: Entry 0x6000:01.
[16619.852126] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915800, pdo_index = 0x1A00)
[16619.852133] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915800, pdo_index = 0x1A00, 
entry_index = 0x6000, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852140] EtherCAT DEBUG 0 0:1: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915800, sync_index = 3, pdo_index = 0x1A01)
[16619.852143] EtherCAT DEBUG 0 0:1: Loading default mapping for PDO 
0x1A01.
[16619.852145] EtherCAT DEBUG 0 0:1: Found PDO name "InMap: Variable 2".
[16619.852147] EtherCAT DEBUG 0 0:1: Entry 0x6010:01.
[16619.852153] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915800, pdo_index = 0x1A01)
[16619.852159] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915800, pdo_index = 0x1A01, 
entry_index = 0x6010, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852166] EtherCAT DEBUG 0 0:1: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915800, sync_index = 3, pdo_index = 0x1A02)
[16619.852169] EtherCAT DEBUG 0 0:1: Loading default mapping for PDO 
0x1A02.
[16619.852171] EtherCAT DEBUG 0 0:1: Found PDO name "InMap: Variable 3".
[16619.852173] EtherCAT DEBUG 0 0:1: Entry 0x6020:01.
[16619.852182] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915800, pdo_index = 0x1A02)
[16619.852196] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915800, pdo_index = 0x1A02, 
entry_index = 0x6020, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852205] EtherCAT DEBUG 0 0:1: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915800, sync_index = 3, pdo_index = 0x1A03)
[16619.852207] EtherCAT DEBUG 0 0:1: Loading default mapping for PDO 
0x1A03.
[16619.852209] EtherCAT DEBUG 0 0:1: Found PDO name "InMap: Variable 4".
[16619.852211] EtherCAT DEBUG 0 0:1: Entry 0x6030:01.
[16619.852217] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915800, pdo_index = 0x1A03)
[16619.852224] EtherCAT DEBUG 0 0:1: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915800, pdo_index = 0x1A03, 
entry_index = 0x6030, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852231] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 2, vendor_id = 0x0000050a, 
product_code = 0x0000a412)
[16619.852234] EtherCAT DEBUG 0: Creating slave configuration for 0:2, 
0x0000050A/0x0000A412.
[16619.852236] EtherCAT DEBUG 0 0:2: Attached slave 2.
[16619.852245] EtherCAT DEBUG 0 0:2: ecrt_slave_config_watchdog(sc = 
0xf7915400, divider = 25000, intervals = 100)
[16619.852252] EtherCAT DEBUG 0 0:2: ecrt_slave_config_sync_manager(sc = 
0xf7915400, sync_index = 0, dir = 2, watchdog_mode = 538976288)
[16619.852258] EtherCAT DEBUG 0 0:2: ecrt_slave_config_sync_manager(sc = 
0xf7915400, sync_index = 1, dir = 2, watchdog_mode = 1143946316)
[16619.852265] EtherCAT DEBUG 0 0:2: ecrt_slave_config_sync_manager(sc = 
0xf7915400, sync_index = 2, dir = 2, watchdog_mode = 538976288)
[16619.852271] EtherCAT DEBUG 0 0:2: ecrt_slave_config_sync_manager(sc = 
0xf7915400, sync_index = 3, dir = 2, watchdog_mode = 538976288)
[16619.852277] EtherCAT DEBUG 0 0:2: 
ecrt_slave_config_pdo_assign_clear(sc = 0xf7915400, sync_index = 3)
[16619.852284] EtherCAT DEBUG 0 0:2: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915400, sync_index = 3, pdo_index = 0x1A00)
[16619.852287] EtherCAT DEBUG 0 0:2: Loading default mapping for PDO 
0x1A00.
[16619.852288] EtherCAT DEBUG 0 0:2: Found PDO name "InMap: Variable 1".
[16619.852291] EtherCAT DEBUG 0 0:2: Entry 0x6000:01.
[16619.852296] EtherCAT DEBUG 0 0:2: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915400, pdo_index = 0x1A00)
[16619.852303] EtherCAT DEBUG 0 0:2: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915400, pdo_index = 0x1A00, 
entry_index = 0x6000, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852309] EtherCAT DEBUG 0 0:2: ecrt_slave_config_pdo_assign_add(sc 
= 0xf7915400, sync_index = 3, pdo_index = 0x1A01)
[16619.852312] EtherCAT DEBUG 0 0:2: Loading default mapping for PDO 
0x1A01.
[16619.852314] EtherCAT DEBUG 0 0:2: Found PDO name "InMap: Variable 2".
[16619.852316] EtherCAT DEBUG 0 0:2: Entry 0x6010:01.
[16619.852321] EtherCAT DEBUG 0 0:2: 
ecrt_slave_config_pdo_mapping_clear(sc = 0xf7915400, pdo_index = 0x1A01)
[16619.852328] EtherCAT DEBUG 0 0:2: 
ecrt_slave_config_pdo_mapping_add(sc = 0xf7915400, pdo_index = 0x1A01, 
entry_index = 0x6010, entry_subindex = 0x01, entry_bit_length = 32)
[16619.852336] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 1, vendor_id = 0x0000050a, 
product_code = 0x0000bb81)
[16619.852344] EtherCAT DEBUG 0 0:1: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915800, index = 0x6000, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852348] EtherCAT DEBUG 0: Domain 0: Added 16 bytes, total 16.
[16619.852354] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 1, vendor_id = 0x0000050a, 
product_code = 0x0000bb81)
[16619.852361] EtherCAT DEBUG 0 0:1: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915800, index = 0x6010, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852367] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 1, vendor_id = 0x0000050a, 
product_code = 0x0000bb81)
[16619.852374] EtherCAT DEBUG 0 0:1: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915800, index = 0x6020, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852380] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 1, vendor_id = 0x0000050a, 
product_code = 0x0000bb81)
[16619.852387] EtherCAT DEBUG 0 0:1: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915800, index = 0x6030, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852393] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 2, vendor_id = 0x0000050a, 
product_code = 0x0000a412)
[16619.852400] EtherCAT DEBUG 0 0:2: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915400, index = 0x6000, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852403] EtherCAT DEBUG 0: Domain 0: Added 8 bytes, total 24.
[16619.852409] EtherCAT DEBUG 0: ecrt_master_slave_config(master = 
0xee1c8000, alias = 0, position = 2, vendor_id = 0x0000050a, 
product_code = 0x0000a412)
[16619.852415] EtherCAT DEBUG 0 0:2: ecrt_slave_config_reg_pdo_entry(sc 
= 0xf7915400, index = 0x6010, subindex = 0x01, domain = 0xf692cf40, 
bit_position = 0xf78f3d7c)
[16619.852424] EtherCAT DEBUG 0 0:1: ecrt_slave_config_dc(sc = 
0xf7915800, assign_activate = 0x0300, sync0_cycle = 0, sync0_shift = 0, 
sync1_cycle = 0, sync1_shift = 0
[16619.852432] EtherCAT DEBUG 0 0:2: ecrt_slave_config_dc(sc = 
0xf7915400, assign_activate = 0x0300, sync0_cycle = 0, sync0_shift = 0, 
sync1_cycle = 0, sync1_shift = 0
[16619.852571] EtherCAT DEBUG 0: ecrt_domain_external_memory(domain = 
0xf692cf40, mem = 0xf8bb5000)
[16619.852581] EtherCAT DEBUG 0: ecrt_master_activate(master = 
0xee1c8000)
[16619.852585] EtherCAT DEBUG 0: Adding datagram pair with expected WC 
2.
[16619.852588] EtherCAT 0: Domain0: Logical address 0x00000000, 24 byte, 
expected working counter 2.
[16619.852654] EtherCAT 0:   Datagram domain0-0-main: Logical offset 
0x00000000, 24 byte, type LRD.
[16619.852720] EtherCAT DEBUG 0: Stopping master thread.
[16619.852725] EtherCAT DEBUG 0: Master IDLE thread exiting...
[16619.852733] EtherCAT 0: Master thread exited.
[16619.852767] EtherCAT DEBUG 0: FSM datagram is ee1c8428.
[16619.852769] EtherCAT 0: Starting EtherCAT-OP thread.
[16619.852826] EtherCAT DEBUG 0: Operation thread running with fsm 
interval = 4000 us, max data size=45000
[16619.852829] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[16619.858136] First master diff: 3408.
[16619.865178] EtherCAT DEBUG 0: Configuration changed.
[16619.865183] EtherCAT DEBUG 0-0: Checking system time offset.
[16619.869227] EtherCAT DEBUG 0-0: DC 64 bit system time offset 
calculation: system_time=16643182167510 (corrected with 4000000), 
app_time=16642754010857, diff=-428156653
[16619.869232] EtherCAT DEBUG 0-0: Setting time offset to 
18446744071638822663 (was 18446744072066979316)
[16619.873224] EtherCAT DEBUG 0-1: Checking system time offset.
[16619.877204] EtherCAT DEBUG 0-1: DC 64 bit system time offset 
calculation: system_time=16643190185200 (corrected with 4000000), 
app_time=16642762010528, diff=-428174672
[16619.877209] EtherCAT DEBUG 0-1: Setting time offset to 4527842276 
(was 4956016948)
[16619.881214] EtherCAT DEBUG 0-2: Checking system time offset.
[16619.885169] EtherCAT DEBUG 0-2: DC 64 bit system time offset 
calculation: system_time=16643196432438 (corrected with 4000000), 
app_time=16642770010552, diff=-426421886
[16619.885175] EtherCAT DEBUG 0-2: Setting time offset to 4287547384 
(was 4713969270)
[16619.889211] EtherCAT DEBUG 0: Requesting OP...
[16619.897161] EtherCAT DEBUG 0-0: Changing state from PREOP to OP.
[16619.897166] EtherCAT DEBUG 0-0: Configuring...
[16619.898592] EtherCAT DEBUG 0-0: Now in INIT.
[16619.898594] EtherCAT DEBUG 0-0: Clearing FMMU configurations...
[16619.899592] EtherCAT DEBUG 0-0: Clearing sync manager 
configurations...
[16619.900091] EtherCAT DEBUG 0-0: Clearing DC assignment...
[16619.900591] EtherCAT DEBUG 0-0: Slave does not support mailbox 
communication.
[16619.900593] EtherCAT DEBUG 0-0: Assigning SII access to PDI.
[16619.902591] EtherCAT DEBUG 0-0: Now in PREOP.
[16619.902592] EtherCAT DEBUG 0-0: Assigning SII access back to 
EtherCAT.
[16619.905089] EtherCAT DEBUG 0-0: Now in SAFEOP.
[16619.906088] EtherCAT DEBUG 0-0: Now in OP. Finished configuration.
[16619.913152] EtherCAT DEBUG 0-1: Changing state from PREOP to OP.
[16619.913156] EtherCAT DEBUG 0-1: Configuring...
[16619.914583] EtherCAT DEBUG 0-1: Now in INIT.
[16619.914585] EtherCAT DEBUG 0-1: Clearing FMMU configurations...
[16619.915582] EtherCAT DEBUG 0-1: Clearing sync manager 
configurations...
[16619.916082] EtherCAT DEBUG 0-1: Clearing DC assignment...
[16619.916582] EtherCAT DEBUG 0-1: Configuring mailbox sync managers...
[16619.916585] EtherCAT DEBUG 0-1: SM0: Addr 0x1000, Size  64, Ctrl 
0x26, En 1
[16619.916587] EtherCAT DEBUG 0-1: SM1: Addr 0x1080, Size  64, Ctrl 
0x22, En 1
[16619.917581] EtherCAT DEBUG 0-1: Assigning SII access to PDI.
[16619.919080] EtherCAT DEBUG 0-1: Now in PREOP.
[16619.919082] EtherCAT DEBUG 0-1: Assigning SII access back to 
EtherCAT.
[16619.920082] EtherCAT DEBUG 0-1: Reading mapping of PDO 0x1600.
[16619.920085] EtherCAT DEBUG 0-1: Uploading SDO 0x1600:00.
[16619.920087] EtherCAT DEBUG 0-1: Upload request:
[16619.920089] EtherCAT DEBUG: 00 20 40 00 16 00 00 00 00 00
[16619.922079] EtherCAT DEBUG 0-1: Upload response:
[16619.922081] EtherCAT DEBUG: 00 30 4F 00 16 00 00 00 00 00
[16619.922089] EtherCAT DEBUG 0-1: Uploaded data:
[16619.922091] EtherCAT DEBUG: 00
[16619.922094] EtherCAT DEBUG 0-1: 0 PDO entries mapped.
[16619.922096] EtherCAT DEBUG 0-1: Reading mapping of PDO 0x1601.
[16619.922098] EtherCAT DEBUG 0-1: Uploading SDO 0x1601:00.
[16619.922099] EtherCAT DEBUG 0-1: Upload request:
[16619.922101] EtherCAT DEBUG: 00 20 40 01 16 00 00 00 00 00
[16619.924077] EtherCAT DEBUG 0-1: Upload response:
[16619.924078] EtherCAT DEBUG: 00 30 4F 01 16 00 00 00 00 00
[16619.924086] EtherCAT DEBUG 0-1: Uploaded data:
[16619.924087] EtherCAT DEBUG: 00
[16619.924090] EtherCAT DEBUG 0-1: 0 PDO entries mapped.
[16619.924092] EtherCAT DEBUG 0-1: Reading mapping of PDO 0x1602.
[16619.924093] EtherCAT DEBUG 0-1: Uploading SDO 0x1602:00.
[16619.924095] EtherCAT DEBUG 0-1: Upload request:
[16619.924096] EtherCAT DEBUG: 00 20 40 02 16 00 00 00 00 00
[16619.926076] EtherCAT DEBUG 0-1: Upload response:
[16619.926078] EtherCAT DEBUG: 00 30 4F 02 16 00 00 00 00 00
[16619.926086] EtherCAT DEBUG 0-1: Uploaded data:
[16619.926087] EtherCAT DEBUG: 00
[16619.926090] EtherCAT DEBUG 0-1: 0 PDO entries mapped.
[16619.926092] EtherCAT DEBUG 0-1: Reading mapping of PDO 0x1603.
[16619.926093] EtherCAT DEBUG 0-1: Uploading SDO 0x1603:00.
[16619.926095] EtherCAT DEBUG 0-1: Upload request:
[16619.926096] EtherCAT DEBUG: 00 20 40 03 16 00 00 00 00 00
[16619.928075] EtherCAT DEBUG 0-1: Upload response:
[16619.928076] EtherCAT DEBUG: 00 30 4F 03 16 00 00 00 00 00
[16619.928084] EtherCAT DEBUG 0-1: Uploaded data:
[16619.928085] EtherCAT DEBUG: 00
[16619.928088] EtherCAT DEBUG 0-1: 0 PDO entries mapped.
[16619.928096] EtherCAT DEBUG 0-1: Setting watchdog divider to 25000.
[16619.929075] EtherCAT DEBUG 0-1: Setting process data watchdog 
intervals to 100.
[16619.929575] EtherCAT DEBUG 0-1: SM2: Addr 0x1100, Size   0, Ctrl 
0x00, En 0
[16619.929578] EtherCAT DEBUG 0-1: SM3: Addr 0x207E, Size  16, Ctrl 
0x00, En 1
[16619.930575] EtherCAT DEBUG 0 0:1: FMMU: LogAddr 0x00000000, Size  16, 
PhysAddr 0x207E, SM3, Dir in
[16619.931572] EtherCAT DEBUG 0-1: Setting DC cycle times to 0 / 0.
[16619.932072] EtherCAT DEBUG 0-1: Checking for synchrony.
[16619.932573] EtherCAT DEBUG 0-1: Sync after    0 ms:     259017 ns
[16619.933072] EtherCAT DEBUG 0-1: Sync after    0 ms:     242827 ns
[16619.933572] EtherCAT DEBUG 0-1: Sync after    0 ms:     227648 ns
[16619.934072] EtherCAT DEBUG 0-1: Sync after    4 ms:     213418 ns
[16619.934572] EtherCAT DEBUG 0-1: Sync after    4 ms:     200077 ns
[16619.935071] EtherCAT DEBUG 0-1: Sync after    4 ms:     187570 ns
[16619.935571] EtherCAT DEBUG 0-1: Sync after    4 ms:     175844 ns
[16619.936071] EtherCAT DEBUG 0-1: Sync after    4 ms:     164851 ns
[16619.936570] EtherCAT DEBUG 0-1: Sync after    4 ms:     154546 ns
[16619.937070] EtherCAT DEBUG 0-1: Sync after    4 ms:     144884 ns
[16619.937570] EtherCAT DEBUG 0-1: Sync after    4 ms:     135826 ns
[16619.938070] EtherCAT DEBUG 0-1: Sync after    8 ms:     127334 ns
[16619.938569] EtherCAT DEBUG 0-1: Sync after    8 ms:     119373 ns
[16619.939069] EtherCAT DEBUG 0-1: Sync after    8 ms:     111910 ns
[16619.939568] EtherCAT DEBUG 0-1: Sync after    8 ms:     104912 ns
[16619.940068] EtherCAT DEBUG 0-1: Sync after    8 ms:      98352 ns
[16619.940568] EtherCAT DEBUG 0-1: Sync after    8 ms:      92202 ns
[16619.941067] EtherCAT DEBUG 0-1: Sync after    8 ms:      86436 ns
[16619.941568] EtherCAT DEBUG 0-1: Sync after    8 ms:      81031 ns
[16619.942067] EtherCAT DEBUG 0-1: Sync after   12 ms:      75964 ns
[16619.942566] EtherCAT DEBUG 0-1: Sync after   12 ms:      71212 ns
[16619.943066] EtherCAT DEBUG 0-1: Sync after   12 ms:      66758 ns
[16619.943566] EtherCAT DEBUG 0-1: Sync after   12 ms:      62583 ns
[16619.944066] EtherCAT DEBUG 0-1: Sync after   12 ms:      58668 ns
[16619.944566] EtherCAT DEBUG 0-1: Sync after   12 ms:      54997 ns
[16619.945065] EtherCAT DEBUG 0-1: Sync after   12 ms:      51556 ns
[16619.945566] EtherCAT DEBUG 0-1: Sync after   12 ms:      48330 ns
[16619.946065] EtherCAT DEBUG 0-1: Sync after   16 ms:      45306 ns
[16619.946563] EtherCAT DEBUG 0-1: Sync after   16 ms:      42471 ns
[16619.947064] EtherCAT DEBUG 0-1: Sync after   16 ms:      39812 ns
[16619.947564] EtherCAT DEBUG 0-1: Sync after   16 ms:      37320 ns
[16619.948063] EtherCAT DEBUG 0-1: Sync after   16 ms:      34984 ns
[16619.948564] EtherCAT DEBUG 0-1: Sync after   16 ms:      32793 ns
[16619.949063] EtherCAT DEBUG 0-1: Sync after   16 ms:      30739 ns
[16619.949563] EtherCAT DEBUG 0-1: Sync after   16 ms:      28814 ns
[16619.950063] EtherCAT DEBUG 0-1: Sync after   20 ms:      27008 ns
[16619.950562] EtherCAT DEBUG 0-1: Sync after   20 ms:      25316 ns
[16619.951061] EtherCAT DEBUG 0-1: Sync after   20 ms:      23730 ns
[16619.951561] EtherCAT DEBUG 0-1: Sync after   20 ms:      22242 ns
[16619.952061] EtherCAT DEBUG 0-1: Sync after   20 ms:      20847 ns
[16619.952561] EtherCAT DEBUG 0-1: Sync after   20 ms:      19540 ns
[16619.953060] EtherCAT DEBUG 0-1: Sync after   20 ms:      18314 ns
[16619.953560] EtherCAT DEBUG 0-1: Sync after   20 ms:      17164 ns
[16619.954060] EtherCAT DEBUG 0-1: Sync after   24 ms:      16086 ns
[16619.954560] EtherCAT DEBUG 0-1: Sync after   24 ms:      15076 ns
[16619.955060] EtherCAT DEBUG 0-1: Sync after   24 ms:      14129 ns
[16619.955559] EtherCAT DEBUG 0-1: Sync after   24 ms:      13241 ns
[16619.956059] EtherCAT DEBUG 0-1: Sync after   24 ms:      12408 ns
[16619.956559] EtherCAT DEBUG 0-1: Sync after   24 ms:      11627 ns
[16619.957058] EtherCAT DEBUG 0-1: Sync after   24 ms:      10895 ns
[16619.957559] EtherCAT DEBUG 0-1: Sync after   24 ms:      10209 ns
[16619.958058] EtherCAT DEBUG 0-1: 9565 ns difference after 28 ms.
[16619.958060] EtherCAT DEBUG 0-1: Setting DC cyclic operation start 
time to 16642942506944.
[16619.959057] EtherCAT DEBUG 0-1: Setting DC AssignActivate to 0x0300.
[16619.961056] EtherCAT DEBUG 0-1: Now in SAFEOP.
[16619.962056] EtherCAT DEBUG 0-1: Now in OP. Finished configuration.
[16619.969119] EtherCAT DEBUG 0-2: Changing state from PREOP to OP.
[16619.969123] EtherCAT DEBUG 0-2: Configuring...
[16619.970551] EtherCAT DEBUG 0-2: Now in INIT.
[16619.970552] EtherCAT DEBUG 0-2: Clearing FMMU configurations...
[16619.971550] EtherCAT DEBUG 0-2: Clearing sync manager 
configurations...
[16619.972049] EtherCAT DEBUG 0-2: Clearing DC assignment...
[16619.972550] EtherCAT DEBUG 0-2: Configuring mailbox sync managers...
[16619.972552] EtherCAT DEBUG 0-2: SM0: Addr 0x1000, Size  64, Ctrl 
0x26, En 1
[16619.972554] EtherCAT DEBUG 0-2: SM1: Addr 0x1080, Size  64, Ctrl 
0x22, En 1
[16619.973549] EtherCAT DEBUG 0-2: Assigning SII access to PDI.
[16619.975048] EtherCAT DEBUG 0-2: Now in PREOP.
[16619.975050] EtherCAT DEBUG 0-2: Assigning SII access back to 
EtherCAT.
[16619.976049] EtherCAT DEBUG 0-2: Reading mapping of PDO 0x1600.
[16619.976051] EtherCAT DEBUG 0-2: Uploading SDO 0x1600:00.
[16619.976053] EtherCAT DEBUG 0-2: Upload request:
[16619.976054] EtherCAT DEBUG: 00 20 40 00 16 00 00 00 00 00
[16619.978047] EtherCAT DEBUG 0-2: Upload response:
[16619.978048] EtherCAT DEBUG: 00 30 4F 00 16 00 00 00 00 00
[16619.978056] EtherCAT DEBUG 0-2: Uploaded data:
[16619.978058] EtherCAT DEBUG: 00
[16619.978060] EtherCAT DEBUG 0-2: 0 PDO entries mapped.
[16619.978062] EtherCAT DEBUG 0-2: Reading mapping of PDO 0x1601.
[16619.978064] EtherCAT DEBUG 0-2: Uploading SDO 0x1601:00.
[16619.978066] EtherCAT DEBUG 0-2: Upload request:
[16619.978067] EtherCAT DEBUG: 00 20 40 01 16 00 00 00 00 00
[16619.980045] EtherCAT DEBUG 0-2: Upload response:
[16619.980046] EtherCAT DEBUG: 00 30 4F 01 16 00 00 00 00 00
[16619.980054] EtherCAT DEBUG 0-2: Uploaded data:
[16619.980055] EtherCAT DEBUG: 00
[16619.980058] EtherCAT DEBUG 0-2: 0 PDO entries mapped.
[16619.980063] EtherCAT DEBUG 0-2: Setting watchdog divider to 25000.
[16619.981045] EtherCAT DEBUG 0-2: Setting process data watchdog 
intervals to 100.
[16619.981545] EtherCAT DEBUG 0-2: SM2: Addr 0x1100, Size   0, Ctrl 
0x00, En 0
[16619.981548] EtherCAT DEBUG 0-2: SM3: Addr 0x207E, Size   8, Ctrl 
0x00, En 1
[16619.982545] EtherCAT DEBUG 0 0:2: FMMU: LogAddr 0x00000010, Size   8, 
PhysAddr 0x207E, SM3, Dir in
[16619.983543] EtherCAT DEBUG 0-2: Setting DC cycle times to 0 / 0.
[16619.984043] EtherCAT DEBUG 0-2: Checking for synchrony.
[16619.984543] EtherCAT DEBUG 0-2: 64 ns difference after 0 ms.
[16619.984545] EtherCAT DEBUG 0-2: Setting DC cyclic operation start 
time to 16642969506944.
[16619.985542] EtherCAT DEBUG 0-2: Setting DC AssignActivate to 0x0300.
[16619.987041] EtherCAT DEBUG 0-2: Now in SAFEOP.
[16619.988041] EtherCAT DEBUG 0-2: Now in OP. Finished configuration.
[16619.993105] EtherCAT 0: Slave states on main device: OP.

Thank you in advance and best regards

El 28-09-2016 14:17, Dr.-Ing. Wilhelm Hagemeister escribió:
> Hallo Carlos,
> 
> for updating the EEPROM see: http://etherlab.org/en/ethercat/faq.php
> 
> Just for clarification ... you need a running application for
> PDO-access.  You can't do that with only with the EtherCat-Master...
> 
> Regards Wilhelm.
> 
> Am 28.09.2016 um 12:01 schrieb carlos_jimenez:
>> Hello,
>> 
>> I have tried applying the configuration to the watchdog, but I get the
>> same result. I can read a correct value on input through the ethercat
>> tool upload (with SDOs), but I cannot get this value with PDOs, I
>> receive just 0.
>> The EEPROM configuration should be done by the vendor, but it is
>> possible to put it again with the master?
>> 
>> Thank you and best regards
>> 
>> El 28-09-2016 10:49, carlos_jimenez escribió:
>>> Hello Gavin,
>>> 
>>> Thank you very much for ypur answer, I will try with the watchdog :)
>>> 
>>> Best regards
>>> 
>>> El 28-09-2016 00:49, Gavin Lambert escribió:
>>>> On 28 September 2016 02:57, quoth carlos_jimenez:
>>>>> I have some problems to read values from a Gantner modules, and I 
>>>>> have
>>>>> the configuration file of this modules, but there are some strange
>>>>> tags for
>>>>> me, I don't know how to use this tags with the master.
>>>>> 
>>>>> ...
>>>>> <Info>
>>>>>    <Mailbox>
>>>>>     <Timeout>
>>>>>       <RequestTimeout>100</RequestTimeout>
>>>>>       <ResponseTimeout>2000</ResponseTimeout>
>>>>>     </Timeout>
>>>>>    </Mailbox>
>>>>> </Info>
>>>> 
>>>> These have no equivalent in Etherlab; it uses its own built-in 
>>>> mailbox
>>>> timeouts and you can't override them.  You also usually don't need 
>>>> to.
>>>> 
>>>>> <ESC>
>>>>>    <Reg0400>25000</Reg0400>
>>>>>    <Reg0420>100</Reg0420>
>>>>> </ESC>
>>>> 
>>>> These control the Process Data Watchdog, which is configured in
>>>> Etherlab via the ecrt_slave_config_watchdog API.
>>>> 
>>>>> <Eeprom>
>>>>>    <ByteSize>2048</ByteSize>
>>>>>    <ConfigData>080C0204C8000000000000000000</ConfigData>
>>>>> </Eeprom>
>>>> 
>>>> This is basic configuration information which should already be
>>>> programmed into the SII EEPROM by the vendor, so you shouldn't need 
>>>> to
>>>> do anything with it.
>>> 
>>> --
>>> Carlos Jiménez
>>> 
>>> ENCOPIM S.L.
>>> Ctra. Santiga, 104, P.I. Els Pinetons
>>> E-08291 RIPOLLET (Barcelona)
>>> Tel: (+34) 935 94 23 47
>>> Fax: (+34) 935 94 64 15
>>> 
>>> ==========================================================
>>> La información contenida en la presente transmisión es confidencial y
>>> su uso únicamente está permitido a su(s) destinatario(s). Si Ud. no 
>>> es
>>> la persona destinataria de la presente transmisión, rogamos nos lo
>>> comunique de manera inmediata por teléfono (+34 935 942 347) y
>>> destruya cualquier copia de la misma (tanto digitales como en papel).
>>> 
>>> The information contained in this transmission is confidential and is
>>> intended only for the use of the addressee(s). If you are not the
>>> designated recipient of this transmission, please advise us
>>> immediately by telephone (+34 935 942 347) and destroy any copies
>>> (digital and paper).
>>> ==========================================================
>>> _______________________________________________
>>> etherlab-users mailing list
>>> etherlab-users at etherlab.org
>>> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>> 

-- 
Carlos Jiménez

ENCOPIM S.L.
Ctra. Santiga, 104, P.I. Els Pinetons
E-08291 RIPOLLET (Barcelona)
Tel: (+34) 935 94 23 47
Fax: (+34) 935 94 64 15

==========================================================
La información contenida en la presente transmisión es confidencial y su 
uso únicamente está permitido a su(s) destinatario(s). Si Ud. no es la 
persona destinataria de la presente transmisión, rogamos nos lo 
comunique de manera inmediata por teléfono (+34 935 942 347) y destruya 
cualquier copia de la misma (tanto digitales como en papel).

The information contained in this transmission is confidential and is 
intended only for the use of the addressee(s). If you are not the 
designated recipient of this transmission, please advise us immediately 
by telephone (+34 935 942 347) and destroy any copies (digital and 
paper).
==========================================================



More information about the Etherlab-users mailing list