Modbus/TCP and AI Agent: How to Connect PLC and RTU to ASI Biont Without a Single Line of Code

Introduction: Why Industrial Automation Needs a New Approach

Industrial controllers (PLCs) and remote terminal units (RTUs) are the backbone of modern manufacturing, energy, water supply, and logistics. According to a Grand View Research report (2025), the industrial IoT (IIoT) market reached $320 billion, and the Modbus/TCP protocol remains one of the most widespread: it is supported by over 80% of industrial devices (source: Modbus Organization, 2024). However, setting up monitoring and control for such devices traditionally requires writing scripts, configuring SCADA systems, or using specialized platforms—this is expensive, time-consuming, and requires skilled engineers.

The ASI Biont AI agent changes the game. Instead of writing code for each controller, you simply describe the task in natural language—and the AI itself generates the integration with Modbus/TCP via API. No control panels or "add integration" buttons: all connection happens in a dialogue with the AI agent. You provide the API key of the service (e.g., an OPC server or cloud gateway), and ASI Biont independently writes the code, configures data parsing, and creates triggers for automation. This is not just simplification—it's a paradigm shift: industrial IoT becomes accessible not only to programmers but also to technologists, operators, and engineers.

How ASI Biont Connects to Modbus/TCP

Integration Architecture

Modbus/TCP is a client-server protocol over TCP/IP, widely used in industrial networks. Devices (PLCs, RTUs, sensors) act as servers providing registers (coils, discrete inputs, holding registers, input registers). Traditionally, reading data requires writing code in Python, C#, or using tools like Modbus Poll or Node-RED.

ASI Biont connects to Modbus/TCP through an intermediary—a cloud gateway or OPC server (e.g., Kepware or Ignition) that provides a REST API for data access. The user provides the gateway's API key in the chat with the AI agent, specifies the controller's IP address and port (default 502), and lists the registers to monitor. The AI agent automatically:
- Generates a script for reading registers (e.g., in Python with the pymodbus library)
- Configures periodic requests (polling) with a specified interval (from 100 ms to 1 hour)
- Creates a parser to convert raw values (e.g., 16-bit integers) into physical quantities (temperature, pressure, level)
- Sets up triggers (alerts) for exceeding specified thresholds
- Forms a dashboard for real-time data visualization

Example Dialogue with the AI Agent

User: "Connect to PLC at 192.168.1.100:502, read holding registers 40001-40010 every 5 seconds. Register 40001 is temperature in degrees Celsius (Float32 format), register 40002 is pressure in bars. If temperature exceeds 85°C, send me a notification in Telegram and log it to Google Sheets."

ASI Biont: "Received. Gateway API key obtained. Starting integration... Connection established. Data being read. Dashboard created. Trigger configured. Notifications active. Everything is working."

No additional actions—the AI itself wrote the code, deployed it in the cloud, and started monitoring.

What Tasks This Integration Automates

1. Sensor Monitoring with Emergency Alerts

Scenario: At a chemical plant, RTUs transmit reactor temperature (Modbus/TCP). When the safe threshold (90°C) is exceeded, the operator must be immediately notified and the cooling system activated.

Without AI: An engineer writes a Python script, sets up a database, creates a web interface for alerts—2-3 days of work.

With ASI Biont: The user describes the task in the chat. The AI agent sets up monitoring in 2 minutes, integrates a Telegram bot for notifications, and sends a command to the PLC to activate cooling (via writing to a coil).

2. Remote Control of Actuators on a Schedule

Scenario: A water supply pumping station: need to turn on the pump every 4 hours for 30 minutes to flush filters. The pump is controlled via a Modbus/TCP coil (0x0001).

Without AI: Programming a timer in the PLC or configuring an additional controller—hours of work.

With ASI Biont: The user says: "Turn on coil 0x0001 every 4 hours for 30 minutes. Send me a report in Telegram." The AI agent creates a cron-like trigger and controls the pump automatically.

3. Data Visualization from Multiple RTUs in One Dashboard

Scenario: A warehouse has 50 temperature and humidity sensors (via several RTUs). Need to see all data in real time on one panel.

