ProSoft Technology MVI69-ADM User Manual
Page 313
Advertising
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");
Advertising