5. SEQUENCE INSTRUCTIONS
5
−
7
MELSEC-A
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.
(
)
X002
X000
X003
X001
0
X006
X004
X007
X005
X008
X009
M7
•
Coding example 1
0 LD
X000
1 OR
X001
2 LD
X002
3 OR
X003
4 ANB
5 LD
X004
6 OR
X005
7 ANB
8 LD
X006
9 OR
X007
10
ANB
11
LD
X008
12
OR
X009
13
ANB
14
OUT
M7
15
END
•
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
There is no restriction on the number of ANBs
used.
If ANBs are written consecutively exceeding the
number mentioned below, the PC cannot
per-form proper operation.
For AnA, A2AS, AnU, QCPU-A (A Mode) and
A2USH board:
15 instructions
(16
blocks)
For CPUs other than AnA, A2AS, AnU, QCPU-A
(A Mode) and A2USH board: 7 instructions
(8 blocks)
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......