Update cookies preferences

onDataReceive - event of the PmaCommMsg object

The event is triggered after the successful data reading and saving into the "Data-received" tab of this object.
Can be use mainly for Slave message for the preparation of transmitted data data.
For message of the Master type, it is better to use onBeginOfTransfer and onEndOfTransfer events.
pMe(Object) Reference to the PmaCommMsg object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
JavaScriptVBScriptSelect and copy to clipboard

var val = pMe.ReadVars(0).Value;
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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