Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 321

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 320
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
Bit
Definition
Description
2
MVISC_PLCFLT_PROG_ERROR
Programming error
3
MVISC_PLCFLT_SFC_ERROR
Function chart error
4
MVISC_PLCFLT_DUP_LABELS
Duplicate labels found
5
MVISC_PLCFLT_PWR_FAIL
Power loss fault
6
MVISC_PLCFLT_PERIPHERAL
Peripheral fault (Chan 3)
7
MVISC_PLCFLT_USER_JSR
User jsr to fault routine
8
MVISC_PLCFLT_WATCHSOG
Watchdog fault
9
MVISC_PLCFLT_BAD_CONFIG
System illegally configured
10
MVISC_PLCFLT_HWFAIL
Hardware fault
11
MVISC_PLCFLT_NOMCP
MCP file does not exist or is not
ladder/SFC
12
MVISC_PLCFLT_NOPII
PII program does not exist or is not ladder
13
MVISC_PLCFLT_NOSTI
STI program does not exist or is not
ladder
14
MVISC_PLCFLT_NOFLT
Fault program does not exist or is not
ladder
15
MVISC_PLCFLT_NOFAULTED
Faulted program does not exist or is not
ladder
Return Value
MVISC_SUCCESS
Status was retrieved successfully
MVISC_ERR_NOACCESS
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");
Seitenansicht 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare