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 #242 background imageLoading...
Page #242 background image
VA Motion Controller Programming Manual
237
*:
In additioNS
TRING_TO_TIME
external command, can bring the corresponding
BYTE #,
WORD #
other type prefix, and "
16 #
" prefix, the prefix may not
;
input character valid values
sign and decimal numerals
0 to 9;
the numbers appear The other characters and the recurring
numbers are invalid.
usage (take STRING_TO_BYTE as an example)
Input and
output
type of data
description
IN
STRING
Enter a character or string, input format
0~255
OUT
BYTE
Output, convert input to
BYTE
type
During the numerical conversion process, the following error may occur :
input has an illegal prefix, such as INT##123, INT# is an illegal prefix ;
input value exceeds the range of the output data type, such as the input value of 1024
of STRING_TO_BYTE instruction , 1024 is greater than the range of 0~255 of BYTE type .
10.4.21 *_TO_STRING (other types are converted to
strings)
IL programming language
LD, FBD programming language
Function:
*_TO_STRING is
divided into
12
instructions, which can convert
BYTE, WORD,
DWORD, SINT, INT, DINT, USINT, UINT, UDINT, REAL, LREAL
and
TIME
to
STRING
type.
Usage ( take
BYTE_TO_STRING
as an example )
LD IN
BYTE_TO_STRING FORMAT
ST OUT
ST
programming language
OUT:=BYTE_TO_ STRING
(
IN, IN1
)
BYTE_TO_STRING instruction processing data type
Input
and output
type of
data
description
IN
BYTE
Input range 0~255

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