Rockwell Automation Allen-Bradley ControlLogix 1756-MVI Programming Reference Manual page 85

Multi-vendor interface module
Hide thumbs Also See for Allen-Bradley ControlLogix 1756-MVI:
Table of Contents

Advertisement

MVIcip_GetSetupMode
Syntax:
int
MVIcip_GetSetupMode(MVIHANDLE handle, int *mode);
Parameters:
handle
handle returned by previous call to MVIcip_Open
mode
pointer to an integer that is set to 1 if the Setup Jumper is
installed, or 0 if the Setup Jumper is not installed.
Description:
This function is used to query the state of the Setup Jumper. handle
must be a valid handle returned from MVIcip_Open.
mode is a pointer to an integer. When this function returns, mode will
be set to 1 if the module is in Setup Mode, or 0 if not.
If the Setup Jumper is installed, the module is considered to be in Setup
Mode.
It may be useful for an application to detect Setup Mode and perform
special configuration or diagnostic functions.
Return Value:
MVI_SUCCESS
MVI_ERR_NOACCESS
Example:
MVIHANDLE
handle;
int
mode;
MVIcip_GetSetupMode(handle, &mode);
if (mode)
// Setup Jumper is installed - perform configuration/diagnostic
else
// Not in Setup Mode - normal operation
no errors were encountered
handle does not have access
Publication 1756-RM004B-EN-P - October 2000
CIP Messaging API
4-33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents