
ControlLogix Platform ♦ "C" Programmable CIP API Functions
Linux Application Development Module Developer's Manual
ProSoft Technology, Inc. Page 207 of 264
March 12, 2014
OCXcip_GetModuleStatusWord
Syntax
int OCXcip_GetModuleStatusWord (OCXHANDLE apihandle,
WORD statusWord);
Parameters
handle returned by previous call to OCXcip_Open
Pointer to word to receive module status data
Description
OCXcip_GetModuleStatusWord allows an application to read the current value of
the 16-bit status attribute of the module's identity Object.
apiHandle must be a valid handle returned from OCXcip_Open.
Return Value
apihandle does not have access
Example
OCXHANDLE apiHandle;
WORD statusWord);
/* Read the current status word */
OCXcip_GetModuleStatusWord (apiHandle, &statusWord);
Comentários a estes Manuais