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 #211 background imageLoading...
Page #211 background image
VA Motion Controller Programming Manual
206
When the contact
C158
is
ON
when this
instruction is executed,
The address
V304
in the unsigned short
integer of
24
rpm to
BYTE
, stored in
the
V 305
In ;
Execution of Results :
24
(
DINT
)
switch
16 # 18 is
(
BYTE
)
10.3.13 Conversion of UINT type data
Type conversion FU
Features
UINT
type data conversion
UINT
type data conversion has
11
instructions, which can
convert
UINT
type data into
BOOL, BYTE, WORD, DWORD
,
SINT,
INT, DINT, USINT, UDINT, REAL
and
LREAL
.
UINT
type data conversion instruction
instruction
input
value
output value
Description Input value range 0 65535
UINT _TO_BOOL
UINT
BOOL
When input 0 , output FALSE; when other values
are input, output TRUE
UINT _TO_BYTE
UINT
BYTE
When
0~255
is input, the output will be
0~255;
if the
input is increased, the output will
repeat
0~255.
UINT _TO_WORD
UINT
WORD
When
0~65535
is input , the output
is
0~65535.
UINT _TO_DWORD
UINT
DWORD
When 0~65535 is input , the output is 0~65535.
UINT _TO_SINT
UINT
SINT
When inputting 0~127 , output 0~127; input
128~255 , output -128~-1; input and then
increase output repeat 0~127, -128~-1
UINT _TO_INT
UINT
INT
When inputting
0~32767
, output
0~32767;
input
32768~65535,
output
-32768~-1
UINT _TO_DINT
UINT
DINT
When
0~65535
is input , the output is
0~65535.
UINT _TO_USINT
UINT
USINT
When 0~255 is input , the output is 0~255; if
the input is increased, the output repeats 0~255.
UINT _TO_UDINT
UINT
UDINT
When 0~65535 is input , the output is 0~65535.
UINT_TO_REAL
UINT
REAL
When
0~65535
is input , the output is
0~65535.
UINT _TO_LREAL
UINT
LREAL
When
0~65535
is input , the output is
0~65535.
usage (take UINT_TO_BYTE as an example)

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