# HG changeset patch # User frdupin # Date 1168510136 -3600 # Node ID 94c8205229948f56af196dcdfe95b47d246fc99c # Parent c72dd78e547f02c21ce0d782a624fe88a4570d39 PDO mapping parameters : number of mapped app must be in RW access diff -r c72dd78e547f -r 94c820522994 objdictgen/node.py --- a/objdictgen/node.py Wed Jan 10 17:42:34 2007 +0100 +++ b/objdictgen/node.py Thu Jan 11 11:08:56 2007 +0100 @@ -210,7 +210,7 @@ {"name" : "Compatibility Entry", "type" : 0x03, "access" : 'rw', "pdo" : False}, {"name" : "Event Timer", "type" : 0x03, "access" : 'rw', "pdo" : False}]}, 0x1600 : {"name" : "Receive PDO %d Mapping[(idx)]", "struct" : plurirec, "incr" : 1, "nbmax" : 0x200, "need" : False, "values" : - [{"name" : "Number of Entries", "type" : 0x02, "access" : 'ro', "pdo" : False}, + [{"name" : "Number of Entries", "type" : 0x02, "access" : 'rw', "pdo" : False}, {"name" : "PDO %d Mapping for an application object %d[(idx,sub)]", "type" : 0x04, "access" : 'rw', "pdo" : False, "nbmax" : 0x40}]}, 0x1800 : {"name" : "Transmit PDO %d Parameter[(idx)]", "struct" : pluriarray, "incr" : 1, "nbmax" : 0x200, "need" : False, "values" : [{"name" : "Highest SubIndex Supported", "type" : 0x02, "access" : 'ro', "pdo" : False}, @@ -220,7 +220,7 @@ {"name" : "Compatibility Entry", "type" : 0x03, "access" : 'rw', "pdo" : False}, {"name" : "Event Timer", "type" : 0x03, "access" : 'rw', "pdo" : False}]}, 0x1A00 : {"name" : "Transmit PDO %d Mapping[(idx)]", "struct" : plurirec, "incr" : 1, "nbmax" : 0x200, "need" : False, "values" : - [{"name" : "Number of Entries", "type" : 0x02, "access" : 'ro', "pdo" : False}, + [{"name" : "Number of Entries", "type" : 0x02, "access" : 'rw', "pdo" : False}, {"name" : "PDO %d Mapping for a process data variable %d[(idx,sub)]", "type" : 0x04, "access" : 'rw', "pdo" : False, "nbmax" : 0x40}]}, }