The function TimeSynchroStation (_TimeSynchroStation@4 in the Stdcall calling
convention) is optional. It is called (or not called) according to the station
polling parameter "Period".
The task of the function is to synchronize the real time of the device.
Return code
Code
Description
RQ_OK
The request has been executed.
RQ_ERR
An error occurred (the device does not communicate or is
out of service, or there is any
error), the station changes into the status COM_ERR or HARD_ERR after
returning from the function.
RQ_IGNORED
The function was ignored and the station status is not changed.
Pridať komentár