{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
What is the meaning to the diagnostic words read through modbus/TCP using the modbus Function code 03?
Inside documentations Quantum EIO Control Network Installation and Configuration Guide, Quantum EIO Distributed IO Network Installation and Configuration Guide and Quantum EIO Remote IO Modules Installation and Configuration Guide, and for the the following modules
Quantum remote I/O head module (140 CRP 312 00)
Quantum distributed I/O head module (140 NOC 780 00)
Quantum control head module (140 NOC 781 00)
Quantum remote I/O adapter module (140 CRA 312 00)
M340 remote I/O adapter module (BMX CRA 312 00)
via the Modbus function code 3 it is possible to access to a variety of diagnostic functions, including basic network diagnostics, Ethernet port diagnostics, and Modbus port 502 diagnostics.

Unfortunately the meaning to some words value are not explained, below is provided the meaning to words when this is necessary.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Basic Network Diagnostic

40001 - 40002 Basic Network Diagnostic Validity
The Basic Network Diagnostic Validity bytes indicate which fields in the Basic Network
Diagnostic Data structure are valid.
Bit FieldDescription
31Field Extended (FE)0 = NOT Extended
30 - 18Reserved0
17Communication Global Status (CGS)0 = NOT Valid, 1 = Valid
16Supported Communication Services (CS)0 = NOT Valid, 1 = Valid
15Field Extended (FE)1 = Extented
14Status of Communication Services (CSS)0 = NOT Valid, 1 = Valid
13IP Address (IP)0 = NOT Valid, 1 = Valid
12Subnet Mask (SM)0 = NOT Valid, 1 = Valid
11Default Gateway (GIP)0 = NOT Valid, 1 = Valid
10MAC Address (MAC)0 = NOT Valid, 1 = Valid
9Ether Frame Format Capability / Configuration / Operational (EFF)0 = NOT Valid, 1 = Valid
8Ether Rcv Frames OK (ER)0 = NOT Valid, 1 = Valid
7Ether Xmit Frames OK (EX)0 = NOT Valid, 1 = Valid
6Num MB Open Client Connections (NOC)0 = NOT Valid, 1 = Valid
5Num MB Open Server Connections (NOS)0 = NOT Valid, 1 = Valid
4Num MB Error Msgs Sent (MBE)0 = NOT Valid, 1 = Valid
3Num MB Msgs Sent (MBS)0 = NOT Valid, 1 = Valid
2Num MB Msgs Rcvd (MBR)0 = NOT Valid, 1 = Valid
1Device Name (FDN)0 = NOT Valid, 1 = Valid
0IP Assignment Mode Capability / Operational (IAO)0 = NOT Valid, 1 = Valid

40003 Communication Global Status
Bit FieldDescription
15 - 2Reserved0
1 - 0Global Status (GS)Device status.
0 = Reserved, 1 = Not ok,
2 = ok, 3 = Reserved

40004 Supported communication services
Bit FieldDescription
15 - 1Reserved0
0Port502Messaging (502)0 = Not Supported, 1 = Supported

40005 Status of communication services
Bit FieldDescription
15 - 3Reserved0
2 - 0Port502Messaging (502)001 IDLE - 010 Operational

Ethernet Internal Port Diagnostic Data

40040 Port Diagnostic Data validity bytes indicate which Ethernet Internal Port Diagnostic Data values are valid. Depending to the device all these fields are present or not.
Bit FieldDescription
15Field Extended (FE)0 = NOT Extended
14,11Reserved0
10Logical/Physical Port Number (PN)0 = NOT Valid, 1 = Valid
9Ether Control Capability (ECC)0 = NOT Valid, 1 = Valid
8Link Speed Capability (LSAC)0 = NOT Valid, 1 = Valid
7Ether Control Configuration (ECG)0 = NOT Valid, 1 = Valid
6Link Speed Configuration (LSC)0 = NOT Valid, 1 = Valid
5Ether Control Operational (ECO)0 = NOT Valid, 1 = Valid
4Link Speed Operational (LSO)0 = NOT Valid, 1 = Valid
3Port MAC Address (PMA)0 = NOT Valid, 1 = Valid
2Media Counters (MC)0 = NOT Valid, 1 = Valid
1Interface Label (IL)0 = NOT Valid, 1 = Valid
0Interface Counters (IC)0 = NOT Valid, 1 = Valid

40041 Logical/Physical Port Number
Bit FieldDescription
15 - 8Logical Port NumberValues are: 0x01 to 0xFE
7 - 0Physical Port NumberValues are: 0x01 to 0xFE

40042 Ethernet control capability
Bit FieldDescription
15 - 14Reserved0
13Link0 = Not Supported; 1 = Supported
12 - 5Reserved0
4 - 3Duplex (DP)0 = None, 01 = Half-Duplex
10 = Full-Duplex, 11 = Auto-Negociate
2Reserved0
1Fiber Media Supported0 = Not Supported, 1 = Supported
0Twisted pair Supported0 = Not Supported, 1 = Supported

40043 Link Speed capability
Provides the device’s highest capable link speed in megabits per second (e.g. 10 = 10 Mbps, 54 = 54 Mbps, 100 = 100 Mbps, 1000 = 1 Gbps).

40044 Ethernet Control Configuration
Bit FieldDescription
15 - 14Reserved0
13LinkCommunication Service configuration:
0 = Link down; 1 = Link up
12 - 5Reserved0
4 - 3Duplex (DP)00 = None, 01 = Half-Duplex
10 = Full-Duplex, 11 = Auto-Negociate
2Reserved0
1Fiber Media Supported0 = Disabled; 1 = Enabled
0Twisted pair Supported0 = Disabled; 1 = Enabled

40045 Link Speed Configuration
Provides the device’s configured link speed in megabits per second (e.g. 10 = 10 Mbps, 54 = 54 Mbps, 100 = 100 Mbps, 1000 = 1 Gbps).

40046 Ethernet Control Operational
Bit FieldDescription
15 - 14Reserved0
13LinkCommunication Service Operation:
0 = Link down; 1 = Link up
12 - 5Reserved0
4 - 3Duplex (DP)00 = None, 01 = Half-Duplex
10 = Full-Duplex, 11 = Auto-Negociate
2Reserved0
1Fiber Media Supported0 = Not Operational; 1 = Operational
0Twisted pair Supported0 = Not Operational; 1 = Operational

40047 Link Speed Operational
Provides the device’s operational value of the link speed in megabits per second (e.g. 10 = 10 Mbps, 100 = 100 Mbps, 1000 = 1 Gbps).

Modbus TCP port 502 diagnostic


40555 - 40556 Modbus TCP Port 502 Diagnostic Data Validity bytes which Modbus TCP/Port 502 Diagnostic Data values are valid. Depending to the device all these fields are present or not.
Bit FieldDescription
15Field Extended (FE)0 = NOT Extended
14,13Reserved0
12Port 502 Status (502)0 = NOT Valid, 1 = Valid
11Num MB Open Connections (OC)0 = NOT Valid, 1 = Valid
10Num MB Msgs Sent (MBS)0 = NOT Valid, 1 = Valid
9Num MB Msgs Rcvd (MBR)0 = NOT Valid, 1 = Valid
8Num MB Open Client Connections (OCC)0 = NOT Valid, 1 = Valid
7Num MB Open Server Connections (OSC)0 = NOT Valid, 1 = Valid
6Max Num Connections (MNC)0 = NOT Valid, 1 = Valid
5Max Num Client Connections (MCC).0 = NOT Valid, 1 = Valid
4Max Num Server Connections (MSC)0 = NOT Valid, 1 = Valid
3Num MB Error Messages Sent (MBE)0 = NOT Valid, 1 = Valid
2Num Open Priority Connections (OPC)0 = NOT Valid, 1 = Valid
1Max Num Priority Connections (MPC)0 = NOT Valid, 1 = Valid
0Num Attempts to Open Unauthorized TCP Connections (NUT)0 = NOT Valid, 1 = Valid

40557 Port 502 Status 1 = no configuration      2 = operational and running

Schneider Electric UK

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: