Micro 850 to Inductive Automation Ignition via Modbus TCP

The problem is that the Micro 800 tags are mapped to Modbus "Output Coil" addresses that begin with the prefix digit "0", rather than Modbus "Holding Registers" that begin with the prefix digit "4".

The test driver (and presumably any other HMI drivers) is configured to use Modbus Function Code 0x03, which is "Read Holding Registers".

The Micro 800 doesn't have any Holding Registers defined, so it replies with a "invalid address" error code.

First, try using Modbus Function Code 0x01 in the Simply Modbus test tool, which will read Coil type data.

Then either configure your HMI to to read "Coil" addresses, or configure the Micro 800 to use "Holding Register" addresses.

EDITS:

Yes, I meant Modbus/TCP on Port 502, not 503.

I wrote my post before seeing the error code when attempting to read Coils, and will take a look at that next.
 
Last edited:
Simply Modbus is a runner-up in bad interface design to RealTerm.

"First Coil" =1 and "minus offset" = 1 results in an actual Coil offset value of zero.

00 2E 00 00 00 06 01 01 00 00 00 06

I believe that the CCW software identifies the first Coil, with offset = 0, as "000001", so that ought to work.

Have you tried a single frame that will read all twelve of the defined Coils, instead of just six of them ?

The Micro 800 really is rejecting this request from the Modbus TCP client, I just can't figure out why.
 
I respectfully submit that nothing is as simple as Modbus, and that simple solutions should be tried before complex ones.

It's fine that you're enthusiastic about MQTT and edges and gateways and Internets made up of Things. But this is a Modbus addressing mistake.
 

Similar Topics

I am trying to read and write data from Control Logix L23E and a Micro 850. My path in the message is 2, 192.168.2.183 192.168.2.183 is the ip...
Replies
2
Views
697
Hello. I have an issue with a Micro 850 PLC. Issue is when it is in RUN mode, and an output is energized, the whole PLC just turns off, then turns...
Replies
3
Views
821
Hello. I have an issue with a Micro 850 PLC. Issue is when it is in RUN mode, and an output is energized, the whole PLC just turns off, then turns...
Replies
1
Views
549
I am using a Micro 850E PLC (the new one with implicit messaging capability) to drive a Kinetix 5100 servo drive. The error code number on the...
Replies
7
Views
1,693
Hello, and thanks in advance I am working on a project with two micro 850 controllers and want to send bool bit from one to the other. I am in...
Replies
6
Views
1,120
Back
Top Bottom