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 #201 background imageLoading...
Page #201 background image
VA Motion Controller Programming Manual
196
When the contact
C031
is
ON
time ; the
instruction is executed;
The address
V034
in the
16
hex into the
number of
BOOL
, stored in the
V035
in ;
Execution results:
16#OA
to
BOOL
type
Note : As long as the number
in
V034
is not zero,
V035
outputs
1
(
TRUE
)
10.3.7 Conversion of WORD Data
Type conversion FU
Features
WORD
type data
conversion
WORD
-converted data has
. 11
instructions can
be
WORD
respectively converted to data type
BOOL, BYTE, DWORD,
SINT, INT, DINT, USINT, UINT, UDINT, REAL
and
LREAL
other types.
WORD
conversion instruction type data
instruction
input
value
output
value
description
WORD_TO _BOOL
WORD
BOOL
The input value ranges from 0 to
65,535.
The output is BOOL type :
the output is FALSE only when the input
is 0 , and the output is TRUE in other
cases ;
The output
is SINT type : input 0~127 corresponds
to output 0~127 ,
input 128~255 corresponds to
output -128~-1 , input increases and
output will repeat 0~127 , -128~-1;
Output USINT , BYTE Type : Input 0
to 255 corresponding to the output of 0
to 255 , the input further increasing the
output will be repeated from 0 to
255; output INT type : Input 0 to
32767 corresponding output of 0 to
32767, input from 32768 to
65535 corresponding to the output -
32768~-1; When the output is WORD,
DWORD, etc., the output is equal to
the input.
WORD_TO_BYTE
WORD
BYTE
WORD_TO_DWORD
WORD
DWORD
WORD_TO_SINT
WORD
SINT
WORD_TO_INT
WORD
INT
WORD_TO_DINT
WORD
DINT
WORD_TO_USINT
WORD
USINT
WORD _TO_UINT
WORD
UINT
WORD _TO_UDINT
WORD
UDINT
WORD _TO_REAL
WORD
REAL
WORD_TO_LREAL
WORD
LREAL

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