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 #205 background imageLoading...
Page #205 background image
VA Motion Controller Programming Manual
200
SINT_TO_UINT
SINT
UINT
When inputting
0~127
, output
0~127;
input
-128~-1
, output
128~255
SINT _TO_UDINT
SINT
UDINT
When inputting 0~127 , output 0~127;
input -128~-1 , output 128~255
SINT _TO_REAL
SINT
REAL
When inputting 0~127 , output 0~127;
input -128~-1 , output -128~-1
SINT_TO_LREAL
SINT
LREAL
When inputting
0~127
, output
0~127;
input
-128~-1
, output
-128~-1
usage (take
SINT_TO_B_BCDA
s an example)
IL programming language
LD, FBD programming language
LD IN
SINT_TO_B_BCD
ST OUT
ST programming language
OUT:=SINT_TO_B_BCD ( 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
Short Integer 5 turn to BCD16 # 05
description
This type conversion function
converts the input value of the data
type SINT into the BCD output value ( binary
code decimal number ) of the data type BYTE .
10.3.10 Conversion of INT data
Type conversion
FU
Features
INT type data conversion
INT -converted data has 14 instructions can be INT respectively
converted data type for the day the BCD, WBCD, D the BCD, BOOL,
BYTE , WORD , DWORD , SINT, DINT, USINT, UINT, UDINT,
REAL and LREAL other types.
INT type data conversion instruction
instruction
input
value
output
value
description
The input value ranges from
32768 to 32767;
INT_TO_B_BCD
INT
BYTE
When inputting
0~99
, output
16#0~99;

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