VA Motion Controller Programming Manual
197
Usage (take
WORD_TO_BOOL
as an example)
IL
programming language
LD, FBD
programming language
LD IN
WORD_TO_BOOL
ST OUT
St
programming language
OUT:=WORD_
TO_BOOL
(
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
16 #0064
转
BOOL
type
description
When the contact
C188
is
ON
when
this instruction is executed, the
address of
V334
in the word into
BOOL
type , is stored in the
V335
in ;
Execution results:
16 #0064
转
BOOL
Note : When the
V334
the value
is not zero ,
V335
output is
TRUE
(
.
1
)
10.3.8 Conversion of DWOR D -type data
Type conversion
FU
Features
DWORD
type data conversion
DWORD
type data conversion has
11
instructions, which can
convert
DWORD
type data into
BOOL, BYTE, WORD, SINT, INT,
DINT, USINT, UINT, UDINT, REAL
and
LREAL
.
DWORD
type data conversion instruction
instruction
input value
output
value
description
DWORD_TO_BOOL
DWORD
BOOL
The input value ranges from
0 to
4,294,967,295; the
output is
BOOL
type
:
only
when the input is
0
, the output is
FALSE, and
in
other cases, the output is
TRUE;
The
output
is
SINT
type
:
input
0~127
corresponds to
DWORD_TO_BTTE
DWORD
BYTE
DWORD_TO_WORD DWORD
WORD
DWORD_TO_SINT
DWORD
SINT
DWORD_TO_INT
DWORD
INT
DWORD_TO_DINT
DWORD
DINT
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 ...