Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ristabr

Pages: [1]
1
Support Questions / Re: Poll multiple stations from one COM port
« on: June 26, 2016, 05:06:25 AM »
Thank you for help.

I use version 399k of AHMI and Visual Studio 2013.
When I put two instances of ModbusRTUCom driver and set same port number, speed but next station number, polling is not continuous like before.
I read on this post that Mr. Shriram Pendse done same thing with one port instance.
      http://www.plctalk.net/qanda/showpost.php?p=605398&postcount=4

Thanks one more time for helping me.

2
Support Questions / Poll multiple stations from one COM port
« on: June 25, 2016, 02:53:31 PM »
Hello,

this is my first post.
I started with one project where I have to read 50 custom modbus slave devices, each having numbers from 1 to 50. I need only one register value from device (40001). Devices are connected over RS485 network, speed is 9600. I must poll all devices in 1-2 seconds time.
I try with multiple com port driver instances with same com port number but different station numbers and failed.
I think normally this should be done with one driver but how to change station number after each poll?

Can someone please give me advice or sample code how to do that?
Thank you.

Ivan Ristic.

Pages: [1]