ServerMonitor

ServerMonitor

The ServerMonitor is a specialized table object that allows you to monitor the connection statuses, IP addresses, and last access times of externally connected clients in real-time when your SCADA system is operating as a Server. It supports server protocols such as TCP, UDP, WebSocket, WebServer, Pages, Redundancy, etc.

For standard Properties, Advanced, and Events Panel settings not covered here, please refer to the Common Object Features page.

Basic Operation and Column Structure

When the object is added to the screen, it displays the list of clients connected to the server in a hierarchical layout (as sub-rows under the main protocol). When the page is closed and reopened, the last information continues to be retained on the screen.

Note: When a new client IP connects, a new row is automatically created under the relevant server. New queries from the same IP do not open a new row; they update the time of the existing row. The main (root) row displays the information and time of the last IP connected to that protocol. The Runtime must be closed and reopened to clean (reset) IP addresses from the table that have completely disconnected or are no longer in use.

  • Object: Displays the name of the active Server protocol in the SCADA system (e.g., WebServer, Pages, etc.). The list of devices connected to that protocol branches out under this main row.
  • State: Indicates whether the Server protocol is currently active (Enable). The State is represented by colors defined in the Advanced Panel.
  • Status: Indicates the status of the data exchange between the Client and the server. Like the State column, this area is filled with colors (e.g., Green=Connected, Red=Fault).
  • Client IP: Displays the IP address of the externally connected device (computer, phone, etc.) to the server.
  • Last Access Time: Displays the last time the connected device successfully accessed (sent a query to) the server. When the device disconnects from the server, the time stops advancing (remains static), while the time of other active devices continues to update.
  • Comment: The description field entered by the project engineer for the relevant connection during the setup phase.

Advanced Panel – Key Properties

  • 0. Settings (Color Configuration)
    This is the main area where the fill colors for the State and Status columns in the table are defined:
    • StateDisableColor / StateEnableColor: Colors to be applied to the “State” cell when the Server is passive or active (e.g., Light Green for Active, Gray for Passive).
    • StatusConnectedColor / StatusFaultColor / StatusInactiveColor: Colors to be applied to the “Status” cell when the connection is Connected, Fault, or Inactive.
  • 1. Child Controls
    These are the pop-up window settings used to customize the internal table structure of the object in detail:
    • _ResultGrid: The area where basic settings for the main grid structure of the table (DataGrid features) are configured.
    • _ResultGridColumns: Opens a new window allowing you to manage the columns in the table individually. From this window, you can configure details for each column, such as its header (HeaderText), width (Width), visibility (Visible), and auto-sizing mode (AutoSizeMode).

General Usage Examples

Example: Multi-Device Tracking via WebServer

  1. Add a ServerMonitor to your screen.
  2. When you run your system and both your computer and your phone connect to the WebServer protocol, two separate IP rows belonging to these two devices are automatically created under the WebServer main row.
  3. While both devices are active on the page, the Last Access Time columns are updated instantly on every query.
  4. When you close the WebServer connection from your computer, the time of the IP row belonging to your computer freezes at that moment. However, since your phone remains connected, the access time of the IP row belonging to your phone continues to change.
  5. The Runtime must be restarted to completely remove the IP row belonging to the disconnected computer from the list.

Leave a Reply