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

Moxa IA262-I-T-LX Инструкция по эксплуатации онлайн [48/74] 170916
IA261/262 WinCE User’s Manual CANopen Library
y Syntax
UNS32 moxa_getODentry( CO_Data* d,
UNS16 wIndex,
UNS8 bSubindex ,
void * pDestData,
UNS8 * pExpectedSize,
UNS8 * pDataType,
UNS8 checkAccess)
y Parameters
d: [input] Node handle pointer.
wIndex: [input] The index in the object dictionary where you want to read an entry.
bSubindex: [input] The subindex of the Index.
pDestData: [input] Pointer to the variable where the value of this object dictionary entry should be
copied.
pExpectedSize: [input] This function writes the size of the copied value (in Byte) into this
variable.
pDataType: [input] The type of the data.
CheckAccess: [input] if other than 0, do not read if the data is Write Only.[always 0].
y Return Values
OD_SUCCESSFUL.
SDOABT_TOGGLE_NOT_ALTERNED.
SDOABT_TIMED_OUT.
SDOABT_OUT_OF_MEMORY.
SDOABT_GENERAL_ERROR.
SDOABT_LOCAL_CTRL_ERROR.
11. moxa_setODentry
Use the function to write an entry into the object dictionary.
B-13

Содержание

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

Скачать