diff -r b35bce45bc5a -r 1c40e3976cc2 etherlab/EthercatCFileGenerator.py --- a/etherlab/EthercatCFileGenerator.py Sat Sep 29 15:03:17 2018 +0300 +++ b/etherlab/EthercatCFileGenerator.py Sat Sep 29 15:16:21 2018 +0300 @@ -357,7 +357,8 @@ if exclusion_scope[0]["matching"] > 0: selected_pdos.append(exclusion_scope[0]["index"]) start_excluding_index = 1 - excluded_pdos.extend([pdo["index"] + excluded_pdos.extend([ + pdo["index"] for pdo in exclusion_scope[start_excluding_index:] if PdoAssign or not pdo["assigned"]])