Jump to content

MODBUS Slave IP Addressing


Recommended Posts

  • 2 months later...

I'd love to see an example of this.

i've gone through the program and looked at every help file and option available for the Advanced widgets and I can't find anything or any examples of how to do this.  I've tried every option I can find and after many dozens of hours I'm still not able to figure out where/how to do this.  Anyone have any insight?

Link to comment
Share on other sites

hi dierkens and all,

take a look at the example "Load Settings From File" located in the "communications" folder of the example...you will see how to create, modify and upload the ".ini" file.

in the help book search about "Load Config - .ini from SD"

Link to comment
Share on other sites

hi Joe,

maybe I am misunderstanding the request but with the "configuration" file you can set the IP of the panel with syntax:

#[NETWORK_PANEL]IpAddres=10.1.30.22
#[NETWORK_PANEL]DefaultGateway=10.1.30.55

and set the pointed IP of the slaves with syntax

#[MODBUS_MASTER_TCP:SlaveName1]Ip=172.16.10.162

#[MODBUS_MASTER_TCP:SlaveName2]Port=502

or what i am wrong?

Link to comment
Share on other sites

  • MVP 2023
On 6/26/2024 at 3:05 PM, Flex727 said:

Are we still unable to change MODBUS Slave IP addressing from ladder in UniLogic?

I interpreted this request as asking about the Slave to the PLC addresses.  Doing it from ladder gives it more flexibility.

You are not wrong about the capability of ini file.  There's more than one way to skin a cat.

Joe T.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.