PDO mapping parameters : number of mapped app must be in RW access
authorfrdupin
Thu, 11 Jan 2007 11:08:56 +0100
changeset 65 94c820522994
parent 64 c72dd78e547f
child 66 94212a58c097
PDO mapping parameters : number of mapped app must be in RW access
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}]},
 }