Troubleshooting
Why Ignition Modbus TCP tags read a Click PLC wrong
Short answer
Ignition rejects the Click DF addresses because the 4- holding-register prefix is parsed as part of the register number; strip it and the tags create. Set the device to zero-based addressing under Show advanced properties when the values land one register off. DF floats occupy two registers each, so the map steps by 2; change word order only if floats stay wrong.
On this page
- The fault is in the address string, not the Click
- What the leading digit selects
- Remove the area prefix
- Fix the off-by-one with zero-based addressing
- Change word order only if floats stay wrong
- Converting the DF1 to DF100 map into Ignition addresses
- Clean up the tags the wrong setup created
- Prove the fix end to end
- Questions asked
Ignition rejects the Click DF addresses with a "value too high" error because the 4- in front of each number is a data-area prefix, and the driver reads it as part of the register number. Delete the prefix and the tags create. When they then show the wrong values, the map's numbering base differs from the driver's by one register: set the device's One/Zero-based address setting to zero-based under Show advanced properties. That two-step fix cleared it on Ignition 8.1.7 with DF1 to DF100, where each DF float occupies two holding registers and the address steps by 2 all the way.
The fault is in the address string, not the Click #
The error is raised by Ignition's address parser before any request leaves the gateway. Rewriting the PLC program, swapping the cable or changing the Click's IP address does nothing here. Ignition's user manual sets the Modbus address range at 0 to 65,535, and a map row entered with its area prefix parses as one huge register number that fails that check.
The controller never sees any of this. It keeps scanning and serving registers while you work in the gateway, and a connection that genuinely needs controller-side work is a different job: what you must configure on the PLC side for Modbus TCP is its own checklist, not this fault.
What the leading digit selects #
| Leading digit | Modbus area |
|---|---|
| 0 | Coils |
| 1 | Discrete inputs |
| 3 | Input registers |
| 4 | Holding registers |
The digit 2 is not used. The convention dates back to the Modicon systems that originated the protocol, and it exists so a single number can name both the area and the register. The wire never carries the digit: the function code selects the area, and the address field carries only the register offset. The Click's DF registers are holding registers, so their map rows carry the 4, and the digits after it are the register number you type.
Remove the area prefix #
- Open the address entry that failed.
- Delete the leading 4 and any hyphen, keeping the register number that follows.
- Save. The range error clears and all 100 tags create.
- Keep going: creation succeeds with the numbering base still wrong, so wrong values at this point are expected, not a new fault.
Fix the off-by-one with zero-based addressing #
With the prefix gone, the tags created but read their neighbors: halves of two different floats, or a value that tracks some other variable. That is a one-register shift. Ignition's notation counts from 1, so a typed address of 1 is register 0 on the wire, and some maps count from 0; when the two disagree, every tag lands one register off.
- In the gateway, open Configuration, then Device Connections, then edit the Click device.
- Tick "Show advanced properties"; the option is hidden until you do.
- Set the One/Zero-based address setting to the zero-based end.
- Save, let the tags re-read, and confirm against a DF register holding a known constant.
On this Click map with Ignition 8.1.7, zero-based was the match.
Change word order only if floats stay wrong #
A DF is a 32-bit float spanning two 16-bit registers, and devices disagree on which word is sent first. A wrong word order produces plausible-looking but incorrect floats, often absurdly large or small. Change the Word Order setting and retest, working through the combinations of address base and word order one setting per save. The proof is a known constant in DF1 matched exactly, plus a second constant in a different DF register matched too: one register can coincide, two will not. The same two-register layout is what makes reading a Click PLC float over Modbus TCP in an HMI its own careful exercise.
Converting the DF1 to DF100 map into Ignition addresses #
Inputs:
- Map row for the first DF: 400059 in this example, the six-digit holding-register style the manuals print. Your map prints your own row and the arithmetic is identical. This row is illustrative, not a Click constant.
- 100 DF tags, each a 32-bit float in two consecutive holding registers, with the address stepping by 2 from DF1 to DF100.
- Ignition counts typed addresses from 1, so typed 1 is wire register 0.
- Valid register numbers run 0 to 65,535.
The rule in words: strip the area digit to get the typed register number, subtract one for the wire offset while the driver is one-based, and lay out two registers per tag.
Written out:
- Strip the 4 and the padding zeros: 400059 becomes 00059, then 59 typed, one-based.
- Wire offset: 59 - 1 = 58.
- Last tag: DF100 sits 2 x (100 - 1) = 198 registers above DF1, so its typed address is 59 + 198 = 257, occupying 257 and 258.
- Range check: 258 is below 65,535, so the whole block fits one request with room to spare.
- With zero-based addressing on, the match for this map, the entries shift down one: DF1 at 58, DF100's first register at 257 - 1 = 256.
Decision: enter DF1 as 59 one-based or 58 zero-based, DF100 lands at 257 or 256, and the 200-register block is one clean request. A "value too high" error after this means a digit is still in the string; a number above 65,535 cannot be entered at all.
Clean up the tags the wrong setup created #
The 100 tags created with the wrong base do not require the device to be deleted. Correct the device-level setting and they re-read; delete surplus tags in the tag browser; a tag whose data type was entered wrong still needs its type edited individually.
Prove the fix end to end #
- Tag quality Good on the first and last tags, DF1 and DF100.
- Compare at least three DF values against the Click's own data view.
- Change one value in the PLC and watch Ignition follow within the poll rate.
- Write a test value from Ignition to a spare DF register and read it back in the PLC. Spare register only: a Modbus write changes live controller data, and safe Modbus writes to PLC output registers from SCADA follow a stricter discipline than a spare data register needs.
- A read that faults with exception 02 is crossing unmapped registers, which is Modbus exception 02 when a read crosses a register map gap rather than a notation fault, and the Span Gaps setting on the device is the first place to look.
Questions asked
Do I need to delete and recreate the Modbus device to change the addressing?
No. The One/Zero-based address setting and Word Order live on the existing device connection once you tick Show advanced properties. Save the change and the tags already pointed at the device re-read with it, because the setting is device-wide: all 100 DF tags follow one toggle. Only a tag whose data type was entered wrong needs an individual edit.
What is the highest register number Ignition will accept?
65,535. The Modbus register field is 16 bits wide, which caps the offset at 65,535, and Ignition's user manual gives 0 to 65,535 as the valid address range. Any six-digit holding-register number such as 400059 sits above it, which is why the area digit has to come out before the address can parse.
Can all 100 DF tags go into one read request?
Yes. One hundred DF floats occupy 200 consecutive registers, so a single request covers the block as long as its last register stays at or below 65,535. If a request between two mapped areas faults with exception 02, it is crossing unmapped registers, which is a gap problem with its own fixes, not a notation problem.
Does any of this change on newer Ignition versions?
The notation rules do not. From 8.1.42, the Modbus Address Map, reached from the More menu and then Addresses on the device, validates every range against 0 to 65,535 and throws an error when a start or end value is out of range, so an unstripped 4xxxxx entry is rejected there with a plain range message instead of a mystery.
What if every base and word-order combination still reads wrong?
Then the fault is outside notation. Point an independent Modbus client at the same registers to separate the driver from the device, and if the values are still wrong there, take the case to the vendor's support with the exact Click model, its firmware version, and the register map from the manual ready to hand.