
41 / 60
NTI AG / LinMot
FUNCTION_BLOCK: FB_EcCoeSdoWriteEx
Direction Name
Type
Description
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.3
Parameter UPID read ROM value
Read the ROM value of the parameter specified by its UPID, and stores the result in the
4 bytes of the read_buffer.
FUNCTION_BLOCK: FB_EcCoeSdoReadEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
02h (LinMot Sdo Service ID)
Input
nIndex
WORD
2000h + UPID
Input
pDstBuf
DWORD
ADR(read_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.4
Parameter UPID write ROM value
Write the content of the write_buffer to the 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
02h (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.5
Parameter UPID read minimal value
Read the minimal value of the parameter specified by its UPID, and stores the result in
the 4 bytes of the read_buffer.