
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
238
Vision System FH/FZ5 Series
User’s Manual (Z340)
Debug Procedure
When an error occurs in the program, follow the steps below to correct the program.
Checking Why an Error Occurred
When an error occurs during program execution, the subroutine process in which the error occurred is forcibly
stopped. Processes other than that in which the sensor controller error occurred continue to run.
If an error occurs in the "Unit Macro" processing item or "Unit Calculation Macro" processing item, the
measurement result of the processing unit in which the error occurred is NG. If an error occurs in a
communication command macro, the macro function returns an error. Regardless of where the error occurred,
error information appears in the system status console window.
Item name
Step
Description
---
Error occurs
An error occurs during program execution and the program
execution process is forcibly stopped.
---
↓
---
Checking Why an
Error Occurred
(Reference:
Check the console window
A brief description of the error appears in the system status
console window. Check the error description.
↓
---
Identify the nature of the error
Refer to the error list to identify the nature of the error.
---
↓
---
Starting Debug
Change to debug mode
Specify 18 for the debug function parameter at the start of the
*MCRINIT subroutine or process of the program.
---
↓
---
Identifying the Cause
of an Error
(Reference:
Identifying the location of the error
Based on the identified nature of the error, determine which line
and where on the line the error occurred.
↓
---
Identifying the Cause of the Error
Identify why the error occurred.
---
↓
---
Removing the Error
(Reference:
Correct and check operation
Correct the program to remove the cause of the error, and
check operation to verify that the error has been eliminated.
---
↓
---
Exiting Debug
Change to release mode
Specify 1 for the debug function parameter at the start of the
*MCRINIT subroutine or process of the program.
---
↓
---
---
Save settings
Save your changes.
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...