EasyManuals Logo
Home>Vector>Controller>VEC-VA Series

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 #241 background imageLoading...
Page #241 background image
VA Motion Controller Programming Manual
236
When the contact
C 206
is
O N
time ,
the instruction is executed, when the
address
V4 38 is
a string of length less
than the address
V4 39
the string length
of time; address
V4 40
outputs
1
; No's
output
0
Execution of results
;
V4 35 <V4 36
Output
1
10.4.20 STRING_TO_* (converts strings to other types)
String FU
Features
STRING_TO_*
directive
The STRING_TO_*
instruction is used to convert a
STRING
type
data into a valiDA
NY
value type. There are
12
instructions to
convert the
STRING
type data into
BYTE, WORD, DWORD, SINT, INT,
DINT, USINT, UINT, UDINT, REAL. , LREAL
and
TIME
and other types.
STRING_TO_*
conversion instructions
instruction
input
value
output
value
description
STRING_TO_BYTE
STRING
BYTE
Input format 0~255* , output is BYTE type
STRING_TO_WORD
STRING
WORD
Input format 0~65535* , the output
is
WORD
type
STRING_TO_DWORD
STRING
DWORD
Input format
0~4,294,967,295*
, output
as
DWORD
type
STRING_TO_SINT
STRING
SINT
Input format -128~127* , output is SINT type
STRING_TO_INT
STRING
INT
Input format -32768~-32767* , output
is INT type
STRING_TO_DINT
STRING
DINT
Input format
-2,147,483,648~
2,147,483,647
" , output
DINT
STRING_TO_USINT
STRING
USINT
Input format 0~255 , output is USINT type
STRING_TO_UINT
STRING
UINT
Input format 0~65535 " , the output
is UINT type
STRING_TO_UDINT
STRING
UDINT
Input format 0~4,294,967,295 , the output
is UDINT type
STRING_TO_REAL
STRING
REAL
Input format decimal
*
, output is
REAL
type
STRING_TO_LREAL
STRING
LREAL
Input format decimal
*
, output is
LREAL
type
STRING_TO_TIME
STRING
TIME
Input format T#0~T#4,294,967,295 "
milliseconds, output seconds

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