Moxa IA262-I-T-LX Инструкция по эксплуатации онлайн [57/74] 170916

Moxa IA262-I-T-LX Инструкция по эксплуатации онлайн [57/74] 170916
IA261/262 WinCE User’s Manual CANopen Library
y Return Values
0
30. moxa_setSDOlineRestBytes
Store in the line structure the nb of bytes which must be transmitted (or received).
y Syntax
UNS8 moxa_setSDOlineRestBytes (CO_Data* d, UNS8 line, UNS8 nbBytes)
y Parameters
d: [input] Node handle pointer.
line: [input] SDO channel.
nbBytes: [input] Number of data received or to be sent.
y Return Values
Return 0 if success, 0xFF if error
31. moxa_sendSDO
Transmit a SDO frame
y Syntax
UNS8 moxa_sendSDO (CO_Data* d, UNS8 whoami, s_SDO sdo)
y Parameters
d: [input] Node handle pointer.
whoami: [input]SDO_CLIENT or SDO_SERVER.
sdo: [input] sdo is a structure which contains the sdo data to transmit.
y Return Values
0xFF if error, else 0.
32. moxa_sendSDOabort
Transmit a SDO error to the client.
y Syntax
UNS8 moxa_sendSDOabort (CO_Data* d, UNS8 whoami, UNS16 index, UNS8 subIndex,
UNS32 abortCode)
B-22

Содержание

Похожие устройства

Скачать