Panasonic FP7 Series Command Reference Manual page 478

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

Advertisement

10.7 SCAL (Linearization)
Outline of operation
● The data specified by [S1] are scaled according to the data table specified by [S2]. The result
is stored in the device area specified by [D].
Processing
● Regardless of the operation unit, the output value Y for [D], corresponding to the input value
X for [S1], is calculated.
● In response to the information of input value X specified by [S1], the information of output
value Y is calculated according to the [S2] data table. The result is stored into the [D] area.
Output
value
Y = [D]
Structure of data table [S2]
● The number for data table "n" (setting range: 2 to 256) is determined by the value [n]
specified for the starting address of the data table [S2]. n is 16-bit data, regardless of the
operation unit.
● Scaling data (x1 to xn, y1 to yn) is stored from [S2]+1. Depending on the operation unit, the
data table occupies 16 bits (1 word), 32 bits (2 words), or 64 bits (4 words).
● The structure of data table [S2] that is used for scaling (linearization) is shown below.
10-28
(x3, y3)
(x2, y2)
(x1, y1)
X = [S1]
(xn, yn)
(xn-1, yn-1)
Input
value
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents