Promotic

EndNetCompose - event of the AtouchX object

Description:
The event is triggered after the end of the write when the database variable is written sequentially.
The event notifies the end of the physical writing of a database variable or matrix during the sequential writing process. It presents the user with the WID of the database variable being written, the result of the communication, and the user-specified Param parameter.
Parameters:
WID(Long) WID of the database variable that was read.
The WID value corresponds to the specified value (plain WID or WID including the station number) in the NetComposeEnd method.
Result(Long) Communication result
Param(Long) The value entered in the NetComposeEnd method.
Example:
JavaScriptVBScriptSelect and copy to clipboard

if (Result < 1024)
{
Pm.Debug("AtouchX.EndNetCompose " + WID + " OK");
}
else
{
Pm.Debug("AtouchX.EndNetCompose " + WID + " Error !!");
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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