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 #212 background imageLoading...
Page #212 background image
VA Motion Controller Programming Manual
207
IL
programming language
LD, FBD
programming language
LD IN
UINT TO BYTE
ST OUT
St
programming language
OUT:=UINT_T0_BYTE ( IN )
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet
Funtion and Action examples
Unsigned integer
20-
turn
BYTE
description
When the contact C148 is ON when the
instruction is executed, the address
of V294 in the unsigned integer
of 20 revolutions of BYTE stored in V295 in ;
Execution of Results : 20 is ( the U- the
INT ) switch 16 # 14 ( BYTE )
10.3.14 Conversion of UDINT type data
Type conversion
FU
Features
UDINT
type data
conversion
UDINT
type data conversion has
11
instructions, which can
convert
UDINT
type data into
BOOL, BYTE, WORD, DWORD, SINT,
INT, DINT, USINT, UINT, REAL
and
LREAL
.
UDINT type data conversion instruction
instruction
input
value
output
value
Description Input value range 04,294,967,295
UDINT_TO_BOOL
UDINT
BOOL
When input
0
, output
FALSE;
when other values
are input, output TRUE
UDINT _TO_BYTE
UDINT
BYTE
When
0~255
is input, the output will be
0~255;
if the
input is increased, the output will
repeat
0~255.
UDINT _TO_WORD
UDINT
WORD
When inputting 0~65535 , the output will be
0~65535 . If the input is increased, the output will
repeat 0~65535.
UDINT _TO_DWORD
UDINT
DWORD
When 0~4,294,967,295 is input , the output is

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