Skip to Content
On this page

Inovance Modbus

Reads and writes Inovance PLCs over Modbus with AM, H3U, and H5U address mappings. Select the actual series under Inovance Type; the default AM Series mapping does not replace H3U or H5U mapping.

Compatible devices and models

Device series / model examplesConnection requirements
H3USelect H3U as the Inovance type and configure the PLC interface as a Modbus RTU or Modbus TCP slave. Use the H3U address mapping.
H5USelect H5U as the Inovance type, enable the appropriate Modbus slave and use the H5U address mapping. H3U offsets are not universally interchangeable.
AM series models using the AM Modbus address mapSelect AM in Inovance Type and enable a Modbus slave service matching this plugin. Use the AM Q/I and MB/MW/MD mappings and access units; H3U/H5U offsets do not apply.

Configure the PLC as a Modbus server

This driver maps AM, H3U and H5U device addresses onto Modbus. Select the actual CPU mapping before entering points. Modbus, FINS and EasyNet are separate interfaces.

For H3U, open Project management → Communication configuration → Ethernet in the matching AutoShop project. Set a unique IP, mask, gateway and listening port; the Modbus TCP server defaults to 502. A PLC master polling table is not required for gateway access. Check whether the last IP octet comes from switches; certain all-on switch settings force 192.168.1.1.

Official H3U AutoShop Ethernet server IP and port

Download the project. Changing the H3U Modbus TCP port requires a PLC restart as specified by the manufacturer. 12939 is the engineering monitor port, not the Modbus port.

For COM1 RS485, select MODBUS-RTU slave or MODBUS-ASC slave and record baud rate, data bits, parity, stop bits and station. The official RTU example below is 9600, 8N2, station 1. RTU requires 8 data bits; the HMI protocol’s fixed 7E1 is different. COM1 protocol changes require the appropriate stopped/download procedure. Connect 485+, 485− and signal ground correctly; COM0 RS422 is a different electrical interface.

Official H3U COM1 RTU slave example

Source: H3U programming manual 19010394 A17, sections 9.2.1, 9.2.2 and 9.7.2. Search the document code under Service and Support / Downloads on the Inovance website .

For H5U, Easy320 and Easy52X, manual 19011157 A18, section 9.3.3 states that the Modbus TCP server is enabled by default on 502. Use AutoShop Tools → Communication settings → Modify IP/device name, then select the H5U mapping. Do not configure a remote slave polling table merely to let the gateway read this PLC.

Official H5U AutoShop IP, mask and gateway settings

For AM, enable the local Modbus server on the correct InoProShop network/serial interface and assign variables to actual %I/%Q/%M addresses. A symbolic name such as Temperature is not an address for this driver. AM is not a generic selection for every Inovance controller.

Gateway channel and device

Choose a TCP client channel, for example 192.168.1.21:502, or SerialPort with matching serial settings. A transparent RTU serial server still requires RTU framing. TCP server channels are for DTUs that connect into the gateway.

Inovance Modbus TCP client channel

Select Inovance Modbus and associate the channel. Complete the PLC communication settings before enabling the H3U device.

Inovance Modbus device and channel

All 19 driver parameters

ParameterMeaning and configuration
Inovance typeDefault AM; select AM/H3U/H5U from the actual CPU address table. H3U SM/TB/CW and AM MW/MD/MB have distinct mappings.
Modbus typeDefault TCP; RTU/ASCII are also available. Match MBAP, RTU CRC or ASCII/LRC framing to the endpoint, including transparent transports.
Default stationDefault 1; use 1–247 for serial slaves. TCP still sends a Unit Identifier; checking depends on the controller/bridge. An address can override it.
FC1 maximum read coilsDefault 1600, range 1–2000 bits; applies to actual FC1 requests.
FC2 maximum read discrete inputsDefault 1600, range 1–2000 bits; applies to AM I/IX or numeric FC2 points.
FC3 maximum read holding registersDefault 100, range 1–125 WORDs. An Int32 uses two WORDs.
FC4 maximum read input registersDefault 100, range 1–125 WORDs; does not change a native address’s function code.
FC15 maximum write coilsDefault 1968, range 1–1968 bits; lower for the target’s actual capacity.
FC16 maximum write registersDefault 123, range 1–123 WORDs; respect target and individual-variable limits.
DTU IDEmpty by default; identifies an incoming DTU connection in TCP server scenarios. Leave empty for direct clients/serial.
HeartbeatEmpty; only applies in TCP server default DTU mode. A value overrides channel heartbeat; empty inherits it.
Heartbeat is HexOff; UTF-8 text when off, hexadecimal bytes when on. Match the DTU’s actual payload.
Read/write timeout3000 ms; response wait. Fixed function/address errors require correcting configuration.
Pre-frame delay0 ms; added before sending, separate from the device polling interval.
Reverse string byte/wordOff; swaps character bytes within WORDs when the actual string layout requires it.
Data orderABCD by default; BADC/CDAB/DCBA available. Verify a known Int16 followed by a known Int32/REAL rather than assuming one order fits all models.
Retry count3; retries failures, without correcting invalid points.
Read/write duty ratio3, minimum 1; schedules a read after n writes, not a percentage.
Write priorityOff; enabling can cancel a read for a pending write.

