Download Print this page

Converting Single-Precision Real Number Angle To Radian - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Converting single-precision real number angle to radian

RAD(P)/DRAD(P)
These instructions convert a unit of angle from degrees (DEG.) specified by (s) into radians, and store the converted angle in
the device specified by (d).
The RAD(P) instructions can also be used as DRAD(P).
Ladder diagram
(s)
(d)
FBD/LD
EN
ENO
s
d
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
A value in degrees to be converted into a value in radians or
the start number storing the value in degrees
(d)
Head device number storing a value in radians acquired by
conversion
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(d)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=RAD(EN,s,d);
ENO:=RADP(EN,s,d);
Range
Data type
Single-precision real number
Single-precision real number
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
8
527

Hide quick links:

Advertisement

loading