PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 63
4.5.29.
CPM100_PDOWrite_Fast
Description:
The function is like CPM100_PDOWrite but does not check whether the
PDO message really sends to CAN bus or not. So CPM100_PDOWrite_Fast
is about twice as faster than CPM100_PDOWrite at high speed baud rate
(greater than or equal to 250kbps).
Syntax:
WORD
CPM100_PDOWrite_Fast (
BYTE
BoardNo,
WORD
Cobid,
BYTE
Offset,
BYTE
DLlen,
BYTE
*TData)
Parameter:
BoardNo:
[input] CPM100 board number (0~7).
Cobid:
[input] COB-ID used by the PDO object.
Offset:
[input] The start byte position of PDO data (0 ~ 7).
DLen:
[input] data size (dlen
+
offset
≦
8 (total length of the PDO).
*TData:
[output] The data pointer point to the PDO data.