12/5/2019 12:04 PM | |
Joined: 4/28/2015 Last visit: 3/22/2023 Posts: 52 Rating:
|
Hi, first of all thank you for your disponibility, I did some test with another 1512SP-F, only for the test, see the attach, now the multimeter respond but the values in the registers doesn't right, they are all the same. The MB_CLIENT function doesn't returns error, but only 16#7004, 16#7005, 16#7006. The parameters for the communications are: IP 192.168.0.30 Port 502 ID 9 The program is that you see in the pdf file, there is nothing more. Attachmentprint screen.pdf (159 Downloads) |
12/5/2019 1:04 PM | |
Joined: 4/28/2015 Last visit: 3/22/2023 Posts: 52 Rating:
|
I think I have correctly addressed the ID of the partner, see the attach.
Attachmentprint screen 2.pdf (110 Downloads) |
12/5/2019 2:28 PM | |
Joined: 4/28/2015 Last visit: 3/22/2023 Posts: 52 Rating:
|
You're right, in my s71200 program I wrote the ID modbus in the variable that is indicated in the attach. I can't attach the online print screen, because now I'm not at the plant. Attachmentprint screen 3.pdf (96 Downloads) |
12/5/2019 2:33 PM | |
Posts: 1283 Rating:
|
Exactly that's where you set ID 9 and you will receive response from the slave. |
This contribution was helpful to
2 thankful Users |
Follow us on