Hello, I'd like to write S-0-0141 'Engine-Type' / 'Name' for a connected drive (IndraDrive MPB20) via EtherCat. When using IL_ECATSoeWrite like this: WriteText:='AKM24D'; //WriteText : STRING; fbIL_ECATSoeWrite( Execute:= TRUE, Done=> , Active=> , Error=> , ErrorID=> , ErrorIdent=> , ClientId:= , MasterName:= , AddressType:= , SlaveAddress:= 1004, DriveNo:= , Element:= , Idn:= IL_ECATSOEIdnCoding(SOE_S_PARAM,0,141), SizeOfValue:= SIZEOF(WriteText), ValueAdr:= ADR(WriteText), Timeout:= , ); This ends up in an 'ACCESS_ERROR' When using an integer for WriteText (between 0..9) there is no error, but the result, what is written into parameter, is complete wrong (for example it is 4D. Using more than 1 integer charakter ends up with 'ACCESS_ERROR' as well. Because it works with one charakter, there is no ACCESS - issue! And no issue with the FB. So what's wrong? Thanks
... View more