Prosoft-technology MVI69-ADM Manual de usuario Pagina 313

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 312
MVI-ADM 'C' Programmable Side-Connect API Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 313 of 342
February 20, 2013
MVISC_ERR_PLCTIMEOUT
PLC-5 did not respond
MVISC_ERR_XFERFAIL
PLC-5 returned an error
MVISC_ERR_PCCCFAIL
PCCC error occurred
Example
HANDLE Handle;
short N;
float SP;
int rc;
/* Clear bit 4 and set bit 1 of N7:5 */
rc = MVIsc_RMWPLC(Handle, 0xFFEF, 0x0002, 7, 5, 0);
if (rc != MVISC_SUCCESS)
printf("ERROR: MVIsc_RMWPLC failed");
Vista de pagina 312
1 2 ... 308 309 310 311 312 313 314 315 316 317 318 ... 341 342

Comentarios a estos manuales

Sin comentarios