Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I'm attempting to a write a 16 byte block of data to SDO 2710h (subindex 2) of a Yaskawa Sigma7 Ethercat Servo Amplifier.
To accomplish this I'm trying to use the ETC_CO_SDOWrite function block. My parameters are:
usiCom:=1;
uiDevice:=1001;
wIndex:=16#2710
bySubIndex:= 2;
udiTimeout:=5000;
pBuffer:=ADR(my array of 16 USINT)
szSize:=SizeOf(my array of 16 USINT)
eMode:=ETC_CO_AUTO;
When I turn on my Execute bit, I get no feedback from the block (Busy, Error, Done all remain false). The block is almost acting like there is no code inside of it.
Am I doing this correctly? I have no issues writing shorter SDOs (4 bytes or fewer) using the WriteParameter function block.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm attempting to a write a 16 byte block of data to SDO 2710h (subindex 2) of a Yaskawa Sigma7 Ethercat Servo Amplifier.
To accomplish this I'm trying to use the ETC_CO_SDOWrite function block. My parameters are:
usiCom:=1;
uiDevice:=1001;
wIndex:=16#2710
bySubIndex:= 2;
udiTimeout:=5000;
pBuffer:=ADR(my array of 16 USINT)
szSize:=SizeOf(my array of 16 USINT)
eMode:=ETC_CO_AUTO;
When I turn on my Execute bit, I get no feedback from the block (Busy, Error, Done all remain false). The block is almost acting like there is no code inside of it.
Am I doing this correctly? I have no issues writing shorter SDOs (4 bytes or fewer) using the WriteParameter function block.