Mitsubishi MELSEC Q Series Programming Manual page 483

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The BREAK instruction is used in a case other than with the FOR to NEXT instruction
loop.
• The jump destination for the pointer designated by Pn does not exist.
• The pointer of another program file is designated for Pn.
Program Example
(1) The following program forces the FOR to NEXT loop to end when the value of D0 reaches
30 (when the FOR to NEXT loop has been executed 30 times).
[Ladder Mode]
Remark
The value 71 is stored at D1 when the BREAK instruction is executed.
[List Mode]
Step
Instruction
BREAK(P)
(Error code: 4203)
(Error code: 4210)
(Error code: 4210)
Device
7-109
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents