(0)| 4/18/2023 11:02 AM | |
|
Posts: 24 Rating:
|
Hi All, I am using S71200 CPU to use the controller for MODBUS TCP-IP communication application where client will be communicating with the controller with Modbus TCP/IP. Software using TIA-v18, CPU: S7-1212C, IP Address (CPU): 10.175.178.233 ; IP Address (MB_Client): 10.175.178.47 ; Subnet: 255.255.255.0 ; Port: 502 Initailly whicle development I used and tested the program with IP address staring from 192.168.1.*** series it worked fine, when I am in customer site customer requested in change in IP address series as mentioned above, hence I only chnaged the IP address within the Datablock and tried to check but I am unable to establish communication within CPU and the modbus simulator software as well. my main objective is to Write to the modbus registers. hence i have used only one MB_Client block with MB_mode =1. And even customer are unable to see on there end. I am confused the program is same with only the IP address differs, but now nothing is working even I cant able establish comms with 192. series. can anyone help me with this issue please. Regards AttachmentModbus TCPIP Issue.docx (735 Downloads) |
Last edited by: Santosh1989 at: 04/18/2023 11:12:11 |
|
| 4/19/2023 7:44 AM | |
|
Posts: 24 Rating:
|
Hi, Updates about the issue. The subnet mask which customer is using in there plant network will be 255.255.255.0, hence I need to be in the same subnet as well. And they have a gateway address of 10.175.178.1, which I have assigned in the program as well (in Default router access). So PLC have IP Address of 10.175.178.233 ; Subnet: 255.255.255.0 ; Default Router (gateway): 10.175.178.1 ; Modbus TCP/IP (MB_Client) : 10.175.178.46 Strange thing is currently i came back from site and tested with the other controller which I have with me now, I can see program is working and I can see the data transfer via 'Modbus Slave' software. I have sent the same program to my Engineer who is in site who have the same TIA v18 and Modbus slave software installed in his laptop and able to load the program backup to the controller successfully which is in site, but I cant prove its working via 'Modbus slave' software and neither the customer is able to pick up the controller via Modbus TCP/IP on there end. Dont know where is the problem, I completely reset the controller and loaded the backup but still no luck. Can anyone explain how to overcome this issue please.? It is really strange on this issue. Regards, AttachmentSite testing Doc.docx (806 Downloads) |
Last edited by: Santosh1989 at: 04/19/2023 11:43:41 |
|
| 12/26/2025 1:04 PM | |
|
Joined: 12/26/2024 Last visit: 12/26/2025 Posts: 1 Rating:
|
hi, i am also facing the same issue, have you solved the issue??? |
Follow us on