LF: Copy Array to Column in DTI

This Ladder function copies an array, or part of an array, into a specified column in a Data Table column.

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

 

Parameter Name

Purpose

A

Array: Source

Select the array to copy.

B

Start Index: Source

The function copies the array elements beginning with the index number of this array member.

Default = 0

Assign a Data Tag or enter a constant.

C

Data Table: Destination

Select the Data Table to write to.

D

Column: Destination

Select the column to write to.

E

Start Row Number Destination

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

Assign a Data Tag or enter a constant.

F

Copy Length

Determines the number of elements the function copies from the array and the number of rows it writes to.

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: Copy DTI Column into Array

LF: Write value to DTI Column

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

LF: Store DTI to File (SD)

LF: Clear DTI