DTL_READ comments
The DTL_READ and DTL_READ_CB functions have a limit of 40 concurrent asynchronous read/write operations.
The DTL_READ function places a copy of the data into the specified buffer. The data may be converted from the processor data type to the application data type, depending on the data item definition specified in the DTL_C_DEFINE function.
If an error occurs during the conversion process, the function will terminate. The element causing the error, as well as all subsequent elements, will not be copied to the buffer; consequently, the buffer may be only partially filled.
The final I/O completion status code (io_stat) may be any of the return values previously listed.
If you attempt to read a data item from the Input or Output section of an SLC 500, SLC 5/01, or SLC 5/02 processor data table, this function will fail and io_stat will be set to PCCCSTS10.
Provide Feedback