ETCSlaveStack.AddCoEInit (METH)ΒΆ
METHOD AddCoEInit
Adds a CoE Init command to the slave Important: must be called after AddSlave
Example:
pSlave^.AddCoEInit(16#1C12, 2, 2,16#1600, 1000, FALSE, FALSE);
- InOut:
Scope
Name
Type
Initial
Comment
Input
wIndexWORDIndex of object
bySubIndexBYTESubIndex of object
uiDataLengthUINTLength of data in Bytes
dwDataXWORDpointer to data
udiTimeOutUDINTtimeout in milliseconds
bCompleteAccessBOOLtrue if complete access should be used (subindex must be zero)
bAllocMemoryBOOLFALSE
for uiDataLength > 4 bytes. allocate dynamic memory and copy content from dwData to dynamic memory.