Modbus connection status in URCap

Hello!

Is it possible to recieve a modbus connection status in a URCap? For example to signal in PolyScope to the user that the connection is setup and working

Thanks!