beautypg.com

ProSoft Technology MVI56E-LDM User Manual

Page 78

background image

CIP API Functions

ControlLogix Platform ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 72 of 264

ProSoft Technology, Inc.

March 12, 2014

Miscellaneous

OCXcip_GetIdObject

- Returns data from the module's Identity Object.

OCXcip_SetIdObject

- Sets the module's Identity Object.

OCXcip_GetActiveNodeTable

- Returns the number of slots in the local

rack and identifies which slots are occupied by active modules.
OCXcip_MsgResponse

- Send the response to an unscheduled message.

This function must be called after returning OCX_CIP_DEFER_RESPONSE
from the service_proc callback routine.
OCXcip_GetVersionInfo

- Get the CIP API version information.

OCXcip_GetUserLED

- Get the state of the user LED.

OCXcip_SetUserLED

- Set the state of the user LED.

OCXcip_GetModuleStatus

- Get the state of the status LED.

OCXcip_SetModuleStatus

- Set the state of the status LED.

OCXcip_GetLED3

- Get the state of the err LED.

OCXcip_SetLED3

- Set the state of the err LED.

OCXcip_ErrorString

- Get a text description of an error code.

OCXcip_SetDisplay

- Display characters on the alphanumeric display.

OCXcip_GetDisplay

- Read alphanumeric display.

OCXcip_GetSwitchPosition

- Get the state of the board jumpers.

OCXcip_GetSerialConfig

- Read the serial board configuration jumpers.

OCXcip_Sleep

- Delay for specified time.

OCXcip_Calculate CRC

- Generates a 16-bit CRC over a range of data.

OCXcip_SetModuleStatusWord

- Set the module status attribute in the ID

object.
OCXcip_GetModuleStatusWord

- Read the module status attribute in the ID

object