Panasonic FP7 Series Command Reference Manual page 471

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

Advertisement

Example 3) Operation unit: 32 bits (UL) (specify a 32-bit device)
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
[i]...UL
[S1]...TS10
<Total/mean calculation range>
Value
TS10
H 00000000
TS11
H 22222222
TS12
H 33333333
H 44444444
TS13
H 55555555
TS14
Example 4) Operation unit: 32 bits (SL) (specify a 32-bit device)
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
[i]...SL
[S1]...TS10
<Total/mean calculation range>
Value
TS10
K 1000
TS11
K 2000
TS12
K -3000
TS13
K -4000
TS14
K -5000
Example 5) Operation unit: 32 bits (UL) (specify a 16-bit device)
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
[i]...UL
[S1]...DT10
<Total/mean calculation range>
DT10・DT11
DT12・DT13
DT14・DT15
DT16・DT17
WUME-FP7CPUPGR-12
10.5 MEAN (Acquiring the Total and the Mean Value)
[S2]...TS14
[D]...TS100
[S2]...TS14
[D]...TS100
[S2]...DT14
[D]...DT100
Value
H 1111000 0
H 33332222
H 55554444
H 77776666
<Output result>
H EEEEEEEE
TS100・TS101
* Unsigned 64-bit integer
Value
TS102
H 2FC962FC
* Unsigned 32-bit integer
<Output result>
TS100・TS101
* Signed 64-bit integer
Value
TS102
K -1800
* Signed 32-bit integer
<Output result>
DT100-DT103
H 11110 CCCC
* Unsigned 64-bit integer
Value
DT104・DT105
H 44443333
* Unsigned 32-bit integer
Value
Total value
([D] and [D]+1)
Mean value ([D]+2)
Value
K -9000
Total value
([D] and [D]+1)
Mean value ([D]+2)
Value
Total value
([D] to [D]+3)
Mean value
([D]+4, [D]+5)
10-21

Advertisement

Table of Contents
loading

Table of Contents