objdictgen/config/DS-302.prf
author etisserant
Fri, 01 Feb 2008 18:06:55 +0100
changeset 378 d2abf6c8c27b
parent 198 1587a69b6ed9
child 535 69c25c60df5d
permissions -rw-r--r--
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.

Concerned callbacks :

initialisation
preOperational
operational
stopped
heartbeatError
post_sync
post_TPDO
post_SlaveBootup
storeODSubIndex
post_emcy
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 = []