Panasonic FP7 Series Command Reference Manual page 590

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

Advertisement

11.30 FIX (Conversion: Floating Point Real Number Data → Integer (Round
Decimal Digits))
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
SR7
SR8
(ER)
11-70
[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
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when a non-real number is specified for [S].
To be set when an out-of-range value is specified for [S] (conversion target data).
U 0
DT0・DT1
DT2・DT3
U 0
U 0
DT4・DT5
DT20・DT21
K 123456
DT22・DT23
K 0
K 0
DT24・DT25
DT20・DT21
K -12345
DT22・DT23
K 0
K 0
DT24・DT25
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents