VA Motion Controller Programming Manual
213
L
output
0~2,147,483,647
, input and
increase
output
is
2,147,483,647;
input
-1~-2,147,483,648
,
output
4,294,967,295~2,147,483,648
,
input and then reduce output is
still
2,147,483,648;
accuracy will decrease
LREAL_TO_LREAL
LREA
L
REAL
Input equals output, accuracy is
reduced
usage (take
LREAL_TO_BYTE
as an example)
IL
programming language
LD, FBD
programming language
LD IN
LREAL_TO_BYTE
ST OUT
ST
programming language
OUT:=LREAL_TO_BYTE
(
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
Long
floating
point
number
10.0
rpm
BYTE
description
When the contact
C095
is
ON
, the execution of
the
instruction,
the
address
of
V182
in the long floating-point number
10.0
revolut
ions of
BYTE
, stored in the
V183
in ;
Execution of results :
10.0
(
the LREAL
)
switch
16 # 0A
(
BYTE
)
10.3.17 TRUNC decimal rounding
Type conversion
FU
Features
TRUNC
decimal rounding
The TRUNC
fraction has
four
instructions, which can convert
floating-point data to
SINT
,
INT
,
DINT,
and so on.
RUNC
decimal rounding instruction
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 ...