IsConnected - property of object PmComm
Detect whether the PmComm
object is connected by Ethernet or serial link.
IsConnected As Boolean
b = oComm.IsConnected
true - the communication is connected
false - the communication is disconnected
Property access for read only
- for Ethernet TCP the returned attribute signals successful TCP connection.
- for Ethernet UDP the returned attribute signals that the communication is enabled (for UDP the connection is not linked up).
- for serial link the returned attribute signals that the serial port is open.