You typically don’t need to explicitly disable a sync manager; you simply don’t refer to it or any PDOs it contains, and then it will not be included in the domain’s data.
Alternatively, you can configure the sync manager but then list zero PDOs for it, to explicitly set the PDO Assign register for that SM to 0 (for slaves that support flexible assignment). Note that you should not enable the SM watchdog if you’re setting it to have zero PDOs. It sounds like you should probably read the documentation for the EtherCAT protocol and for the Etherlab master in particular. From: Mohsen Alizadeh Noghani <m.aliza...@gmail.com> Sent: Wednesday, 26 September 2018 04:52 To: Gavin Lambert <gavin.lamb...@tomra.com>; etherlab-users@etherlab.org Subject: Re: [etherlab-users] API for enabling/disabling sync managers of a slave Thanks Gavin. 1- Would ecrt_slave_config_sync_manager(sc, 2, EC_DIR_OUTPUT, EC_WD_ENABLE ) enable Sync Manager 2 of slave sc? 2- How can I disable it then? I doesn't seems the function provides an option to enable/disable. Best, Mohsen On Tue, Sep 25, 2018 at 2:40 AM, Gavin Lambert <gavin.lamb...@tomra.com<mailto:gavin.lamb...@tomra.com>> wrote: You need to write an application, and then use ecrt_slave_config_sync_manager or ecrt_slave_config_pdos to configure the Sync Managers for each slave. From: Mohsen Alizadeh Noghani Sent: Tuesday, 25 September 2018 02:29 To: etherlab-users@etherlab.org<mailto:etherlab-users@etherlab.org> Subject: [etherlab-users] API for enabling/disabling sync managers of a slave Hello everyone. Is there a function call that I can use for enabling a particular sync manager of a slave? For example, I'd like to enable sync manager 2 of slave 1. Best, Mohsen
_______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users