Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object size in TPDO #160

Open
ymnb opened this issue Apr 18, 2024 · 0 comments
Open

Object size in TPDO #160

ymnb opened this issue Apr 18, 2024 · 0 comments

Comments

@ymnb
Copy link

ymnb commented Apr 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant