Mitsubishi Electric MELSEC FX3U Programming Manual page 543

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
X001
FNC 12
MOVP
X002
FNC 12
MOVP
M8000
FNC 49
FLTP
RUN
monitor
FNC123
DEDIV
FNC122
DEMUL
FNC130
DSIN
(K45) → (D 0)
K 45
D 0
(K90) → (D 0)
K 90
D 0
(D 0) → (D5, D4) Binary floating point
D 0
D 4
value
K31415926 K1800000000
D 4
D 20
D 30
S
D
(D31, D30) RAD → (D101, D100) SIN
D 30
D100
Binary floating point
18 Floating Point – FNC110 to FNC139
18.18 FNC130 – SIN / Floating Point Sine
An angle is selected by the inputs
X001 and X002.
(π/180) → (D21, D20)
D 20
Binary floating point
(D5, D4) Degrees × (π/180) → (D31, D30) Radians
Binary floating point
11
12
13
14
15
16
17
18
19
20
541

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents