Modbus TCP diagnostics

manin

Member
Join Date
Jan 2015
Location
Athens
Posts
37
Hello, I am building an application that communicates with plc through modbus tcp.
I can read registers and coils, with all commands (1-4).
My problem is that I have not found a way to get diagnostics messages from plc. Modbus_TCP_Standard refairs in fc 08 command..

My questions are,
1. DOes this commands works really under modbus tcp? Ι read modbus rtu and says that diagnositcs do not work at modbus tcp
2. HAve you any idea, what command should I send to get communication messages ?

Best regards
 
Standard says fc8 is for diagnostics in vendor specific devices. Does your PLC support this function? Usually no, at least I haven't seen one.
So then you have to program some diagnostics and send the status data in the registers that you can access.
 

Similar Topics

Hello gentlemen, Im working on a small project on TIA Portal, about establishing a Modbus TCP connection between my ET200SP plc and a socomec...
Replies
11
Views
247
If a device has Modbus RTU over serial and Modbus RTO over TCP and Modbus TCP then there is a difference between Modbus RTU over TCP vs Modbus TCP...
Replies
7
Views
443
Hi There. I have PC to get few tags from PLC into C# windows forms application. What is the best and fastest way? I could not find Omron in...
Replies
3
Views
236
I contacted Hach and bought a kit they recommended for a customer to add Modbus TCP capability to his Chlorine Analyzer with a SC4500 controller...
Replies
8
Views
216
I’m trying to read values from a device that can either send registers as 32 bit or a pair of 16 bit but if I understand right, the micro can only...
Replies
26
Views
796
Back
Top Bottom