7 - 40
7 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
Содержание Q172CPU
Страница 1: ...Q173CPU N Q172CPU N Motion Controller SV43 Programming Manual Q172CPU Q173CPU Q172CPUN Q173CPUN ...
Страница 229: ...5 88 5 POSITIONING DEDICATED SIGNALS MEMO ...
Страница 447: ...7 186 7 MOTION PROGRAMS FOR POSITIONING CONTROL MEMO ...
Страница 535: ...8 88 8 AUXILIARY AND APPLIED FUNCTIONS MEMO ...
Страница 557: ...11 10 11 COMMUNICATIONS VIA NETWORK MEMO ...
Страница 559: ...12 2 12 MONITOR FUNCTION OF THE MAIN CYCLE MEMO ...