// Use this for initialization void Start() { _connectionState = !plc.IsOnline(); ConnectionState = !ConnectionState; }