Panasonic FP7 Series Command Reference Manual page 583

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

11.28 INT (Conversion: Floating Point Real Number Data → Integer (Round
Example 6) Unsigned 32 bits (UL) (negative value)
[i]...UL
[S]...DT10
DT10・DT11
DT12・DT13
DT14・DT15
* Operation error occurs if an unsigned integer is specified for the operation unit and
a negative value is converted.
Example 7) Signed 32 bits (SL) (positive value)
[i]...SL
[S]...DT10
DT10・DT11
DT12・DT13
DT14・DT15
Example 8) Signed 32 bits (SL) (negative value)
[i]...SL
[S]...DT10
DT10・DT11
DT12・DT13
DT14・DT15
Flag operations
Name
Description
To be set in the case of out-of-range in indirect access (index modification).
SR7
SR8
To be set when a non-real number is specified for [S].
(ER)
To be set when an out-of-range value is specified for [S] (conversion target data).
WUME-FP7CPUPGR-12
[D]...DT0
SF -1.234567E+ + 05
SF -2.468000E+02
SF -1.357000E+02
[D]...DT20
SF 1.234567E+ + 05
SF 2.468000E+02
SF 1.357000E+02
[D]...DT20
SF -1.234567E+ + 05
SF -2.468000E+02
SF -1.357000E+02
DT0・DT1
U 0
DT2・DT3
U 0
DT4・DT5
U 0
K 123456
DT20・DT21
DT22・DT23
K 0
DT24・DT25
K 0
DT20・DT21
K -12346
DT22・DT23
K 0
DT24・DT25
K 0
Down))
11-63

Advertisement

Table of Contents
loading

Table of Contents