Data Transfer Optimization

This section describes the data transfer optimization implemented for the Modbus scan task. Optimization is the means by which the scan task seeks to minimize the load on the communication channel by making scan device requests more efficiently.

The aim of optimization is to include as many scan input records in a single request as possible, thus reducing the communication overhead.

Writes are not optimized since writes to a scan device typically occur much less frequently than polls or reads.

Follow these guidelines, whenever possible, to minimize communication overhead:

[note] Digital inputs (ie. read coils and read statuses) will be optimized to be read in a single request if the digital is within the current byte or within the next byte in the response.

The scan task will break a group of scan input records if one of the following conditions exists: