Jump to content

Modbus Configuration - Indirect Slave ID Declaration


Javier Camusso

Recommended Posts

Hi everyone.

I tried to use a MODBUS configuration using an indirect declaration of SLAVE ID, but didn't work. (see example in index 2 and 3 below)

Example.jpg

If I declare the SLAVE ID in a direct way, all OK.

My problem is that I have to read several slaves from the PLC, and is realy hard to do with a fixed Modbus configuration.

I am using a V130 in revision 9.6.0.

 

Thanks in advance.
Regards, Javier.

P.D.: Sorry if I posted this twice. I couldn't find the first post.

Hw.jpg

Link to comment
Share on other sites

  • 2 weeks later...

Yes, I did that manually, using a pulse in parallel with power-up bit that I set in run time.

I realized another thing during this: The IP and port setings in Modbus configuration have no effect! The communication uses the socket settings, regardless of Modbus configuration. The only one parameter that uses from configuration is the ID.

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