Im using the „modbus TCP 10“ librarie and 2021.9 software. It works on all modbus modules I got exept from one.
Im trying the comunication with a program called "modpoll" and I can use the standard settings for the communication. On the last one I have to use the -0 option. In the help meny the explanation is: "First reference is 0 (PDU addressing) instead 1".
I cant find any parameter to the FB for this option. How can I overcome this problem?
If i could show you some pictures of my problem it would be easy to see what Im struggling with. Maybe you can send me your email and I can reply with pictures?
PLCnext 1152 controller and PLCnext E 2021.9 with "modbus TCP 10" librarie:
FB: "MB_TCP_Client" return this errors after 60 second: 16#C050 and 16#C101
FB: "MB_TCP_FC3" return error: 16#C010 (Thats not a suprice!)
The "Modpoll" software is a commandline software Im using for testing connection and find the correct options for the communication. Im running this software on my PC when Im in the same network as my PLCnext. Its here I have to use the option -0 to get data from the modbus at register 1 - 10. On other modbus device I can communicate with and without the -0 option. When Im not using the -0 i got this answer: Replay time-out. Here is the command im using: modpoll -m tcp -0 -r 1 -c 10 192.168.1.1. Port is default 502, slave adress is default 1. The modbus device is a Teltonika RUT950 4G mobile router. Link to the manufacture is: https://wiki.teltonika-networks.com/view/RUT950 and here is the link to the modbus manual for the router: https://wiki.teltonika-networks.com/view/RUT950_Modbus
The decription for this operand "-0" is: "First reference is 0 (PDU addressing) instead 1".
I will upgrade to version 11 and test it. Maybe ist solved there og maybe its a problem with the server. I will update when its tested.