Skip to content

Object size in TPDO #160

@ymnb

Description

@ymnb

Hi,

I've realized that the TPDO message construction function (COTPdoTx) doesn't adjust the size of each object to the size indicated in PDO mapping object (0x1A00). I think it would be convinient if there is an option to adjust the size of object as defined in the mapping object. So, I was wondering if it's not implemented because CiA standard doesn't allow to adjust object size when a object is mapped to TPDO or any other reason.

What do you think about passing the value of pdosz as width parameter in COObjGetSize() function call in COTPdoTx()?
Then, user can implement an object which has different object size when it's mapped on TPDO.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions