IAG - FAQ How To Tell Modbus Function Code, and IO Value From ADAM Module Using Wireshark
IAG - FAQ How To Tell Modbus Function Code, and IO Value From ADAM Module Using Wireshark
Problem Description:
This document explains how to analyze Modbus/TCPs contents of Function Code, Address
Length, Starting Address and IO Value from ADAM Module using Wireshark.
Modbus/TCP Request:
Packet ID (from_IP.port-to_IP.port): 10.60.0.134.56101-10.60.0.6.502
45 00 00 34 18 06 40 00 40 06 0D BB 0A 3C 00 86 0A 3C 00 06 DB 25 01 F6 75 F8
0D B9 BC BD D4 93 50 18 39 08 6E 8E 00 00 00 00 00 00 00 06 01 01 00 00 00 01
Modubus/TCP Response:
Packet ID (from_IP.port-to_IP.port): 10.60.0.6.502-10.60.0.134.56101
45 00 00 32 AA 6A 00 00 FF 06 FC 57 0A 3C 00 06 0A 3C 00 86 01 F6 DB 25 BC BD
D4 93 75 F8 0D C5 50 18 07 F4 9E 9A 00 00 00 00 00 00 00 04 01 01 01 01
1
Link below is an good reference site regarding modbus function code.
http://www.simplymodbus.ca/