EasyManua.ls Logo

Mitsubishi MELSEC-A series - APPENDIX 5 Dimensions

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6. BASIC INSTRUCTIONS
6 60
MELSEC-A
Operation Errors In the following cases, operation error occurs and the PC stops its operation.
When there are mult. contacts of the same labels, a jump has been made to that
label by the CJ, SCJ, or JMP instruction.
There is no label at the jump destination of CJ, SCJ, or JMP instruction.
Jump has been made to a label located below the END instruction.
Jump has been made to a step between FOR and NEXT.
Jump has been made into a subroutine.
Program Examples SCJ
(1) Program which causes a jump during the next scan to END when XC turns on.
(
)
()
()
0
4
11
X00C
X00C
X00B
X013
X017
SCJ P255
Y093
Y099
Y083
When XC turns on, jump is made from the nex
t
scan to END.
(P255 represents END.)
Executed when XC turns off or turns from off
to on.
END
Coding
0 LD X00C
1 SCJ P255
4 LDI X00C
5 MPS
6 AND X013
7 OUT Y093
8 MPP
9 AND X017
10 OUT Y099
11 LD X00B
12 OUT Y083
13 END

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals