EasyManuals Logo

Vector VEC-VA Series User Manual

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
VA Motion Controller Programming Manual
18
DWORD
Double Word
32
0 to 4294967295 (16 #
00..16 # FFFFFFFF)
0
4.2 Generic Data Type
The generic data type is to group the basic data types hierarchically, with ANY as the prefix
of the data type. For example, ANY_INT indicates that all integer data including SINT, INT,
DINT, USINT, UINT, and UDINT are included. If the input or output of a function block is
connected to ANYINT, it means that this function block can handle variables of integer data such
as SINT, INT, DINT, USINT, UINT and UDINT.
Generic data types are organizeDAs follows:
ANY
ANY_NUM
ANY_BIT
STRING
TIME
ANY_REAL
ANY_INT
BOOL
BYTE
WORD
DWORD
REAL
LREAL
SINT
USINT
INT
UINT
DINT
UDINT
4.3 User-defined data types
User-defined data types must be inserted into the user-defined data type in the project "data
type", which must be done with the “TYPE ...END_TYPE” declaration block. The middle part of
the declaration block is the defined derivative data, and the derived data type can be the
structure,or an array.
Array
An array is a collection of single data type objects. Like a basic data, it has a unique name. A
single object is not named, but the user can access it through its position in the array. An example
of an array is as follows:
TYPE
graph: ARRAY [0 ... 23] OF INT;
END_TYPE
Note: the lowest byte array ARRAY graph is graph [0]
structure
A structure is a collection of objects of different data types. Like a basic data, it has a unique
name. A member of a structure is a basic data type or an array type, or it can be another structure,

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vector VEC-VA Series and is the answer not in the manual?

Vector VEC-VA Series Specifications

General IconGeneral
BrandVector
ModelVEC-VA Series
CategoryController
LanguageEnglish

Related product manuals