Jump to content

MODBUS IP Communications


Flex727

Recommended Posts

  • MVP 2023

When using VisiLogic, I monitor and display system operands SB 143-150 and SDW 14-21 to know that communications are proceeding as expected. Is there any equivalent in UniLogic? How can I know that MODBUS IP communications are working properly (i.e. connected and exchanging data)?

Link to comment
Share on other sites

  • MVP 2023

Thanks! Got it working well. Is there a plan to allow updating the IP address for a MODBUS IP slave PLC through ladder or operator interaction? In other words, if IT makes a change to the IP addressing, I want the customer to be able to make the update without me having to provide a program update (something easily done in VisiLogic).

Link to comment
Share on other sites

  • MVP 2023

Is there a plan to allow updating the IP address for a MODBUS IP slave PLC through ladder or operator interaction? In other words, if IT makes a change to the IP addressing, I want the customer to be able to make the update without me having to provide a program update (something easily done in VisiLogic).

 

Bumping this in the hope of getting an answer to my second question. Currently the IP address of a UniStream PLC can be changed by an operator, but if the PLC is addressing a MODBUS Slave, and the Slave's address is changed, the address the Master is using to communicate with the slave cannot be changed except by the programmer. Is there a plan to improve this?

Link to comment
Share on other sites

Currently the only way to modify the slaves IP address to use the advanced Modbus function blocks, and is not available within the basic Modbus configuration. These settings are not enabled by default but can be added by navigating to the Project menu, selecting Options, then enabling the check box for the Modbus advanced ladder functions. There is also an example project available. Please send an email to support@unitronics.com and we would be happy to send it to you.

 

This requires the ladder to manually connect using the TCP/IP connect block, and then build a struct of information for the Modbus commands. This would allow the IP address of the slave device to be dynamically changed.

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.

Guest
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.

×
×
  • Create New...