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 #214 background imageLoading...
Page #214 background image
VA Motion Controller Programming Manual
209
10.3.15 Conversion of REAL type data
Type conversion FU
Features
Conversion of
REAL
type
data
REAL
type data conversion has
11
instructions, which can
convert
REAL
type data into
BOOL, BYTE, WORD, DWORD
,
SINT,
INT, DINT, USINT, UINT, UDINT
and
LREAL
.
REAL
type data conversion instruction
instruction
inp
ut value
output
value
description
REAL type input value whose fractional
part is discardeDAt the time of conversion
REAL_TO_BOOL
REA
L
BOOL
When input 0 , output FALSE; when other
values are input, output TRUE
REAL_TO_BYTE
REA
L
BYTE
When inputting
0~255
, the output will
be
0~255; if the
input is increased, the output
will repeat
0~255;
input
-1~-255
,
output
255~0;
input and then decrease will
repeat
255~0
REAL_TO_WOR
D
REA
L
WORD
When inputting
0~65535
, the output
is
0~65535
. If the input is increased, the
output repeats
0~65535;
input
-1~-65536
,
output
65535~0
, input and then decrease, the
output repeats
65535~0
REAL_TO_DWO
RD
REA
L
DWOR
D
When inputting 0~2,147,483,647 ,
output 0~2,147,483,647 , input and increase
output
is 2,147,483,647; input -1~-2,147,483,648 ,
output 4,294,967,295~2,147,483,648 , input
and then reduce output is
still 2,147,483,648; accuracy will decrease
REAL_TO_SINT
REA
SINT
When inputting 0~127 ,

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