Promotic

EndNetGetTime - event of the AtouchX object

Description:
The event is triggered after the station time reading is finished.
The event announces the end of the station time reading. It presents the user with the number of the station from which the time was read, the result of the communication, the user-defined Param parameter, and the time read (in case of successful reading).
Parameters:
Station(Integer) Number of the station from which the time was read.
Result(Long) Communication result
Param(Long) The value entered in the NetGetTime method.
DateTime(Date) Read station time directly in VBA format.
Example:
JavaScriptVBScriptSelect and copy to clipboard

if (Result < 1024)
{
tDt = Pm.CreatePmDateObject(DateTime).Format("%Y.%m.%d %H:%M:%S.%2T");
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.