Mitsubishi FX2N-5A User Manual page 102

Table of Contents

Advertisement

FX2N-5A Special function block
Figure 9.1: Example program
Initial pulse
M8002
RUN monitor
M8000
Change of analog
output value
X000
X000
RUN monitor
M8000
RUN monitor
M8000
FNC 79
K0
K0
H1100
K1
TO
FNC 79
K0
K1
H0000
K1
TO
FNC 79
K0
K2
K10
K4
TO
FNC 78
K0
K6
D106
K4
FROM
FNC 78
K0
K10
D110
K4
FROM
FNC 12
K0
D114
MOV
FNC 12
D114
K16000
MOV
FNC 79
K0
K14
D114
K1
TO
FNC 78
K0
K28
K1
K4M100
FROM
FNC 12
K2M100 K2Y000
MOV
Specifies the input mode of CH1 to CH4.
Specification of analog output channel's
output mode.
Number of averaging times setting of CH1 to
CH4. (10)
Average value data reading of CH1 to CH4.
(CH1→D106, CH2→D107. . . CH4→D109)
Immediate data reading of CH1 to CH4.
(CH1→D110, CH2→D111. . . CH4→D113)
Analog output value (0V)
Analog output value (5V)
Writing of analog output value
Reading of the scale over
CH1 less than lower bound→M100
CH1 upper bound excess→M101
:
CH4 less than lower bound→M106
CH4 upper bound excess→M107
Output of the scale over
CH1 less than lower bound→Y000
CH1 upper bound excess→Y001
:
CH4 less than lower bound→Y006
CH4 upper bound excess→Y007
Example program 9
9-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents