LF: Copy DTI Column into Array

This Ladder function copies data from a Data Table column into an array.

The array and the column must be of identical data types.

 

Parameter Name

Purpose

A

Data Table: Source

Select the Data Table to copy.

B

Column: Source

Select the column to copy.

C

Start Row Number (offset): Source

The function copies the values in the source column beginning from this row.

Assign a Data Tag or enter a constant.

D

Number of Rows to Copy

Assign a Data Tag or enter a constant.

E

Array: Destination

Select the array to write to.

F

To Array Index

The function writes the column values into the array beginning from this element.

Assign a Data Tag or enter a constant.

 

Related Topics

Data Tables

Creating a Data Table

Data Table: Indexed (DTI)

LF: Write Row to DTI

LF: Read Row from DTI to Struct

LF: Insert Row to DTI

LF: Remove Row from DTI

LF: Clear DTI Row

LF: Find Value in DTI Column

LF: Write value to DTI Column

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

LF: Store DTI to File (SD)

LF: Clear DTI