
MVI-ADM ♦ 'C' Programmable Side-Connect API Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 321 of 342
February 20, 2013
Peripheral fault (Chan 3)
User jsr to fault routine
System illegally configured
MCP file does not exist or is not
ladder/SFC
PII program does not exist or is not ladder
STI program does not exist or is not
ladder
Fault program does not exist or is not
ladder
Faulted program does not exist or is not
ladder
Return Value
Status was retrieved successfully
handle does not have access
Example
HANDLE Handle;
WORD plcstat;
WORD mfault;
MVIsc_GetPLCStatus(Handle, &plcstat, &mfault);
if (plcstat & MVISC_PLCSTS_RUN_MODE)
printf("PLC is in Run Mode");
Comentarios a estos manuales