Mitsubishi Electric FX2N-8AD User Manual page 81

Melsec-f programmable controllers analog input block
Hide thumbs Also See for FX2N-8AD:
Table of Contents

Advertisement

FX2N-8AD Analog input block
Figure 10.1:Example program
Initial pulse
M8002
RUN monitor
M8000
T0
Clear of upper/
lower limit value
error
X001
Clear of scale
over error
X002
FNC 79
K0
K0
H3300
K1
TO
FNC 79
K0
K1
HFF99
K1
TO
TO
K50
FNC 79
K0
K22 H0002
K1
TO
P
FNC 78
K0
K10
D0
K6
FROM
FNC 78
K0
K26
K4M0
K1
FROM
FNC 78
K0
K28 K4M20
K1
FROM
FNC 78
K0
K29
D6
K1
FROM
FNC 79
K0
K99 H0003
K1
TO
P
FNC 79
K0
K28
K0
K1
TO
P
Specifies the input mode of
CH1 to CH4.
Specifies the input mode of
CH5 to CH8.
Stand by for five seconds.
Enables the upper/lower limit value detection function.
Reads the channel data from CH1 to CH6.
.....
(CH1 → D0, CH2 → D1,
CH6 → D5)
Reads the upper/lower limit value error status.
(M0 to M15)
Reads the scale over status.
(M20 to M25)
Reads the error status.
(BFM #29 → D6)
Clears the upper/lower limit value error.
Clears the scale over error.
Example program 10
As for the changed input
mode, the power failure
maintenance is done by
EEPROM.
The change of program in the
input mode and stand by for
five seconds can be omitted.
At use the input mode
memorized in EEPROM.
10-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents