Jump to content

Modbus RS485 Master w/multiple slave


Recommended Posts

  • MVP 2023

Perhaps the timeout and retries on the missing slave are upsetting whatever intervals you have set for the sequential reads from all the others.  Carefully go through the total possible timing per read and ensure that you have allowed sufficient "overlap clearance".

cheers,

Aus

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Thanks for your help, I posted my problem in the visilogic forum where I have 9 modbus rs485 slaves and with only one port I was able to convincingly connect up to 3 slaves. each slave has a timeout of 100 millisec to go to network failure. the data exchange is to force 5 coils and read 11 coils each. (in less than 100 millisec) so when I connect the 4th slave, it goes to failure for more than 100 millisec. (manufacturer's fixed value) softstart PSTX ABB.
with your answer I can think that each port works with 2-3 slaves. but there is another problem with unistream that in the configuration sheet, you can not decrease the speed of penny popping at less than 100 millisec.
I have added my code developed with visiligic. I'm still not happy with this work, I think I lack knowledge to have a fast 485 network (with 9 slaves)
I forget to say that slaves have only 19200 bps.

3 Vision 6 esclavos pstx.vlp

Link to comment
Share on other sites

  • 2 months later...
On 6/23/2018 at 9:36 PM, gongue2005 said:

Thanks for your help, I posted my problem in the visilogic forum where I have 9 modbus rs485 slaves and with only one port I was able to convincingly connect up to 3 slaves. each slave has a timeout of 100 millisec to go to network failure. the data exchange is to force 5 coils and read 11 coils each. (in less than 100 millisec) so when I connect the 4th slave, it goes to failure for more than 100 millisec. (manufacturer's fixed value) softstart PSTX ABB.
with your answer I can think that each port works with 2-3 slaves. but there is another problem with unistream that in the configuration sheet, you can not decrease the speed of penny popping at less than 100 millisec.
I have added my code developed with visiligic. I'm still not happy with this work, I think I lack knowledge to have a fast 485 network (with 9 slaves)
I forget to say that slaves have only 19200 bps.

3 Vision 6 esclavos pstx.vlp

I have a V1040 connected to 8 VFDs with 1 port. But the VFDs can handle 115200 bps.

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