6 - 40
6 MOTION PROGRAMS FOR POSITIONING CONTROL
(7) Functions (round-off (RND), round-down (FIX), round-up (FUP))
The data type combinations and conversion methods for round-off (RND), round-
down (FIX) and round-up (FUP) are shown below.
Operation result = function [Data 1]
Function denotes RND, FIX or FUP.
Round-off (RND), round-down (FIX) and round-up (FUP) cannot perform
operation of other than the 64-bit floating-point type.
(Error "560 : format error")
No.
Operation result
Data 1
1
#nF, #n:F (64 bit)
No type conversion
<RND>
Rounds off data 1 to one decimal place.
<FIX>
Rounds down data 1 to the units.
<FUP>
Rounds up data 1 to the units.
#nF, #n:F (64 bit)
No type conversion
n : Indicates variable number or device number
Содержание Q172HCPU
Страница 35: ...2 10 2 POSITIONING CONTROL BY THE MOTION CPU MEMO ...
Страница 79: ...3 44 3 MOTION DEDICATED PLC INSTRUCTION MEMO ...
Страница 373: ...6 186 6 MOTION PROGRAMS FOR POSITIONING CONTROL MEMO ...
Страница 453: ...7 80 7 AUXILIARY AND APPLIED FUNCTIONS MEMO ...