LF: Set DTI Column Value

This Ladder function writes values into a column in a DTI. You can use it to initialize a column.

 

Parameter Name

Purpose

A

Data Table: Source

Select the Data Table to write data to.

B

Column: Destination

Select the column to write to

C

Value to write

Assign a Data Tag or enter a constant.

The function writes this value into the column.

D

Start Row Number 

The function starts writing from this row.

Note that the default is 0, which means it will write to the entire column

E

Number of Rows to Write

This is the number of rows the function writes the value into.

You can use the DTI struct tag Number of Rows to write to all rows in the column.

 

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: Load DTI File to PLC Data Table (SD)

LF: Store DTI to File (SD)

LF: Clear DTI