Can't receive any data through modbus client

AClarke678

Member
Join Date
Nov 2017
Location
Belfast
Posts
2
Hi everyone,

I am trying to read a Modbus register in an Intelipro Unit with a S7-1200 over Modbus TCP using MB_Client. But i'm not able to receive any data through modbus client function. I am getting 16#7006 status on my modbus block stating that info is being received but the done bit is never getting activated.

I have been on with both Siemens and Comap and both companies claim I have everything set up correctly either end.

I have attached screenshots of my setup. if anyone can spot something. Any help would be greatly appreciated.
 
Remote port should be 502 and Local Port can be left as zero, unless you are doing something tricky with port mapping on a router.

If that doesn't fix it you need to be doing some diagnostics on the LAN to see if data is coming out of the PLC. Disconnect the Intelipro and set you laptop to use its IP address, then run Hyperterminal or similar connected to Port 502 so that you see the data coming out of the PLC.
 
Hi everyone,

I am trying to read a Modbus register in an Intelipro Unit with a S7-1200 over Modbus TCP using MB_Client. But i'm not able to receive any data through modbus client function. I am getting 16#7006 status on my modbus block stating that info is being received but the done bit is never getting activated.

I have been on with both Siemens and Comap and both companies claim I have everything set up correctly either end.

I have attached screenshots of my setup. if anyone can spot something. Any help would be greatly appreciated.

Personally I would prove using ModPoll or similar from a PC that the Intellipro was indeed serving data serving data before i got anywhere near a PLC
 
I have connected the Intelipro with ModScan and can read all values within the holding registers within the Intelipro.

The port is the Intelipro is port 23 which is why i have it set to that and I have also set local port to 0 and still no data.

When I disconnect the Intelipro from the PLC (unplug the cable) the status sits at 16#7002 (Immediate Call) and moves up to 16#7006 (Information being received) when I plug the Intelipro back in, so it is seeing a connection but just doesn't display values of the registers.

I have also connected my PLC with a modbus simulator within my PC and it doesn't display any of the values I have forced through the simulator.
 
Which version of MB_CLIENT are you using. I had problems with V4.0, V4.1 seemed to fix things.


I have also connected my PLC with a modbus simulator within my PC and it doesn't display any of the values I have forced through the simulator.
Does make it look like a PLC problem, though I would be happier if you used a terminal program rather than a Modbus simulator to be certain that no data is coming out of the PLC. It just removes a layer of complication. Or if the Modbus simulator has something that just tells you what data is coming in on that port. You did reset the port on the PLC to 502 or set the simulator to use 23?

Looking at your Modbus DB Setup file I can see that you have a StatusCap variable that I am assuming is a captured Status, this is showing 16#8380 and that error is "Received Modbus frame has incorrect format or too few bytes were received."

Modbus versions.JPG
 
Also you need to think about a firewall blocking port 23, it is the normal telnet port and is very likely to be blocked on your PC.
 

Similar Topics

Hi guys, I am using asc protocol to communicate to a inkjet printer and having issues receiving response from printer. It send me data but plc...
Replies
0
Views
81
so, Micrologix 1500. 1769-ASCii module. Bringing data in over the Channel 0 serial port. Setup is attached below. As is a snippet of the code...
Replies
4
Views
1,621
Hello, I dont have any experience with PLCs, but i need to write a program that sends data to a PLC (basically, sequences of INTs), a...
Replies
8
Views
4,903
Send/Receive Data(ethernet comm..) between CPU 315-2 DP & S7-1200 OVER CP 343-1 Lean I have 2 programs. In 1.(first program ) my hardware...
Replies
0
Views
2,650
Hello all, Actually I am sending a character from my DSP processor to my hmi (REDLION ) with voltage levels +5v and -5v ( I checked my voltage...
Replies
5
Views
3,427
Back
Top Bottom