IMDHMIControls LibraryShop main store

Selection guide

Why a Modbus device reads expansion module I/O via the basic module

PLC programming Published 5 min read By IMDHMI controls team

Short answer

Modbus terminates at the basic module, so expansion module I/O reaches the Modbus master through it, not directly. Expansion modules whose order numbers end in 0BA2 work with all LOGO! 0BA8 basic modules, and FS markings are not comparable across the two series; replace only the basic module.

On this page
  1. The two communication paths
  2. FS markings are not comparable across series
  3. Worked selection: which module to replace
  4. Steps after the swap
  5. Questions asked

Replace the basic module, not the expansion module. A Modbus connection terminates at the basic module: the expansion module has no network interface of its own and hands its I/O states to the basic module over the local expansion bus, so a Modbus master reads the expansion digital inputs through that basic module. For hardware compatibility, the rule the manufacturer states is simple: expansion modules whose order numbers end in 0BA2 are compatible with all LOGO! 0BA8 basic modules, no matter which FS version each carries. If you have a 2015-vintage 6ED1055-1NB10-0BA2 expansion module and swap the basic module for the current 6ED1052-1MD08-0BA1, the expansion module stays, and its inputs remain reachable over Modbus through the new basic module.

The two communication paths #

Separate the two interfaces before you decide what to buy. The Modbus master talks to the basic module and to nothing else. The expansion module talks to the basic module over the local connector and to nothing else. Modbus capability is therefore a property of the basic module alone; no Modbus requirement falls on the expansion module. Once the basic module supports Modbus, the expansion input states arrive in the basic module's process data and the master can read them from there, the same way it reads local inputs.

FS markings are not comparable across series #

The FS suffix, such as FS02 or FS04, marks a hardware revision within one product's own series. An FS04 basic module and an FS02 expansion module are different product lines, so there is no rule that the FS values must match or follow each other. Comparing FS02 on the expansion module against FS04 on the basic module answers nothing.

The compatibility rule is the order-number suffix instead. Expansion modules ending in 0BA2 work with all LOGO! 0BA8 basic modules regardless of FS version on either side; that is stated in the manufacturer's compatibility overview of LOGO! Basic and expansion modules. Every LOGO! since September 2014 is a 0BA8 LOGO!, so a 0BA2 expansion module pairs with the whole current 0BA8 family, including the fourth-generation basic modules programmed as LOGO! 8.3.

For related reading on FS revisions inside the basic-module series, the fix for an online test failure between FS02 and FS04 hardware walks through what an FS step changes in practice; the same page covers the FS step where the Modbus function appears in the basic-module series. For a second worked pairing of a 0BA1 and 0BA2 module, the AM2 RTD compatibility comparison applies the same suffix rule to an analog expansion module.

Worked selection: which module to replace #

Take the case of a 2015 installation: a basic module ordered as 6ED1052-1MD08-0BA8 at hardware revision FS02, with a 6ED1055-1NB10-0BA2 DM16 16-digit expansion module at FS02. The program now needs Modbus, which the basic-module series carries from FS04 onward in that series, so the old FS02 basic module cannot do the job.

Component Order number Function Decision
Old basic module 6ED1052-1MD08-0BA8 FS02 Modbus endpoint Replace: this series carries Modbus from FS04, and this unit is FS02
Current basic module 6ED1052-1MD08-0BA1 Modbus endpoint and expansion host Install; select LOGO! 8.3 in the hardware configuration
DM16 expansion module 6ED1055-1NB10-0BA2 FS02 Local digital I/O Retain: order number ends in 0BA2, compatible with all 0BA8 basic modules

The arithmetic of the decision is a two-line check. The expansion module's order number ends in 0BA2; the new basic module is a 0BA8 LOGO!; the manufacturer's rule matches all 0BA2 expansions with all 0BA8 basics; the module stays. The Modbus requirement lands on the basic module; the old basic module is FS02 and the function arrives at FS04 in that series; the basic module goes. Nothing in either check touches the expansion module's FS marking.

