Explainer
Why two LOGO PLCs can both use Modbus AQ addresses 513 to 520
Short answer
Register addresses 513 to 520 are the LOGO! map for AQ 1 to 8 inside one controller, not network-wide identifiers, so two controllers can carry the same range. Open one HMI connection per controller, its own IP address on Modbus TCP or its own slave address on a shared RTU bus, and bind each of your ten tags to its own connection and register. No tag needs an address above 520.

On this page
- The range 513 to 520 is the LOGO! AQ map
- A register address names data inside one device
- Give each controller its own connection
- Splitting 10 analog outputs 8 and 2 across two LOGO! controllers
- Bind every tag to a connection and a register
- Keep one writer per output
- Watch the register class and the numbering convention
- Checks before you trust the screen
- Questions asked
You do not need new register addresses, and the repeated range is not a conflict. In the LOGO! Modbus map, addresses 513 to 520 identify the eight analog outputs inside one controller - they are not network-wide identifiers. The target device is chosen by the connection, an IP address on Modbus TCP or a slave address on a shared serial bus, and the register number means nothing until that connection is open. Two LOGO! controllers can therefore carry their analog outputs in exactly the same range. Open one HMI connection per controller and bind each of your ten tags to its own connection and register: all ten values stay distinct, with nothing invented above the documented map.
The range 513 to 520 is the LOGO! AQ map #
The mapping is documented in the LOGO!Soft Comfort online help, on its Modbus address-space page: AQ 1 to 8 appear as holding registers 513 to 520, one 16-bit word each, read and write. The same table puts the VW area, VW 0 to 850, on holding registers 1 to 425, also read/write words; that second range matters later, when you decide who writes an output. For your own project you can view the mapping under Tools -> Parameter VM Mapping in LOGO!Soft Comfort, a tool provided for 0BA7 and later versions.
Scope the hardware honestly: LOGO! 8.FS4 is the release documented as supporting both S7 and Modbus connection types, while LOGO! 0BA7 and LOGO! 0BA8 support S7 connections only. Both controllers in your scheme are therefore LOGO! 8 units from FS4 on, each exposing the identical table.
A register address names data inside one device #
The Modbus application protocol treats an address as a reference to one specific bit or word register in the device - nothing more. Every request carries two separate pieces of information: where it goes, which is the connection, and which register to read or write inside whatever answers. On Modbus TCP the connection is an IP address and port, and the unit identifier exists to route the request onward to a device behind a gateway; on Modbus RTU every frame opens with the slave address. The unit identifier and the slave address serve the same practical role: they identify the target.
So the same register number read on controller A and on controller B is two different storage locations, the way drawer 3 of two different cabinets holds two different things. No single request ever names both controllers at once, which is why a repeated range never meets itself on the wire.
Give each controller its own connection #
For Modbus TCP, configure a distinct IP address on each controller - for example 192.168.1.60 for controller A and 192.168.1.61 for controller B - and define two device connections in the HMI, one per address. With no gateway in the path, the IP address alone selects the controller; keep the unit identifier at the value your driver and the controller documentation agree on for direct connections. The server settings each controller needs are covered in what you must configure on the PLC side for Modbus TCP.
For Modbus RTU, put both controllers on one two-wire bus with distinct slave addresses - for example 1 for controller A and 2 for controller B - with the HMI as the only master and both controllers answering as slaves. The HMI then runs two device connections through one serial port, split by slave address. The LOGO! side of that bus is wired and set up as described in connecting Modbus RTU devices to a LOGO! 8 controller.
Pick the physical layer from the interfaces your installed controllers actually carry; TCP and RTU are not interchangeable settings on one port.
Splitting 10 analog outputs 8 and 2 across two LOGO! controllers #
The inputs, with where each comes from:
- 10 analog output channels required - your project's I/O list, the case you brought.
- AQ 1 to 8 map to holding registers 513 to 520, read/write, one 16-bit word each - the LOGO!Soft Comfort online help, Modbus address space.
- Controller A carries 8 channels and controller B the remaining 2 - your allocation, matching the analog-output hardware you install on each unit.
The rule in words: on every controller the register for an analog output is 513 plus the AQ number minus 1, and an HMI tag is identified by its connection together with its register, never by the register alone.
The arithmetic:
- Controller A: AQ1 sits at 513 + (1 - 1) = 513 and AQ8 at 513 + (8 - 1) = 520, so all 8 registers are used.
- Controller B: channels remaining = 10 - 8 = 2, so AQ1 sits at 513 and AQ2 at 513 + (2 - 1) = 514; registers 515 to 520 exist on controller B and simply stay unused.
The result, as the ten tags in the HMI:
| HMI tag | Connection | AQ on that controller | Holding register | Access |
|---|---|---|---|---|
| AO_01 to AO_08 | Controller A | AQ1 to AQ8 | 513 to 520 | read/write, one word |
| AO_09, AO_10 | Controller B | AQ1, AQ2 | 513, 514 | read/write, one word |
The decision: above 8 analog outputs, one LOGO! cannot expose the job over Modbus and a second controller is mandatory; 9 to 16 outputs fit on two controllers, each repeating the same range under its own connection. Your case is 10, so build it exactly as tabulated - and do not shift controller B's tags up by 8 to make them look unique. The connection already makes them unique; an added offset just moves every read one register off the data.
Bind every tag to a connection and a register #
An HMI tag is bound by four things together: the device connection, the register class (holding registers for this map), the register number, and the data type - a 16-bit word with read/write access. Two tags with the same register number on different connections are as distinct as two tags with different numbers on one connection.
The classic failure is copying controller A's tag group to create controller B's: the copies keep controller A's connection, so ten nicely named tags all read the same controller, usually discovered when two screens show values that move together. Edit the connection on every copied tag, then audit the finished database connection by connection: 8 tags on A's connection, 2 on B's.
Keep one writer per output #
The AQ registers are read/write, so the HMI can write an analog output directly - but only if nothing else writes it. If the controller program sets the AQ every cycle, an HMI write survives at most one scan before the program overwrites it and the screen value snaps back. Decide per output who owns the channel.
Where the program owns it, have the HMI write a setpoint into the VW area instead - those words sit on holding registers 1 to 425 - and let the program apply range limits, mode checks and interlocks before moving the value to the AQ; the AQ readback then shows what was actually applied. Also decide what each channel does when the HMI connection dies: a channel that holds its last HMI-written value after a pulled cable is not acceptable on a running machine, so put the fallback in the program, not in the driver.
Watch the register class and the numbering convention #
Two conventions bite here. First, class: the AQs live in holding registers, read with function 03 and written with function 06 or 16, so a driver block configured for input registers (function 04) returns an exception or nonsense, never your output value. Second, numbering: Modbus frames carry zero-based register numbers while many manuals and the 4xxxx notation count from one, so a driver can sit one register away from the data you meant even when communication is clean - the same one-register shift behind why Modbus discrete inputs are off by one at the PLC.
Set one output to a known level at the controller and read the candidate addresses on each connection; whichever returns that level is your convention. Fix it once at the driver level, never by adding offsets to individual tags.
Checks before you trust the screen #
- Connect the HMI to controller A alone: one read succeeds, and the values change when you force the outputs at the controller.
- Connect to controller B alone: the transaction succeeds without touching A's connection.
- Set the two controllers' AQ1 to clearly different levels: AO_01 and AO_09 must track their own controllers, never each other.
- Write each channel from the HMI and watch the physical output; where the program owns the channel, write the VW setpoint and confirm the AQ readback follows it.
- Audit the tag database: every tag's connection names the controller that physically owns its channel.
Questions asked
Can both controllers share one IP address and differ only by the unit identifier?
No. A Modbus TCP request is routed by IP address and port, 502 unless the server is set otherwise; the unit identifier only matters when a gateway or proxy forwards to devices behind it. Two LOGO! controllers on one network each need their own IP address, and the HMI opens one connection per address. Adding a gateway purely to reuse one address buys nothing and adds a failure point.
Do the two LOGO! controllers need to exchange data with each other?
No. The HMI polls each controller independently and nothing has to pass between them, so there is no controller-to-controller link to troubleshoot. Add that link only when an output on one unit must interlock with logic in the other, for example a permit that blocks both machines unless both controllers agree. Then define the link, its timeout and the fallback state of every affected output as part of the controls design.
My driver asks for a register offset, not a register number. What do I enter for AQ1?
Two candidates differ by one. If your driver displays one-based holding-register numbers, enter 513 for AQ1. If it wants the raw zero-based value that goes into the Modbus frame, and the manual's 513 is a one-based register number, the offset is 513 minus 1, which is 512. Do not guess: force the output to a known level at the controller and read both candidates; whichever returns that level is your convention, and it then applies to every tag on that connection.
How far can this pattern scale?
Each controller you add contributes 8 analog outputs and one HMI connection, so distinct tags scale as connections times 8, not as the width of the address range. Three controllers give 24 outputs over 3 connections; four give 32 over 4. Past a handful of units, weigh the wiring and program maintenance of many small controllers against one PLC with more analog capacity: the repeated range is never the limit, the maintenance load is.


