ProSoft Technology MVI69-ADM User Manual
Page 323
Advertising

MVI-ADM ♦ 'C' Programmable
Side-Connect API Library Functions
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 323 of 342
February 20, 2013
MVIsc_SyncPLCClock
Syntax
int MVIsc_SyncPLCClock(HANDLE handle);
Parameters
handle
Handle returned by previous call to MVIsc_Open
Description
MVIsc_SyncPLCClock sets the PLC-5 date and time to the MVI-
ADM module’s
current date and time.
Return Value
MVISC_SUCCESS
The PLC-5 clock was set successfully.
MVISC_ERR_NOACCESS
handle does not have access
MVISC_ERR_PLCTIMEOUT
PLC-5 did not respond
Example
HANDLE Handle;
/* Synchronize PLC-5 clock with MVI clock */
MVIsc_SyncPLCClock(Handle);
Advertising