onDisconnect - event of object PmComm

The event fires after the connection is closed.
For Ethernet TCP the event is fired after successful TCP connection.
For Ethernet UDP the event is not fired (for UDP the connection is not estabilished)
For the serial link the event is fired after successful connection, for example, to the "COM1" port.
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.

The pEvent parameter is not used here because this event does not need any additional information.

PROMOTIC 8.3.30 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice