Devices

Manage device definitions to be used for Stations. It is the basic building block for Siemens and Modbus integrations.

Overview

The Devices module forms the foundation of the Smart Energy system. In this module, definitions of PLCs, sensors and other industrial devices in the factory are made. Each device definition is used by Stations to perform TAG read/write operations.

Important Note

You cannot create Stations and TAGs without making Device definitions. The first step in system setup must be Device definitions.

Supported Device Types

Device TypeDescription
Siemens S7Used for Siemens PLCs. Supports S7-300, S7-400, S7-1200, S7-1500 series.
Modbus TCPUsed for devices communicating with Modbus TCP protocol. Communication over Ethernet.

Key Features

  • Multi-protocol support (Siemens, Modbus, OPC(No device definition required.))
  • Real-time connection status monitoring
  • Device-based grouping and organization
  • Bulk device management
  • Connection test features
  • Detailed error logs

Device Fields

Field NameDescriptionStatusExample
Device NameUnique name of the deviceRequiredE.g: "Compressor_PLC_1"
Device TypeDevice type selectionRequiredSiemens, Modbus, OPC etc.

Adding New Device

Step by Step Device Addition

  1. Go to Device List page: Select "Management" → "Devices" from the left menu
  2. Click New Device button: Use the Add New Device button in the upper right corner
  3. Fill in device information: Make sure to fill in Device Name, Type fields
  4. Save: Click the "Save" button to add the device to the system
Example Device JSON Structurejson
{
  "deviceName": "Production_Line_1_PLC",
  "deviceType": "Siemens S7-1500"
}

Editing and Deleting Device

Device Editing

To edit an existing device:

  • Click the edit icon in the row of the device you want to edit in the Device list
  • Make the necessary changes
  • Save by clicking the Save button

Device Deletion

To delete a device:

  • Click the delete icon in the row of the device you want to delete in the Device list.
  • Select "Confirm" in the confirmation dialog and perform the deletion.

Warning: When a device is deleted, all Stations and TAGs connected to this device will also be affected!

Best Practices

Recommendations

  • Keep device names descriptive and in a standard format (e.g: "Line1_Compressor_PLC")
  • Clean up the database by deleting unused devices