IsConnected - property of object PmComm
Detects whether the PmComm
object is connected via Ethernet or via the computer's serial port.
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.