Mitsubishi QD51 Programming Manual page 333

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Program Example
10 ' This program displays "ERROR" if an error occurs
20 ON ERROR GOTO 50
30 ERROR 10
40 END
50 PRINT "ERROR"
60 RESUME 40
RUN
ERROR
OK
11 - 163
REMARK
See the ERROR and RESUME instructions, ERL and ERR functions, and Chapter
9.
:
' Defines the branch destination at error
generation
:
' An error occurs
:
' Ends error processing
MELSEC-Q
11 - 163

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents