Moxa IA262-I-T-LX [44/74] Function description

Moxa IA262-I-CE [44/74] Function description
IA261/262 WinCE User’s Manual CANopen Library
8) Generating the object Dictionary
Once the object dictionary has been edited and saved, you need to generate the object dictionary C
code for your CANopen node. Select the Menu entry “File/Build Dictionary”.
Choose a C file to create or overwrite. The header file will also be created with the same prefix as
the C file.
Function Description
All the functions provided by CANopen library are listed in the following. The detail information
for each function is presented in this section.
1. moxa_getNodeState
Call this function to get node state of slave.
y Syntax
e_nodeState moxa_getNodeState (CO_Data* d, UNS8 nodeId)
y Parameters
d: [input] Node handle pointer. This structure contains all necessary information for a CANopen
node.
nodeId: [input] Specified slave’s node ID.
y Return Values
Return specified state of node.
2. moxa_heartbeatInit
Initial Producer/Consumer Heartbeat time.
y Syntax
void moxa_heartbeatInit(CO_Data* d)
B-9

Содержание

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

Скачать