Troubleshooting Modbus TCP Data Retrieval from INIM Fire Alarm via TIA Portal

Question:

Hello, I am trying to retrieve data from an INIM compact fire alarm device connected to an S7-1200 TIA portal V16 using Modbus TCP/IP port. I have utilized the Modbus client function, and the status indicates 7006, indicating that data should be received. However, I am not receiving any data. Interestingly, when I used "Modbus Poll" software, I was able to successfully retrieve data from the device. Can anyone provide assistance in resolving this issue?

Top Replies

I have uploaded the INIM Fire alarm user manual which includes information about Modbus. The PLC programming primarily focuses on the Modbus client function for communication with the Fire Alarm system. I have modified the "REQ" input to include both "Done" and "Error". In the online program screenshots, the function status displays as "7006" with "BUSY" being ON. In the "modbus4" screenshot, "Done" is not activated, indicating that the data reception is incomplete. Thank you for your attention to these details.

When using "Modbus over TCP/IP," it's important to note that it could refer to Modbus RTU encapsulated in a TCP/IP frame, rather than just Modbus/TCP. This distinction is especially relevant if the device also supports Modbus RTU. To ensure successful communication, configuring Modbus Poll correctly is crucial. When setting up Modbus Poll, did you choose "Modbus TCP/IP" or "Modbus RTU/ASCII Over TCP/IP" for the Connection type? Additionally, what Slave ID did you specify when conducting the Modbus Poll? These details are essential for optimizing communication protocols and ensuring proper data exchange.

I have utilized "Modbus TCP" within the "Modbus Poll" software with a Slave ID of 1. The "No connection" issue is likely due to a disconnection from the device. How do I set up the block and data block in TIA Portal to receive data if the device is sending data via "Modbus RTU Over TCP/IP"?

What are the results of connecting to a device using Modbus Poll and the settings you've specified? What information is displayed in the Communication Traffic window (located under Display->Communication...)? Discover the data and insights generated through this connection.

Verify the connectivity using a test client, for example.

It sounds like you're on the right track, especially since Modbus Poll is working for you, which suggests the connection itself is fine. A few things to check in your TIA Portal setup might include making sure your Modbus client settings match those used in Modbus Poll (like function codes, data types, or register addresses), and double-check any network parameters like IP addresses and port numbers. Additionally, ensure that the S7-1200 has the proper permissions or configurations to access the Modbus data. Sometimes even minor discrepancies can cause these issues, so it's worth double-checking everything!

It sounds like you're on the right track, especially since you can retrieve data using Modbus Poll. Since you're using the Modbus client function in TIA Portal and seeing status code 7006, I suggest double-checking your Modbus configuration in TIA Portal, including the IP address, port settings, and any timeouts that might be affecting the communication. Also, verify that the data addresses and functions match what you set in Modbus Poll. Sometimes, small differences in how data is structured can lead to no data being received. If everything looks good there, it might be worth inspecting the firewall settings or any network issues that could be blocking communication. Good luck!

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. Why am I not receiving data from my INIM fire alarm device when using Modbus TCP/IP port in TIA Portal? - Answer: The issue could be related to the configuration settings in the TIA Portal or the Modbus client function. Double-check the settings such as device address, register mapping, and communication parameters to ensure they are correctly set up.

FAQ: 2. What does the status code 7006 indicate when using Modbus client function in TIA Portal?

Answer: - Answer: A status code of 7006 typically indicates that data should be received. If you are seeing this status but not receiving any data, there may be a communication issue or a misconfiguration that needs to be addressed.

FAQ: 3. How can I troubleshoot data retrieval issues with INIM fire alarm device and TIA Portal using Modbus TCP/IP?

Answer: - Answer: Ensure that the network connection is stable and that the device address, data mapping, and communication settings are correctly configured in both the INIM fire alarm device and the TIA Portal. You may also consider checking for any firewall or security settings that could be blocking the communication.

FAQ: 4. Why was I able to successfully retrieve data from the INIM fire alarm device using "Modbus Poll" software but not with TIA Portal?

Answer: - Answer: This discrepancy could be due to differences in the way the software applications handle the Modbus communication or how the data is being requested.

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  â†’