Mitsubishi Electric CR750-Q Instruction Manual page 251

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

Error (error)
[Function]
This instruction makes a program generate an error (9000s number).
[Format]
Normal programs
Error[]<Error No.>
Constantly-executed programs (ALWAYS attribute)
Error[]<Error No.>, <Conditions>
[Terminology]
<Error No.>
Either a constant or numeric operation expression can be set. Designate the No. within the range
of 9000 to 9299.
<Conditions> 0: Execution of the program which executed this Error command stops with error.
1: Execution of the program which executed this Error command does not stop with error.
[Reference Program]
(1) Generate the error 9000.
10 Error 9000
(2) Change the error number to generate corresponding to the value of M1.
4 If M1 <> 0 Then *LERR
:
14 *LERR
15 MERR=9000+M1*10
16 Error MERR
17 End
[Explanation]
(1) It is possible to generate any error in the 9000's number range by executing this instruction.
(2) If a LOW level or HIGH level error is generated, the program is paused.
Steps after the Error command are not executed. A CAUTION error does not pause a program; the next
step and onward are executed. The action of system by error number is shown in the
(3) It is possible to create up to 20 error messages using parameters UER1 to UER20.
(4) A system error occurs if a value outside the error number range shown in
Table 4-17:Action of system by error number
No.
9000 to 9099
(H level error)
9100 to 9199
(L level error)
9200 to 9299
(CAUTION)
[Related parameter]
UER1 to 20
' When M1 is not 0, branches to "*LERR".
' Calculate the error number according to the value of M1.
' The calculated error number is generated.
The program execution is stopped, and the servo power is shut off.
The error state is reset when error reset is input.
The program execution is stopped.
The error state is reset when error reset is input.
The program execution is continued.
The error state is reset when error reset is input.
Table 4-17
System behavior
Detailed explanation of command words 4-231
4MELFA-BASIC V
Table
4-17.
is specified.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents