sorry, i hurried up that it works
If we create a new project and give it only the DataSubscriber2 component, one element in the items collection, no matter how much we set in NoOfElements, the query always goes for one element in the modbus frame and we get one element in the DataReturned event.
If we add any control in the project, with an address close to the previous one, so that the query is optimized, and both addresses are polled in one frame, then in DataReturned we will get as many elements as are actually set in NoOfElements, but if optimization does not occur because the addresses are too far apart, we will not get so many elements again.