I want to read&write SDO from ethercat slaves using these FBs.
When I write to SDO,it always fail,even I changed to write other address,such as 0x6099.Meanwhile reading always good.
But my friend use the the FBs to write another ehtercat slaves,read and wirte SDO both good.
My question:
Is it the slave's problem about write SDO error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After installing this package you'll find the example here:
"c:\Users\<yourwindowsusername>\CODESYS Examples\EtherCAT Example"
BR
Edwin</yourwindowsusername>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
do you use this example from here:
After installing this package you'll find the example here:
"c:\Users\<yourwindowsusername>\CODESYS Examples\EtherCAT Example"
BR
Edwin</yourwindowsusername>
But I do not want to use EtherCAT Example.
Why the way I used do not work?And what is the problem?
Tks,anyway!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you ever find a solution to the ETC_CO_sdoWrite problem?
I have the same issue. I can read Sdo's fine, but can't write anything.
I have downloaded and using the Ethercat example from CodeSys Store.
Have tried to write with ETC_CO_sdoWrite and ETC_CO_sdoWrite4, but no luck.
With ETC_CO_sdoWrite, I get the error:
ETC_CO_FIRST_ERROR,
SdoAbort: 16#06090031, if using WORD, and 16#06070010 with DWORD as write value.
I can't find any description about the error, or errocode.
!!! Update:
It turned out the values I am writing are not within legal range.
So problem solved.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SDORead : ETC_CO_SdoRead;
SDOWrite : ETC_CO_SdoWrite;
I want to read&write SDO from ethercat slaves using these FBs.
When I write to SDO,it always fail,even I changed to write other address,such as 0x6099.Meanwhile reading always good.
But my friend use the the FBs to write another ehtercat slaves,read and wirte SDO both good.
My question:
Is it the slave's problem about write SDO error?
Hi,
do you use this example from here:
After installing this package you'll find the example here:
"c:\Users\<yourwindowsusername>\CODESYS Examples\EtherCAT Example"
BR
Edwin</yourwindowsusername>
But I do not want to use EtherCAT Example.
Why the way I used do not work?And what is the problem?
Tks,anyway!
Did you ever find a solution to the ETC_CO_sdoWrite problem?
I have the same issue. I can read Sdo's fine, but can't write anything.
I have downloaded and using the Ethercat example from CodeSys Store.
Have tried to write with ETC_CO_sdoWrite and ETC_CO_sdoWrite4, but no luck.
With ETC_CO_sdoWrite, I get the error:
ETC_CO_FIRST_ERROR,
SdoAbort: 16#06090031, if using WORD, and 16#06070010 with DWORD as write value.
I can't find any description about the error, or errocode.
!!! Update:
It turned out the values I am writing are not within legal range.
So problem solved.
Hi Leon,
Do you have an example how to used ETC_CO_sdoRead. I really appreciate your help.
Here in Forge, Projects- CODESYS Examples...Ethercat
Last edit: eschwellinger 2021-03-13