Panasonic FP7 Series Command Reference Manual page 460

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

Advertisement

10.3 MAX (Acquiring the Maximum Value)
Example 3) Operation unit: 32 bits (UL) (specify a 32-bit device)
[i]...UL
[S1]...TS10
[S2]...TS50
<Max. value search range>
H 1111111 1
TS10
H CCDDEEFF
TS11
H 9900AABB
TS12
TS13
H 1234
TS48
H 55667788
H FFFFFFFF
TS49
H 9900AABB
TS50
Example 4) Operation unit: 32 bits (SL) (specify a 32-bit device)
[i]...SL
[S1]...TS10
[S2]...TS50
<Max. value search range>
TS10
K 200
K -100
TS11
TS12
K 100
K 0
TS13
TS48
K 300
K -300
TS49
K -400
TS50
Example 5) Operation unit: 32 bits (UL) (specify a 16-bit device)
[i]...UL
[S1]...DT10 [S2]...DT30
<Max. value search range>
DT10・DT11
DT12・DT13
DT14・DT15
DT16・DT17
DT26・DT27
DT28・DT29
DT30・DT31
10-10
[D]...TS100
Relative position
0
1
2
3
38
39
40
[D]...TS100
Relative position
0
1
2
3
38
39
40
[D]...DT100
Relative position
H 1234FFFF
0
H 789A3456
1
H 9900AABB
2
H 12345678
3
H 55667788
8
H 9900AABB
9
H AAAA0000
10
<Output result>
H FFFFFFFF
TS100
* Unsigned 32-bit integer
U 39
TS101
* Unsigned 32-bit integer
<Output result>
K 300
TS100
* Signed 16-bit integer
TS101
U 38
* Unsigned 32-bit integer
<Output result>
H AAAA0000
DT100・DT101
* Unsigned 32-bit integer
DT102・DT103
* Unsigned 32-bit integer
([D] )
([D]+1)
([D] )
([D]+1)
([D] , [D]+1 )
([D]+2 , [D]+3)
U 10
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents