
53 / 60
NTI AG / LinMot
FUNCTION_BLOCK: FB_EcCoeSdoReadEx
Direction Name
Type
Description
Input
cbBufLen
UDINT
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.32 Read error short text
Read the short text of an error defined by its error code, for each stringlet (4
characters) a service number 74h.. 7Bh is defined.
FUNCTION_BLOCK: FB_EcCoeSdoReadEx
Direction Name
Type
Description
Input
sNetId
T_AmsNetId AmsNetId of master
Input
nSlaveAddr
UINT
Address of slave
Input
nSubIndex
Byte
74h (LinMot Sdo Service ID) + stringlet Count
0..7)
Input
nIndex
WORD
2000h + ID
Input
pDstBuf
DWORD
ADR(read_buffer (4bytes))
- 4 characters of error short text
Input
cbBufLen
UDINT
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.33 Command Table copy entries from RAM to FLASH
This service copies the actual in the RAM defined Command Table entries 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
80h (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