Read SDOs?
- mwc
- Offline
- Premium Member
Less
More
- Posts: 98
- Thank you received: 7
05 Dec 2022 21:55 #258629
by mwc
Read SDOs? was created by mwc
Is it possible to read an SDO, and have it allocated to a halPin in the xml for testing purposes?
If so, what is the code?
Or is there some other mechanism for reading SDOs?
I can see plenty examples where SDOs are written to (sdoConfig), but can't find anything for reading them.
If so, what is the code?
Or is there some other mechanism for reading SDOs?
I can see plenty examples where SDOs are written to (sdoConfig), but can't find anything for reading them.
The following user(s) said Thank You: xwq
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
Less
More
- Posts: 790
- Thank you received: 275
05 Dec 2022 22:18 #258632
by db1981
Replied by db1981 on topic Read SDOs?
Per default sdo communication is not possible after the realtime thread is started. (ethercat op state)
You can send sdo data from the config_xml to setup registers or drives data, but this happens in init/preop state in front of pdo mapping etc..
You can read and write sdo that are not mapped to pdos from the terminal with ethercat download and upload.
The only way to get acces to sdo data from lcec is to code this in an lcec device driver. You can look at the source from the class_ax5xxx.c or in stoeber servo drive.
You can send sdo data from the config_xml to setup registers or drives data, but this happens in init/preop state in front of pdo mapping etc..
You can read and write sdo that are not mapped to pdos from the terminal with ethercat download and upload.
The only way to get acces to sdo data from lcec is to code this in an lcec device driver. You can look at the source from the class_ax5xxx.c or in stoeber servo drive.
The following user(s) said Thank You: tiagounderground, mehdidadash, mwc
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds