change slave ID


Recommended Posts

Hello everyone,

At the moment i am working on a modbus project.
I am trying to change my slave ID but so far without any luck.
The program i use is Modbus poll but i can't seem to figure out how to change the ID.
Does anyone have any suggestions on how to change the slave ID?
The ID needs to change from 01 to 30 (1E)


Link to comment
Share on other sites

That would have to be done on the device.  The method would vary depending on the device.  More modern Ethernet devices often have a web server so you can just browse to the device.  Serial based devices often either have DIP switches, or alternatively, use a specific Modbus register to change the slave ID, however, that register # is not universal, so you'd have to read the device's documentation to determine this.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.