PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 80
4.5.45. CPM100_RemovePDO_List
Description:
The function CPM100_RemovePDO_List can remove a TxPDO or
RxPDO object had installed by the CPM100_InstallPDO_List. This
function also can remove single object mapped in the TxPDO or
RxPDO.
Syntax:
WORD
CPM100_RemovePDO_List(
BYTE
BoardNo,
BYTE
Node,
WORD
Cobid,
BYTE
Entry,
BYTE
BlockMode)
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
Node:
[input] Slave device Node-ID (1~127).
Cobid:
[input] COB-ID used by the PDO object.
Entry:
[input] PDO mapping object subindex value (0 ~ 8). If this
parameter is set to 0, the specified PDO object will be
removed. If others (1 ~ 8), the specified subindex content
of the PDO will be removed.
BlockMode:
[input] 0 means this function is non-block-function, and 1
means this function is block-function. If set this parameter to 1, the
running procedure of the users’ application will be held in the
function until return. If set to 0, this function will return “CPM_
Processing” directly. This function will return its process status
while users apply it with the same “BoardNo” and “Node” again. If
the procedure is still not complete, it will return “CPM_Wait”.