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
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...