viknik61 Posted January 6, 2015 Report Share Posted January 6, 2015 Hi. I have problem with remote slave ID when Modbus TCP configured as master. When I added remote slave in properties window Slave ID all time become equal 255 . What is wrong? Thanks a lot. Quote Link to comment Share on other sites More sharing options...
s.pratt Posted January 6, 2015 Report Share Posted January 6, 2015 Hello, When using the Ethernet protocol Modbus TCP, slave ID's are not used. This is why they are automatically assigned to 255 and grayed out. They are only for the serial protocol Modbus RTU. If your slave device requires a slave ID when connecting over Modbus TCP, it must have an internal Modbus TCP to Modbus RTU converter. Therefore, you would need to use the "Modbus Advanced" features of UniLogic to assign the correct slave ID. Please email into support@unitronics.com for more information on how to use this feature, and we can also provide sample code with this feature for your to review. Hope this helps. Quote Link to comment Share on other sites More sharing options...
viknik61 Posted January 7, 2015 Author Report Share Posted January 7, 2015 Hi. Thank for answer. I suggested about that but was a little confused when I found in UniStream_070_Modbus_TCP_Master.ulpr example slave ID =1 . Best regards. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.