Mitsubishi Electric MELSEC A Series Manual page 40

Programmable logic controller
Hide thumbs Also See for MELSEC A Series:
Table of Contents

Advertisement

5. PROGRAMMING
Programming
Procedure
X020
A-D conversion-
enabled/
disabled
Averaging
processing, etc.
Processing
when a write
data error
occurs
X021 X040
64
Write dat
error reset
X022
A-D conversion-
68
completion flag
is read
Digital output
value is read
from the A-D
conversion-
completion
channel
End
CIRCUIT END
X000
X001
TOP
TOP
TOP
TOP
TOP
X002
FROMP H0000
X000
X001
FROMP H0000
M0
FROMP H0000
M1
FROMP H0000
M2
FROMP H0000
M4
FROMP H0000
H0000
K0
H0017
H0000
K3
K50
H0000
K4
K1000
H0000
K1
H0604
H0000
K20
K2
SET
K18
D0
BCDP
D0
K3Y050
Y012
RST
K18
D0
K10
D10
K11
D11
K12
D12
K14
D14
5 − 2
MELSEC-A
.... A-D conversion-enabled setting for
K1
channels 1, 2, 3, and 5
.... Averaging count setting:
K1
50 for channel 2
.... Averaging time setting:
K1
1000 ms for channel 3
Designation of averaging processing
for channels 2 and 3:
K1
Count designation for channel 2 an
time designation for channel 3
0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0
CH
CH
CH
CH
CH
CH
CH
CH
8
7
6
5
4
3
2
1
(Averaging processing
designation)
.... Resolution setting: 2(1/8000)
K1
.... Y40 goes ON when a write data
Y040
error occurs
.... Write data error code is read to D0
K1
.... Error code is outputted to BC
display
.... Turning ON Y12, if X21 is turned
ON, to reset write data error
Y040
.... A-D conversion-flag is read to M
K1
to M7 when X22 is turned ON
K1
K1
.... Digital output value is read to D10
to D14 from the A-D conversion-
completion flag ON channel
K1
K1
0 0 0 1 0 1 1 1
CH
CH
CH
CH
CH
CH
CH
CH
8
7
6
5
4
3
2
1
CH
CH
CH
CH
CH
CH
CH
CH
8
7
6
5
4
3
2
1
(Count and time
designations)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents