Andreschrosa Posted November 24, 2008 Share Posted November 24, 2008 :rolleyes:I've come to a point in my system development where I must implement the following: user specifies IP adresses where various equipments are communicating via modbus RTU. When I run the sequence to scan the network, parsing the user provided IP list, I noticed it does gets the equipments from the first IP adress, however it duplicates then on the next loop, meaning it dosent change the device IP adress on the fly fast enougth to get a response to Read Slave ID (modbus function 17). This might be solved by a delay inserted in the loop sequence, however a new doubt arised from this: will I be able to log channels from diferent IP adress in the logging set? My understanding is that this cannot be done, and if I where to implement this via sequence, probably it would not work properly, as the modbus communication fails until the connection is timed. So constantly switching device IP adress for logging is not an option as far as I understand. What would be a better solution to implementing this kind of network monitoring, I'm thinking about opening new DAQFactory instances for each IP adress givem by the user, this way every subnetwork can be monitored and stored via the logging sets. However in this approach, how could I have then started with their right IP adress (coming from the initial program stance which will map the network)? Can some parameter be passed on initialization for this to be done? Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.