
43 / 60
NTI AG / LinMot
FUNCTION_BLOCK: FB_EcCoeSdoReadEx
Direction Name
Type
Description
Output
bBusy
BOOL
Indicates reading active/finished
Output
bError
BOOL
Indicates reading error
Output
nErrId
UDINT
Error ID
5.2.8
Parameter UPID write RAM & ROM value
Write the content of the write_buffer to the RAM and ROM value of the parameter
specified by its UPID. The write_buffer can have an unique size of 4 bytes.
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
06h (LinMot Sdo Service ID)
Input
nIndex
WORD
2000h + UPID
Input
pSrcBuf
DWORD
ADR(write_buffer (4bytes))
Input
cbBufLen
UDINT
Always 4 bytes
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.9
Parameter default OS SW instance
All parameters of the OS SW instance are set to their default value.
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
07h (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.10 Parameter default MC SW instance
All parameters of the MC SW instance are set to their default value.