
MVI-ADM ♦ 'C' Programmable Side-Connect API Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 325 of 342
February 20, 2013
MVIsc_SetPLCMode
Syntax
int MVIsc_SetPLCMode(HANDLE handle, BYTE mode);
Parameters
Handle returned by previous call to MVIsc_Open
Description
MVIsc_SetPLCMode sets the PLC-5 mode. The PLC-5 keyswitch must be in the
Remote position for this function to succeed. The valid mode definitions are
shown below:
Mode Description
Return Value
The fault was cleared successfully.
handle does not have access
The PLC-5 denied the request. Check the keyswitch position.
Example
HANDLE Handle;
/* Put the PLC-5 in Run mode */
MVIsc_SetPLCMode(Handle, MVISC_PLCMODE_RUN);
Comentarios a estos manuales