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

Moxa IA262-I-CE Инструкция по эксплуатации онлайн [49/74] 170913
IA261/262 WinCE User’s Manual CANopen Library
y Syntax
UNS32 moxa_setODentry( CO_Data* d,
UNS16 wIndex,
UNS8 bSubindex,
void * pSourceData,
UNS8 * pExpectedSize,
UNS8 checkAccess)
y Parameters
d: [input] Node handle pointer.
wIndex: [input] The index in the object dictionary where you want to write an entry.
bSubindex: [input] The subindex of the Index.
pSourceData: [input] Pointer to the variable that holds the value that should be copied into the
object dictionary.
pExpectedSize: [input] The size of the value (in Byte).
checkAccess: [input] if other than 0, do not read if the data is Read Only or Constant.
y Return Values
OD_SUCCESSFUL
SDOABT_TOGGLE_NOT_ALTERNED
SDOABT_TIMED_OUT
SDOABT_OUT_OF_MEMORY
SDOABT_GENERAL_ERROR
SDOABT_LOCAL_CTRL_ERROR
12. moxa_RegisterSetODentryCallBack
Use the function to register callback function for object dictionary.
y Syntax
UNS32 moxa_RegisterSetODentryCallBack (CO_Data* d, UNS16 wIndex, UNS8 bSubindex,
ODCallback_t Callback)
B-14

Содержание

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

Скачать