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 #204 background imageLoading...
Page #204 background image
VA Motion Controller Programming Manual
199
10.3.9 Conversion of SINT data
Type conversion
FU
Features
SINT type data
conversion
SINT type data conversion has 14 instructions, which can
convert SINT type data into B_BCD, W_BCD, D_BCD , BOOL,
BYTE , WORD , DWORD, INT, DINT, USINT, UINT, UDINT,
REAL and LREAL .
SINT type data conversion instruction
instruction
input value
output value
description
The input value ranges from
-128 to 127.
SINT_TO_B_BCD
SINT
BYTE
When inputting
0~99
, output
16#0~99;
when
inputting other values, output
16#FF
SINT_TO_W_BCD
SINT
WORD
When inputting 0~127 , output 16#0~127;
when inputting other values,
output 16#FFFF
SINT_TO_D_BCD
SINT
DWORD
When inputting 0~127 , output
16#0~127 , when inputting other values,
output 16#FFFFFFFF
SINT_TO_BOOL
SINT
BOOL
When input
0
, output
FALSE;
when
other values are input, output TRUE
SINT_TO_BYTE
SINT
BYTE
When inputting
0~127
,
output
0~127;
input
-128~-1
,
output
128~255
SINT_TO_WORD
SINT
WORD
When inputting 0~127 , output
0~127; input -128~-1 , output 128~255
SINT_TO_DWORD
SINT
DWORD
When inputting 0~127 , output 0~127;
input -128~-1 , output 128~255
SINT_TO_INT
SINT
INT
When inputting
0~127
, output
0~127;
input
-128~-1
, output
128~255
SINT_TO_DINT
SINT
DINT
When inputting
0~127
, output
0~127;
input
-128~-1
, output
128~255
SINT_TO_USINT
SINT
USINT
When inputting 0~127 , output 0~127;
input -128~-1 , output 128~255

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