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

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.