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(WID + " event EndNetCompose = OK");
}
else
{
Pm.Debug(WID + " event EndNetCompose = Error !!");
}
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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