Steps after the swap #

  1. Fit the current basic module and move the 0BA2 expansion module onto its local expansion connector.
  2. Open the program and select LOGO! 8.3 in the hardware selection, because the fourth-generation basic module is programmed as a LOGO! 8.3 device.
  3. Add the expansion module in the hardware configuration so its inputs occupy their addresses in the program.
  4. Configure the Modbus function on the basic module for your master, and connect the master to the basic module's Ethernet port.
  5. Verify from the master that it reads the expansion digital-input states through the basic module's register area.

One safety note: isolate the 24 V supply and confirm the expansion module's wiring against the terminal assignment before moving the connector; the expansion bus connector carries the module's supply, and swapping modules under power risks both the module and the I/O wiring.

The register addresses for the Modbus read are not fixed values printed in the compatibility documentation; they follow the program's own I/O assignment and the register area the basic module exposes as a Modbus server. Take them from your hardware configuration and program, not from a generic table.

For the server-side settings you must enter on the controller for a Modbus TCP master to poll it, the checklist in what to configure on the PLC side for Modbus TCP covers the same configuration work for a Modbus TCP server; the LOGO! equivalents live in the same places: server enablement, unit identifier and the register block the master polls. If your master talks serial Modbus RTU instead, connecting Modbus RTU devices to a LOGO! 8 controller covers the serial-side parameters on the same family.

Questions asked

Must I replace a LOGO! DM16R expansion module to use Modbus?

No. Modbus talks to the basic module only, so the expansion module needs no Modbus capability of its own. A DM16R with an order number ending in 0BA2, such as the 6ED1055-1NB10-0BA2, stays on the machine and works with the new basic module. Replace only the basic module that lacks the Modbus function your program needs.

Does the expansion module FS version need to match the basic module?

No. The FS marking on a basic module and the FS marking on an expansion module belong to two different product series, so you cannot compare them as a sequence or require them to match. The compatibility rule that the manufacturer states is the order-number suffix: expansion modules ending in 0BA2 work with all LOGO! 0BA8 basic modules regardless of FS version.

How does a Modbus master read the digital inputs of a LOGO! expansion module?

The expansion module has no network port; it feeds its input states to the basic module over the local expansion bus. The basic module keeps those states in its process data, and the Modbus master reads them from the basic module's register area like any local input. The register addresses come from your actual program and hardware configuration.

What do I select in the software after fitting the current LOGO! basic module?

The current basic module of the fourth generation is programmed by selecting LOGO! 8.3 in the hardware selection of the programming software. The 0BA2 expansion module attached to it needs no separate selection beyond the module you add in the configuration, and the program then exposes both local and expansion I/O to Modbus through the basic module.

Keep reading

  • Selection guide

    Selecting external Modbus I/O for an Easergy P3 relay

    The Easergy P3's External I/O function lets the relay act as Modbus master to remote I/O modules, the same pattern your P3T32 already uses with a VIO12AD for RTD and mA inputs. Against a 16-input orderable maximum, your 20-input requirement leaves a deficit of 4: choose a Modbus I/O module with at least 4 digital inputs, 8 for margin, and validate port, mode and channel types before ordering.

    Industrial networks

  • Explainer

    CPU 1214C expansion limits: modules, PROFINET, process image

    A CPU 1214C takes up to 8 local signal modules plus 1 signal board and 3 communication modules, and runs up to 16 PROFINET IO devices. All configured I/O, local and remote, must fit the process image of 1024 bytes in and 1024 bytes out.

    PLC programming

  • How-to

    How to read Factory I/O REAL and INT tags in CODESYS Modbus TCP

    Factory I/O multiplies each Float sensor value by 100 and sends it as a 16-bit Word, and its Int tags cross as 32-bit values. In CODESYS, receive the Word, convert it to REAL, divide by 100.0, and declare each Int tag as a DInt; BOOL tags pass straight through the Modbus TCP slave mapping you already have.

    PLC programming