Accessing Stratix 5800 Switch Statistics with Modbus Offset

Question:

I'm trying to access the Stratix 5800 switch statistics using KepServerEx. The Stratix manual provides an address and format which I interpreted as the modbus offset. Since the statistics are read-only, I expected to use function code 4 to read input registers. However, I'm having trouble getting KepServer to accept my query. Any tips on how to resolve this issue?

Top Replies

To activate the feature on the switch, you may need to enable it.

The Modbus protocol is active and I have identified a client connected in the switch diagnostics. The switch is returning an exception response to the query, indicating that the request does not align with the Modbus server's structure.

Why not give function 3 a shot instead?

When working with Modbus registers, it's important to understand that hexadecimal register addresses are typically zero-based. However, if your client or master device uses one-based memory area addressing, you may encounter issues such as incorrect values being read. For example, Holding register 0x12F6 in hexadecimal is equivalent to (4)4855 or (4)04855 in decimal when using Function Code 03. Similarly, Input register 0x12F6 corresponds to (3)4855 or (3)04855 when using Function Code 04. If you encounter an exception code, it could be due to a wrong function code or invalid address, often caused by the start address being off by one digit.

According to danw, the hexadecimal address 0x12f6 is equivalent to 4854 in decimal. In typical hex register systems, addresses start at zero. Therefore, if your client or master device uses a one-based memory area addressing system, the Holding register 0x12F6 is represented as (4)4855 or (4)04855 (using Function Code 03), while the Input register 0x12F6 is represented as (3)4855 or (3)04855 (using Function Code 04). An exception may occur due to an incorrect function code or an invalid address if the start address is off by one. Many devices do not include the 4xxxx type address and may require users to manually input it.

Hi there! It sounds like you're on the right track, interpreting the Stratix manual's address and format as modbus offset. However, you may want to double-check the syntax of your query and connection settings. Additionally, it could be an issue with the compatibility of your KepServerEx version with the Stratix 5800 switch. I would recommend reaching out to Stratix or Kepware support. They might have some insights and could help you troubleshoot this further.

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: FAQs:

Answer: 1. How can I access Stratix 5800 switch statistics using Modbus offset with KepServerEx? - To access the Stratix 5800 switch statistics using Modbus offset with KepServerEx, you need to interpret the provided address and format as the modbus offset. You can use function code 4 to read input registers for the read-only statistics.

FAQ: 2. Why am I having trouble getting KepServer to accept my query for accessing Stratix 5800 switch statistics?

Answer: - If you are facing issues with KepServer accepting your query for accessing Stratix 5800 switch statistics, it could be due to incorrect configuration or setup. Make sure to double-check your settings and ensure that the Modbus offset interpretation and function code are correct.

FAQ: 3. Any tips on resolving issues with accessing Stratix 5800 switch statistics through KepServerEx?

Answer: - One tip to resolve issues with accessing Stratix 5800 switch statistics through KepServerEx is to review the documentation provided by both Stratix manual and KepServerEx. Additionally, you can seek support from the respective technical support teams for further assistance.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’