VA Motion Controller Programming Manual
190
conversion
LREAL_TO_DWORD
LREAL_TO_SINT
LREAL_TO_INT
LREAL_TO_DINT
LREAL_TO_USINT
LREAL_TO_UINT
LREAL_TO_UDINT
LREAL_TO_REAL
REAL
type
data
conversion
REAL_TO_BOOL
REAL_TO_BYTE
REAL_TO_WORD
REAL_TO_DWORD
REAL_TO_SINT
REAL_TO_INT
REAL_TO_DINT
REAL_TO_USINT
REAL_TO_UINT
REAL_TO_UDINT
REAL_TO_LREAL
TRUNC
type
data
conversion
TRUNC
TRUNC_SINT
TRUNC_INT
TRUNC_DINT
10.3.1 Conversion of BYTE type BCD data
Type conversion
FU
Features
BYTE
type
BCD
data
conversion
The conversion of
BYTE
type
BCD
data includes the following three
instructions
:
B_BCD_TO_SINT,
B_BCD_TO_INT
and
B_BCD_TO_DINT
. These three instructions convert
a
BCD
(binary encoded decimal) input value of a
BYTE
data type into
an output value of the
SINT
,
INT,
and
DINT
data types, respectively.
BYTE
type
BCD
data conversion instruction
instruction
input value
output
value
description
B_BCD_TO_SINT
BYTE
type
BCD
code
SINT
Input
value
range
BCD
code
16#0099;
The
corresponding
output
values
SINT,
INT
and
DINT
are
0~99
.
B_BCD_TO_INT
BYTE
type
BCD
code
INT
B_BCD_TO_DINT
BYTE
type
BCD
code
DINT
usage (take
B_BCD_TO_SINT
as an example)
IL
programming language
LD, FBD
programming language
LD IN
B_BCD_TO_SINT
ST OUT
ST
programming language
OUT:=B_
BCD_TO_
SINT
(
IN
)
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 ...