Panasonic FP0 User Manual page 358

Programmable controller
Hide thumbs Also See for FP0:
Table of Contents

Advertisement

Num-
Name
ber
F338
Floating-
P338
point type
data radian
→ degree
Floating-point type real number data processing instructions
F345
Floating-
P345
point type
data compare
Floating-
F346
point type
P346
data band
compare
Floating-
F347
point type
P347
data upper
and lower
limit control
Floating-
F348
point type
P348
data dead-
band control
F349
Floating-
point type
P349
data zone
control
Floating-
F350
point type
P350
data maxi-
mum value
14-116
Boolean
Operand
DEG
S, D
PDEG
FCMP
S1, S2
PFCMP
S1, S2, S3
FWIN
PFWIN
S1, S2, S3,
FLIMT
D
PFLIMT
S1, S2, S3,
FBAND
D
PFBAND
FZONE
S1, S2, S3,
D
PFZONE
S1, S2, D
FMAX
PFMAX
Description
The angle data in radians (real number data)
specified in (S+1, S) is converted to angle data in
degrees, and the result is stored in (D+1, D).
(S1+1, S1)>(S2+1, S2)→ R900A: on
(S1+1, S1)=(S2+1, S2)→ R900B on
(S1+1, S1)<(S2+1, S2)→ R900C: on
(S1+1, S1)>(S3+1, S3)→ R900A: on
(S2+1, S2)<or =(S1+1, S1)<or =(S3+1, S3)
→ R900B on
(S1+1, S1)<(S2+1, S2)→ R900C: on
When (S1+1, S1)>(S3+1, S3), (S1+1, S1)
→(D+1, D)
When (S2+1, S2)<(S3+1, S3), (S2+1, S2)
→ (D+1, D)
When (S1+1, S1)<or = (S3+1, S3)<or =(S2+1, S2),
(S3+1, S3)→(D+1, D)
When (S1+1, S1)>(S3+1, S3),
(S3+1, S3)−(S1+1, S1)→(D+1, D)
When (S2+1, S2)<(S3+1, S3),
(S3+1, S3)−(S2+1, S2)→ (D+1, D)
When (S1+1, S1)<or = (S3+1, S3)<or =(S2+1, S2),
0.0→(D+1, D)
When (S3+1, S3)<0.0,
(S3+1, S3)+(S1+1, S1)→(D+1, D)
When (S3+1, S3)=0.0, 0.0→ (D+1, D)
When (S3+1, S3)>0.0, (S3+1, S3)+(S2+1, S2)
→(D+1, D)
Searches the maximum value in the real number
data table between the area selected with "S1" and
"S2", and stores it in the (D+1, D). The address
relative to "S1" is stored in (D+2).
Steps
8
10
14
17
17
17
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents