PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 59
4.5.25. CPM100_SDOReadFile
Description:
The function CPM100_SDOReadFile is useful as uploading the SDO
data more then 1024 bytes. While users use the CPM100_ReadData to
read the SDO data and the return data length is more then 1024 byte.
The SDO data are stored in a file. Users can use the function
CPM100_SDOReadFile for reading the SDO data from the file.
Syntax:
WORD
CPM100_SDOReadFile (
BYTE
BoardNo,
BYTE
Node,
WORD
Index,
BYTE
SubIndex,
DWORD
Start,
DWORD
Len,
DWORD
*RLen,
BYTE
*RData)
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
Node:
[input] Slave device Node-ID (1~127).
Index:
[input] Object index of object dictionary of slave devices.
SubIndex:
[input] Object subindex of object dictionary of slave devices.
Start:
[input] Start position for reading the SDO data from file. The range
is from 0 to maximum length.
Len:
[input] Data length for reading the SDO data.
*RDLen:
[output] Returned data length in reality.
*RData:
[output] The SDO data respond from the specified slave
device.