LF: Insert Row to DTI - Asynchronous

This function is recommended when you want to insert a row into a large Data Table. A bit parameter, Async Insert Row to DTI, pauses the program scan while the function is in progress.

When the function is in progress, and this bit is:

The function works as follows

 

Parameter Name

Purpose

A

Data Table

Select the Data Table you want to insert data into.

B

Struct: Source

 

Select the source Struct.

These values will be written to the specified DTI row.

You MUST link to a Struct that matches the Data Table row structure.

C

Row Number

Assign a Data Tag to provide the Row Number, or enter a number.

This is insertion point. All index numbers shift down from here.

D

Async Insert Row to DTI

Assign a bit tag to control the action:

0 - Pauses the program scan while the function is in progress. The scan will resume when data insertion is complete (default)

1 - Enables the program scan to continue in parallel while the function is in progress (data is being inserted) Recommended for large data tables

DTI Insert Row

Related Topics

Data Table: Indexed (DTI)

Function: Read Row from DTI to Struct

Function: Write Row to DTI

Function: Remove Row from DTI

Function: Load DTI File to PLC Data Table (SD)

Function: Store DTI to File (SD)

Function: Clear DTI