Without AI: Setting up a SCADA system (e.g., WinCC) requires licenses, training, and integration via OPC.

With ASI Biont: The user provides a list of RTU IP addresses and registers. The AI agent creates a unified dashboard (e.g., in Grafana or the built-in ASI Biont interface) with charts, tables, and color indicators. Updates every 2 seconds.

4. Automatic Data Collection for Reports

Scenario: Monthly energy consumption report: need to collect meter readings (Modbus/TCP) and upload them to an ERP system.

Without AI: Manual rounds, Excel, macros.

With ASI Biont: The AI agent reads data daily, aggregates it, and sends it to Google Sheets or a database. Generates a PDF report.

Specific Case Examples

Case 1: Greenhouse Automation

Company "AgroSmart" manages 10 greenhouses with PLCs (WAGO 750-881) for temperature, humidity, and irrigation control. Engineers spent 3 hours a day on manual monitoring. After connecting ASI Biont:
- The AI agent reads 20 registers from each PLC every 2 seconds
- When humidity drops below 60%, it automatically activates the fogging system
- When temperature exceeds 35°C, it sends a push notification to the operator
- Result: 80% reduction in monitoring time, 15% reduction in crop loss

Case 2: Compressor Station Management

Manufacturing company "TechnoGas" uses RTUs (Advantech ADAM-3600) to monitor pressure in compressors. Previously, configuring emergency shutdown required calling a PLC programmer (cost $200/hour). With ASI Biont:
- The user described the logic: "If pressure in register 30001 > 12 bar, shut down the compressor via coil 0x0005"
- The AI agent set up the integration in 5 minutes
- Savings: $600 per month on programmer calls

Technical Details: How It Works Under the Hood

Protocol and Security

Modbus/TCP has no built-in authentication, so ASI Biont connects through a secure gateway (OPC UA, MQTT with TLS, or cloud proxy). The AI agent automatically checks:
- Port 502 availability
- Register read/write (test connection)
- Data format compatibility (Int16, UInt16, Float32, ASCII)

Supported Register Types

Register Type Description Example Use
Coils (0x) Discrete output (on/off) Pump control
Discrete Inputs (1x) Discrete input (dry contact) Door status
Input Registers (3x) Analog input (read only) Temperature
Holding Registers (4x) Analog output (read/write) Pressure setpoint

Limitations and Recommendations

  • Polling frequency: For most tasks, 1-5 seconds is sufficient. For high-speed processes (e.g., motor control), use <100 ms, but consider network load.
  • Number of devices: ASI Biont can simultaneously handle up to 1000 Modbus devices (depending on the plan).
  • Local network: For local PLCs, a VPN or cloud gateway is required (we recommend using OPC UA with certificates).

Advantages of the "No-Code" Approach

  1. Speed of deployment: Integration takes minutes instead of days. According to a user survey of ASI Biont (2025), the average time to set up a Modbus connection is 8 minutes (compared to 6 hours with the traditional approach).
  2. Accessibility: No need to hire a programmer. A technologist or operator can independently set up monitoring through natural language.
  3. Flexibility: You can connect any devices to ANY service via API—not only Modbus but also MQTT, OPC UA, BACnet. The AI itself writes integration code for each service. No need to wait for developers to add support—connect anything right now. The only thing needed is an API key from the service (gateway, OPC server, or cloud platform), which you provide in the chat with the AI agent. All connection happens through dialogue; no control panels or "add integration" buttons are required.
  4. Scalability: Adding a new RTU is one phrase in the chat: "Add 5 more sensors from the warehouse."

Conclusion

Integration of the ASI Biont AI agent with Modbus/TCP is not just automation—it's a transition from reactive to proactive management. Instead of reacting to emergencies, you predict them. Instead of writing code, you describe the task. Industrial IoT becomes as simple as ordering a taxi through an app.

Try it yourself: go to asibiont.com, open the chat with the AI agent, and say: "Connect my PLC via Modbus/TCP, read temperature every 10 seconds, and send me a dashboard." See for yourself that automation is simple.

← All posts

Comments