Configuring TIA Portal Modbus RTU Without Extra Software

David Krause6 min read
SiemensTechnical ReferenceTIA Portal
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

After selecting the integrated Modbus RTU block and matching the serial settings at both endpoints, the controller can exchange RTU messages without a separate Modbus Master or Modbus Slave software installation. With TIA Portal Professional, the relevant blocks are available under Instructions > Communication > Communication Processor > Modbus RTU.

Built-in software boundary

The term Modbus RTU here means the serial request-response protocol, not the physical serial interface. A master initiates a request; the addressed slave validates the frame and returns a response. TIA Portal supplies program blocks that implement these protocol roles, while the configured communication hardware carries the electrical signal.

No separate Modbus Master or Modbus Slave application is required when the project is developed with TIA Portal Professional and the integrated blocks appear in the instruction catalog. This conclusion applies to the protocol blocks. It does not establish that every controller has a built-in serial port or that every hardware configuration is ready for RTU. The project still needs a compatible serial interface, correct wiring, matching frame settings, and a block call for the selected role.

Observed condition Meaning Next action
Modbus RTU folder and blocks are visible The required protocol instructions are installed Check the interface and role
Communication Processor branch is visible but Modbus RTU is absent The catalog, installed edition, or selected hardware context needs review Confirm TIA Portal Professional and reopen the project catalog
Blocks are present but no suitable serial interface is configured The software can execute the protocol, but no physical channel is assigned Configure compatible serial hardware
Frames transmit but no valid response returns The installation has progressed beyond software availability Compare role, framing, address, wiring, and status diagnostics

Check 1: Installation and instruction catalog

Start with the instruction catalog because it separates a missing software function from a communication fault. Searching wiring or slave settings cannot correct an instruction that is unavailable in the engineering environment.

  1. Open the controller program in TIA Portal Professional.
  2. Navigate to Instructions > Communication > Communication Processor > Modbus RTU.
  3. Check 1: expect the Modbus RTU branch and its master/slave-related blocks to be visible.
  4. If the blocks are visible, do not install a separate Modbus utility. Continue to Check 2.
  5. If the blocks are absent, confirm the installed TIA Portal edition and the project context before changing the controller program. Reopen the instruction catalog after correcting the installation or project selection, then repeat Check 1.

A stand-alone test utility may be useful for commissioning another endpoint, but it is not the controller-side runtime implementation. Treat a test tool and an integrated PLC instruction as different functions.

Check 2: Serial interface and protocol role

The blocks cannot create a serial channel by themselves. The project must contain a communication interface that supports the required serial connection, and the program must use the role that matches the network design.

  1. Inspect the device configuration and identify the serial interface assigned to the Modbus RTU channel.
  2. Check 2A: expect the interface to be present in the project without a hardware configuration fault. If it is absent, select and configure compatible hardware before writing block logic.
  3. Identify which endpoint initiates transactions. If the PLC initiates reads or writes, select the master function. If another device initiates requests to the PLC, select the slave function.
  4. Check 2B: expect exactly one initiating role on a simple master-slave link. Two endpoints waiting as slaves produce silence; two endpoints attempting to control the same exchange produce collisions or rejected traffic.
  5. After the interface and role agree with the design, continue to Check 3.

Wrong-role diagnosis is straightforward: monitor traffic or the interface transmit indication. No transmission from the intended master points toward request logic, initialization, or role selection. Repeated transmission without an accepted response shifts the decision path toward frame settings, address selection, or the physical layer.

Check 3: Frame settings, address, and wiring

Modbus RTU detects frame boundaries and validates each message as a serial frame. Both endpoints must interpret the same bit stream. A mismatch in baud rate, parity, data bits, or stop bits prevents reliable decoding even when the conductors are connected correctly.

Reading Expected result Branch if incorrect
Baud rate Same configured value at both endpoints Correct the mismatched endpoint, then retest
Parity, data bits, and stop bits Identical frame format Align all frame fields as a set
Requested slave address Matches the responding device address Correct the request or device configuration
Serial wiring Matches the interface documentation and link topology Correct conductor assignment, reference, termination, or polarity as applicable
Diagnostic status No active configuration or communication error Use the block help and interface diagnostics to decode the reported condition
  1. Check 3A: compare every serial frame field side by side; expect an exact match.
  2. Check 3B: compare the requested address with the address configured in the target device; expect the same address.
  3. Check 3C: inspect wiring against the documentation for the installed interface; expect the specified conductor assignment and topology.
  4. If settings and wiring pass, monitor the program request and the block diagnostic outputs. A request that never becomes active is a logic problem. An active request followed by an error directs the investigation to the reported diagnostic condition.

Resolving procedure

  1. Use the blocks already supplied with TIA Portal Professional; do not add a separate Modbus Master or Modbus Slave package.
  2. Open Instructions > Communication > Communication Processor > Modbus RTU and add the block for the required master or slave role.
  3. Configure the compatible serial interface in the device configuration.
  4. Set the serial frame fields to the values used by the other endpoint. Copy values from the device configuration or datasheet rather than selecting defaults by habit.
  5. For a master, configure the target address and requested data operation according to the integrated block help. For a slave, map the served data according to that block's interface.
  6. Connect initialization, request, completion, busy, and diagnostic signals as exposed by the selected block. Use the block help for the required call sequence because the evidence does not identify a block version or controller family.
  7. Download the hardware configuration and program, place the controller in its operating state, and run one controlled transaction before enabling repeated requests.

Recurring wrong practice includes changing several serial fields at once, repeatedly triggering a request while the previous transaction remains active, and treating an address failure as a wiring failure. Change one diagnostic branch at a time and preserve the last known reading.

Numbered verification readings

  1. Check 1 — catalog: expect the Modbus RTU blocks at Instructions > Communication > Communication Processor > Modbus RTU.
  2. Check 2 — hardware: expect the assigned serial interface to appear in the device configuration without an active configuration fault.
  3. Check 3 — framing: expect baud rate, parity, data bits, and stop bits to match at both endpoints.
  4. Check 4 — addressing: expect the address in the request to equal the configured address of the responding slave.
  5. Check 5 — transaction: trigger one request and expect a completed transaction, no active error indication, and application data that changes or reads back as intended. If an error remains, record the displayed diagnostic value and resolve it through the selected block's help before issuing another request.

FAQ

How do I find Modbus RTU blocks in TIA Portal?

In TIA Portal Professional, open Instructions > Communication > Communication Processor > Modbus RTU. The master/slave-related blocks should appear in that branch.

How do I use Modbus RTU without installing separate software?

Add the integrated block for the required role, configure a compatible serial interface, and call the block from the controller program. A separate Modbus Master or Modbus Slave application is not required when those blocks are present.

How do I diagnose a Modbus RTU link with no response?

Confirm the PLC is using the initiating role, then compare baud rate, parity, data bits, stop bits, and slave address. If those readings match, inspect the serial wiring and record the block's diagnostic value.

How do I verify the TIA Portal Modbus RTU setup?

Trigger one controlled request and expect the transaction to complete without an active error indication. As the final verification step, confirm that the returned or written application data matches the intended operation.

Back to blog