Panasonic FP7 Series Command Reference Manual page 510

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

Advertisement

10.15 LIMT (Upper and Lower Limit Control)
(Note 8)
Can be specified only when the operation unit is a double-precision floating point real number (DF).
Outline of operation
● The output value, to be stored in the device address specified by [D], is controlled based on
whether or not the input value specified by [S3] falls within the range bounded by the upper
and lower limits set in [S1] and [S2].
● Output values are defined as follows:
Lower limit [S1] > Input value [S3]
Upper limit [S2] < Input value [S3]
Lower limit [S1] ≤ Input value [S3] ≤ Upper limit [S2]
● For control by the upper limit only, the minimum value for the relevant operation unit is
specified as the lower limit [S1].
● For control by the lower limit only, the maximum value for the relevant operation unit is
specified as the upper limit [S1].
Min. value
Max. value
Processing
Example 1) When the operation unit is 16-bit (US, SS)
Example 2) Operation unit: 32 bits (UL, SL)
10-60
US
SS
-32768
0
65535
32767
Lower limit [S1] → Output value [D]
Upper limit [S2] → Output value [D]
Input value [S3] → Output value [D]
UL
-2147483648
0
4294967295
2147483647
SL
SF
Negative infinite
Positive infinite
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents