본문으로 건너뛰기

Site Agents

Site agents are on-premises edge gateways that connect to PLCs, SCADA systems, and IoT devices on the shopfloor. They relay real-time tag readings to the ProBeya cloud platform, enabling live KPI dashboards and Andon displays powered by actual equipment data.

Overview​

Each site agent is a lightweight software process running on an industrial PC or gateway device at your manufacturing site. It communicates with equipment using standard industrial protocols and streams data points to ProBeya over a secure connection.

Supported Protocols​

ProtocolUse Case
OPC-UAModern industrial automation standard (Siemens, Beckhoff, Rockwell)
MQTTLightweight pub/sub messaging for IoT sensors
S7commNative Siemens S7 PLC communication
ModbusLegacy protocol for meters, drives, and sensors
RESTHTTP-based data collection from web-enabled devices

Getting Started​

  1. Navigate to Settings > Site Agents.
  2. Click Create Agent.
  3. Enter the agent name and optional site ID for grouping (e.g., "SITE-BRU-01").
  4. Select the protocol used to communicate with the equipment.
  5. Provide the connection configuration (host, port, credentials, etc.).
  6. Define the data point tags -- each tag maps to a specific equipment address.
  7. Save the agent. It starts in offline status until it sends its first heartbeat.

How It Works​

Agent Lifecycle​

StatusMeaning
OfflineAgent is registered but has not sent a heartbeat
OnlineAgent is actively sending heartbeats and data
ErrorAgent reported an error (e.g., PLC communication failure)
MaintenanceAgent is intentionally taken offline for maintenance

The agent sends periodic heartbeat messages. Each heartbeat updates the status to online and records the timestamp. If heartbeats stop arriving, monitoring processes can flag the agent.

Data Points​

Each data point represents a single tag reading from an equipment address:

FieldDescription
Tag NameLogical identifier (e.g., "Temperature_Reactor_1")
AddressEquipment-specific address (e.g., OPC-UA node ID, Modbus register)
Data TypeValue type (float, int, bool, string)
Scan IntervalPolling frequency in milliseconds
ValueThe numeric or string reading
QualitySignal quality indicator (good, bad, uncertain)
TimestampWhen the reading was taken on the equipment

Latest Values​

The Get Latest Values endpoint returns the most recent reading for each configured tag on an agent. This powers real-time dashboards and Andon displays with a single API call.

Configuration​

SettingDescription
NameHuman-readable agent name
Site IDPhysical site grouping identifier
Protocolopcua, mqtt, s7comm, modbus, or rest
Connection ConfigProtocol-specific JSONB (host, port, auth, TLS settings)
Data PointsArray of tag definitions (tagName, address, dataType, scanIntervalMs)

Permissions​

  • Organization Admins and Owners can create, update, and delete site agents.
  • All agent data is scoped to the current organization for multi-tenant isolation.
  • Deleting an agent permanently removes all its historical data point readings.

Tips & Best Practices​

팁

Use meaningful tag names that follow a naming convention (e.g., Area_Equipment_Measurement). This makes it easier to map tags to KPI definitions later.

주의

Deleting a site agent is a destructive operation -- all historical data points from that agent are permanently removed. Consider setting the status to maintenance instead if you plan to reconnect later.

  • Group agents by Site ID to filter and manage agents across multiple manufacturing locations.
  • Start with a small set of critical tags and expand once connectivity is proven.
  • Monitor heartbeat timestamps to detect agents that have gone silent.
  • Use OPC-UA where available -- it provides the richest metadata and security model.
  • Keep scan intervals reasonable (1-10 seconds for process data, 60+ seconds for environmental sensors).
  • Andon Configuration -- Display live agent data on shopfloor screens.
  • Connectors -- ERP/MES connectors for enterprise system integration.
  • Integrations -- Push data events to external systems via webhooks.