objdictgen/config/DS-302.prf
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 198 1587a69b6ed9
child 535 69c25c60df5d
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     1
global Mapping, AddMenuEntries
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     2
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     3
"""
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     4
MappingDictionary for DS-302
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     5
"""
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     6
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     7
Mapping = {
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     8
    0x1F20 : {"name" : "Store DCF", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
     9
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    10
                 {"name" : "Store DCF for node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    11
    
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    12
    0x1F21 : {"name" : "Storage Format", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
    13
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    14
                 {"name" : "Storage Format for Node %d[(sub)]", "type" : 0x02, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    15
    
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    16
    0x1F22 : {"name" : "Concise DCF", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
    17
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    18
                 {"name" : "Concise DCF for Node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}   
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    19
}
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    20
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    21
AddMenuEntries = []