
48 / 60
NTI AG / LinMot
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
36h (LinMot Sdo Service ID)
Input
nIndex
WORD
2000h
Input
pSrcBuf
DWORD
ADR(write_buffer (0 bytes))
Input
cbBufLen
UDINT
0 bytes (4 bytes also accepted)
Input
bExecute
BOOL
Rising edge starts writing
Input
tTimeout
TIME
Timeout value
Input
bComplAccess BOOL
FALSE
Output
bBusy
BOOL
Indicates reading active/finished
Output
bError
BOOL
Indicates reading error
Output
nErrId
UDINT
Error ID
5.2.20 Curves copy curves from RAM to FLASH
This service copies the actual in the RAM defined curves to the FLASH memory, so
they are available after power up. Use this command only with stopped MC SW!
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
40h (LinMot Sdo Service ID)
Input
nIndex
WORD
2000h
Input
pSrcBuf
DWORD
ADR(write_buffer (0 bytes))
Input
cbBufLen
UDINT
0 bytes (4 bytes also accepted)
Input
bExecute
BOOL
Rising edge starts writing
Input
tTimeout
TIME
Timeout value
Input
bComplAccess BOOL
FALSE
Output
bBusy
BOOL
Indicates reading active/finished
Output
bError
BOOL
Indicates reading error
Output
nErrId
UDINT
Error ID
5.2.21 Curves delete all curves in RAM
This service deletes all curves in the RAM.
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
41h (LinMot Sdo Service ID)
Input
nIndex
WORD
2000h
Input
pSrcBuf
DWORD
ADR(write_buffer (0 bytes))
Input
cbBufLen
UDINT
0 bytes (4 bytes also accepted)
Input
bExecute
BOOL
Rising edge starts writing
Input
tTimeout
TIME
Timeout value
Input
bComplAccess BOOL
FALSE
Output
bBusy
BOOL
Indicates reading active/finished
Output
bError
BOOL
Indicates reading error
Output
nErrId
UDINT
Error ID