Mitsubishi MELSEC-A Series Programming Manual page 76

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

5. SEQUENCE INSTRUCTIONS
Program Examples
ANB
When circuit blocks are serially connected consecutively, the coding of program is
available in two types. However, proceed with the coding according to Coding
example 1.
X000
X002
0
X001
X003
• Coding example 1
0
LD
1
OR
2
LD
3
OR
4
ANB
5
LD
6
OR
7
ANB
8
LD
9
OR
10
ANB
11
LD
12
OR
13
ANB
14
OUT
15
END
There is no restriction on the number of ANBs
used.
X004
X006
X008
X005
X007
X009
X000
X001
X002
X003
X004
X005
X006
X007
X008
X009
M7
If ANBs are written consecutively exceeding the
number
per-form proper operation.
For AnA, A2AS, AnU, QCPU-A (A Mode) and
A2USH board:
For CPUs other than AnA, A2AS, AnU, QCPU-A
(A Mode) and A2USH board: 7 instructions
5 − 7
MELSEC-A
(
M7
)
• Coding example 2
0
LD
X000
1
OR
X001
2
LD
X002
3
OR
X003
4
LD
X004
5
OR
X005
6
LD
X006
7
OR
X007
8
LD
X008
9
OR
X009
10
ANB
11
ANB
12
ANB
13
ANB
14
OUT
M7
15
END
mentioned
below,
the
PC
15 instructions
(16 blocks)
(8 blocks)
cannot

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents