
High
−
level Instructions
3
−
739
Outline
Converts the units of an angle from radians to degrees.
For the FP0R/FP
Σ
/FP
−
X/FP0/FP
−
e, the P type high
−
level instruction
“P338 (PDEG)” is not available.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
S
Trigger
D
F338 DEG, DT10, DT20
10
R0
10
11
ST
R
0
F338
(DEG)
DT
10
DT
20
S
Angle data (radians) (2 words) or lower 16-bit area of 32-bit data
D
Lower 16-bit area of 32-bit data for storing converted data
Operands
Operand
Relay
Timer/Counter
Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL
SV
EV
DT LD
FL
I
K
H
f
modifier device
S
A
A
A
A
A
A
A
A
A
A
A
A
A
A*
A
D
N/A
A
A
A
A
A
A
A
A
A
N/A N/A N/A
A
A
* Index modification of a real number is not possible.
Description
The angle data in radians (real number data) specified in S+1 and S is converted to angle data in degrees and
the result is stored in D+1 and D.
Angle data (degrees)
(Real number data)
15
0
D:
Angle data (radians)
(Real number data)
Lower word
D+1:
Higher word
15
0
S:
Lower word
S+1:
Higher word
F338
P338
(PDEG)
(DEG)
Floating point real number data conversion of angle
units (Radians
→
Degrees)
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-E
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...