Series, framing, request limits and DTU parameters

Runtime and conversion parameters

There are no additional variable plugin properties. See Collection configuration for common channel, device interval, permissions and expressions.

Variables and all address fields

Prepare D100=1234 in the PLC online monitor. Add address D100, Int16, array length 1, read-only. H3U/H5U use FC3 offset 100. An Int32/Float occupies D100 and D101; those WORDs must actually belong to the same 32-bit value.

H3U D100 Int16 variable

FieldMeaning
Device areaFiltered by series, type and access. Select the empty Modbus prefix for numeric addresses; native prefixes select manufacturer mappings.
OffsetStored as 0–65535; mapping overflow and actual PLC allocation impose narrower limits. H3U/H5U X/Y source strings use octal. Check the returned address string.
BitOptional; WORD bits 0–15, AM byte-based IX/QX/MX bits 0–7. Do not append .0 to an independent M coil.
Station overrideOptional 1–247, producing S=2; otherwise inherits the device station.
Numeric read areaNumeric addresses only: FC1/2/3/4. Native prefixes determine their own function.
Numeric write functionNumeric addresses only: FC5/6/15/16, subject to type, area and quantity. Do not attach f=/w= to native regions.
Data order overrideInherits the device unless set.
Encoding overrideActual string encoding; UTF-8 by default.
String byte lengthSet len explicitly, for example D100;len=8 uses four fixed character WORDs. Array length does not replace character capacity.
BCD override8421/5421/2421/excess-3/Gray only when the source uses that encoding.
Variable string lengthA common conversion option; does not create a LEN header in a fixed Modbus character region.

Inovance native and numeric Modbus address editor

H3U/H5U mappings

Source → gateway addressAccess
D100/R100 → D100/R100FC3 offset 100 / 0x3000+100, in 16-bit WORDs.
X10 → X10 BooleanOctal 10=decimal 8; current native mapping uses FC1 offset 0xF800+8. Y10 uses 0xFC00+8. Keep physical inputs read-only.
H3U M100/SM0/S0FC1 offsets 100/0x2400/0xE000; H5U does not share the H3U SM mapping.
H3U timer contact/value → TB0/TW0Boolean FC1 / WORD FC3 at 0xF000. Current syntax is not the old T0 example.
H3U counter contact/value → CB0/CW0Boolean FC1 / Int16 FC3 at 0xF400.
H5U B0/S0FC1 at 0x3000/0xE000.
D100 bit 3 → D100.3 BooleanReads register 100 and extracts bit 3; WORD value 8 means true.

Do not use the current native CW200+ conversion for H3U high-speed counters. The manufacturer maps C205 to 0xF700+(205−200)×2=0xF70A, which is different from current CW205. Use the numeric address editor with FC3, offset 63242, Int32, count 1, and compare actual C205. A 32-bit counter must not be half-written with FC6. Current H3U SD/SDW uses extended FC0x33, while the ordinary manufacturer SD table uses base 0x2400; verify the actual firmware before using these system regions.

AM addressing units

PLC absolute address → gatewayConversion
%QX0.3 → QX0.3 BooleanFC1 coil 3; IX0.3 uses read-only FC2. The first number is a byte; bit is 0–7.
%MW100 → MW100 UInt16FC3 register 100.
%MD100 → MD100 Int32FC3 registers 200–201; DWORD numbering multiplies by 2.
%MB100 → MB100 ByteFC3 register 50; current MB accepts even byte offsets only.
%MX101.3 → MX101.3 BooleanRegister 50, bit 11.
AM SM/SMX, SD/SDWExtended FC0x31/0x33; an ordinary FC1/3 simulator does not implement these services.

Compare actual values

Check series, returned address and length before enabling the field device.

Saved H3U D100 configuration

Software-server configuration example

Load HSL Communication13.0.3 in Windows PowerShell with the actual DLL path. The software server initializes FC3 zero-based register 100 to04 D2, or 1234, matching H3U D100. This example uses ordinary Modbus registers.

Add-Type -Path 'C:\Tools\HslCommunication\HslCommunication.dll' $server = [HslCommunication.ModBus.ModbusTcpServer]::new() $server.LocalAddress = [System.Net.IPAddress]::Loopback $prepared = $server.Write('100', [byte[]](0x04,0xD2)) if (-not $prepared.IsSuccess) { throw $prepared.Message } $server.EnableWrite = $false try { $server.ServerStart(15021) Read-Host 'Press Enter to stop' } finally { $server.ServerClose() $server.Dispose() }

Use TCP client 127.0.0.1:15021, Inovance Modbus, H3U, Modbus TCP, station 1. Add read-only D100 / Int16 / length 1. The PLC series and D100 physical mapping differ from the Delta example on the same server.

Gateway TCP client for this software-server example

This HSL 13.0.3 Modbus software server initializes 1234 at zero-based FC3 offset 100. Enable the gateway H3U device and compare the cyclic D100 value 1234 in Live Variables.

H3U D100 reads 1234 from a local software endpoint

On hardware, compare the online monitor, advancing collection timestamps and good quality. For invalid function check series/extensions; for invalid address check radix/base/allocation. If Int16 works but REAL is wrong, check the two-WORD layout and data order. A connected TCP socket alone is insufficient.