EasyManua.ls Logo

Vector VEC-VA Series

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
Loading...
VA Motion Controller Programming Manual
253
the buffer is
MOTOROLA
code of
IEEE 754
floating point number.
The number of bytes
converted can be
4
BUF _ TO _ STRING
BUF
STRING
The data
format of the
buffer
is MOTOROLA or I
NTEL
Enter the ASCI I code as
a character. The
number of bytes to be
converted can be
a positive integer such
as 1, 2...
BUF _ TO _ TIME
BUF
TIME
The data
format of the
buffer is INTEL
The input is a
hexadecimal code in
milliseconds. The
number of bytes
converted is 4 and the
output unit is seconds.
BUF_TO_ *
data processing instruction type
Pin
Features
type of
data
description
REQ
Input
BOOL
Valid on rising edge
BUF_FORMAT
Input
BOOL
TRUE indicates that the buffer data
is in MOTOROLA format ;
FALSE indicates INTEL format
BUF_OFFS
Input
DINT
The starting byte number of the
buffer being converted,
0
is the first byte
of the buffer
BUF_CNT
Input
DINT
The number of bytes converted in
the buffer
BUFFER
Input - output
ARRAY
Buffer, a byte array
DST
Input - output
Array
or ANT
The storage area, the content of the
converted byte is placed here, the type
of DST should be consistent with the
specific BUF_TO_* type, such as the DST
of the BUF_TO_BYTE instruction must
be BYTE type
DONE
Output
BOOL
After the conversion is complete,
set to
1
until
REQ
is
0.
ERROR
Output
BOOL
The conversion is normal,
0
,
otherwise set to
1
STATUS
Output
INT
If the conversion is not normal, an
error code is given, as shown in the table
below.

Table of Contents

Related product manuals