ETCSlaveStack.AddCoEInit
(METH)
METHOD AddCoEInit
Adds a CoE Init command to the slave
Example:
pSlave^.AddCoEInit(16#1C12, 2, 2,16#1600, 1000, FALSE, FALSE);
- InOut:
Scope
Name
Type
Initial
Comment
Input
wIndex
WORD
Index of object
bySubIndex
BYTE
SubIndex of object
uiDataLength
UINT
Length of data
dwData
XWORD
pointer to data
udiTimeOut
UDINT
timeout in milliseconds
bCompleteAccess
BOOL
true if complete access should be used (subindex must be zero)
bAllocMemory
BOOL
FALSE
for uiDataLength > 4 bytes. allocate dynamic memory and copy content from dwData to dynamic memory.