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 #257 background imageLoading...
Page #257 background image
VA Motion Controller Programming Manual
252
10.6 ProConOS Features
FILE_OPEN, FILE_CLOSE , FILE_SEEK , FILE_TELL , FILE_READ , FILE_WRITE,
FILE_REMOVE instructions in ProConOS are not available.
10.6 .1 BUF type conversion to other types
BUF
type data can be divided into
12
function blocks, which can copy basic data types from
byte stream to variables, arrays or elements of user-defined structure, that is, convert to
BYTE,
WORD, DWORD, SINT, INT, DINT, respectively. USINT, UINT
,
UDINT
,
REAL, STRING, TIME
and other
data, it is mainly used for data transfer or to perforMCommunication in the application on
different hardware platforms.
The
BUF
type data conversion instruction in
ProConOS
needs to be selected from the
drop-down list "
ProConOS
" in the editing wizard . Source data must be an array of bytes ( data
type
BYTE
) , but also
of ANY_BIT
(
BOOL
excluding ) or
ANY_INT
type ( number of bytes is
converted to data type stored can not exceed the target ) .
BUF
type data conversion instruction
instruction
source data
Converted
data
description
BUF _ TO _BYTE
BUF
BYTE
The data
format of the
buffer
is MOTOROLA or I
NTEL . The source
data can also
be ANY_BIT ( BOOL
).
Except ) or A
NY_INT
The number of bytes
converted is 1
BUF _ TO _WORD
BUF
WORD
The number of bytes
converted is
2
BUF _ TO _DWORD
BUF
DWORD
The number of bytes
converted is
4
BUF _ TO _SINT
BUF
SINT
The number of bytes
converted is 1
BUF _ TO _INT
BUF
INT
The number of bytes
converted is 2
BUF _ TO _DINT
BUF
DINT
The number of bytes
converted is
4
BUF _ TO _USINT
BUF
USINT
The number of bytes
converted is
1
BUF _ TO _UINT
BUF
UINT
The number of bytes
converted is 2
BUF _ TO _UDINT
BUF
UDINT
The number of bytes
converted is 4
BUF _ TO _RAEL
BUF
REAL
The data format of
Enter the hexadecimal

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