5 table data, 1 what is table data, 2 creating table data – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 62

Advertising
background image

4.5 Table Data

4.5.1 What Is Table Data?

4-21

Programming

4

4.5 Table Data

4.5.1 What Is Table Data?

Table data is data that is managed in tabular form. The data is stored separately from the registers.
Data can be copied from a table to registers or from registers to a table by executing table data manipulation instruc-
tions in the ladder program. Tables can also be used to hold data when there is not a sufficient range of registers.

4.5.2 Creating Table Data

Use the following procedure to create table data. The table definition information and column attributes that are set for
table data are listed in the following table.

You can select one of the following table types when you create table data.
• Array type: Specifies a table where all columns have the same attributes.
• Record type: Specifies a table where each column has a different attribute.
You can select one of the following table data storage locations.
• Normal: Refer to 2.1.2 Machine Controller Program Specifications for the maximum program size. The maximum size per

table is 5 MB.

• Battery backup: Refer to 2.1.2 Machine Controller Program Specifications for the maximum size of table data that can be

backed up with the battery. The maximum size per table is 3 MB.

Data

Table data

Read Queue Table Instruction

Registers

Write Queue Table Instruction

TBL1

Creating Table Data

Set the table

definition information.

Set the column attributes.

End of Creating Table Data

Table Definition

Information

Description

Table Name

This is the name of the table.

Table Type

Select an array-type or record-type table.

Number of Columns This is the number of columns in the table.

(10,000 columns max.)

Number of Rows

This is the number of rows in the table. (10,000 rows max.)

Table Comment

This is a comment for the table.

Table Data
Storage Location

Column Attribute

Description

Column Name

This is the name of the column.

Data Type

The data type can be integer, double-length integer, real
number, or text string.

Size

This is the length of the data type.

Display Type

The display type can be binary, decimal, hexadecimal,
real number, or text string.

Column Comment

This is a comment for the column.

Select normal or battery backup.
Refer to 2.1.2 Machine Controller Program Specifications
for details on the maximum size of tables and
which models have battery backup storage.

INFO

Advertising
This manual is related to the following products: