objdictgen/node.py
changeset 260 1eafe582b6a1
parent 258 8f7725451453
child 273 58b39f97e352
equal deleted inserted replaced
259:fefaeb965850 260:1eafe582b6a1
    55 """
    55 """
    56 Structures of entry in the Object Dictionary, sum of the properties described above
    56 Structures of entry in the Object Dictionary, sum of the properties described above
    57 for all sorts of entries use in CAN Open specification
    57 for all sorts of entries use in CAN Open specification
    58 """
    58 """
    59 nosub = 0 # Entry without subindex (only for type declaration)
    59 nosub = 0 # Entry without subindex (only for type declaration)
    60 var = 1
    60 var = OD_Subindex
    61 array = 3
    61 array = OD_Subindex | OD_MultipleSubindexes
    62 rec = 7
    62 rec = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalSubindexes
    63 # Entries identical on multiple indexes
    63 # Entries identical on multiple indexes
    64 plurivar = 9
    64 plurivar = OD_Subindex | OD_IdenticalIndexes
    65 pluriarray = 11 # Example : PDO Parameters
    65 pluriarray = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalIndexes # Example : PDO Parameters
    66 plurirec = 15   # Example : PDO Mapping
    66 plurirec = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalSubindexes |OD_IdenticalIndexes   # Example : PDO Mapping
    67 
    67 
    68 """
    68 """
    69 MappingDictionary is the structure used for writing a good organised Object
    69 MappingDictionary is the structure used for writing a good organised Object
    70 Dictionary. It follows the specifications of the CANOpen standard.
    70 Dictionary. It follows the specifications of the CANOpen standard.
    71 Change the informations within it if there is a mistake. But don't modify the
    71 Change the informations within it if there is a mistake. But don't modify the