User`s manual

IA261/262 WinCE User’s Manual CANopen Library
B-28
Operational = 0x05,
Pre_operational = 0x7F,
Unknown_state = 0x0F
y Return Values
0xFF if error, else return 0.
42. moxa_getNodeId
Return the node Id.
y Syntax
void moxa_getNodeId (CO_Data* d, UNS8 nodeId)
y Parameters
d: [input] Node handle pointer.
y Return Values
Return the node Id.
43. moxa_setNodeId
Define the node ID. Initialize the object dictionary.
y Syntax
void moxa_setNodeId (CO_Data* d)
y Parameters
d: [input] Node handle pointer.
y Return Values
None.
44. moxa_sendSYNC
Transmit a SYNC message.
y Syntax
UNS8 moxa_sendSYNC (CO_Data* d, UNS32 cob_id)
y Parameters
d: [input] Node handle pointer.