Debug Procedure; Checking Why An Error Occurred - Omron SYSMAC FH Series User Manual

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Debug Procedure

When an error occurs in the program, follow the steps below to correct the program.
Item name
---
---
Checking Why an
Error Occurred
(Reference:
Checking Why an
Error Occurred
(p.238))
---
Starting Debug
---
Identifying the Cause
of an Error
(Reference:
Identifying the
Cause of an Error
(p.241))
---
Removing the Error
(Reference:
Removing the Error
(p.244))
---
Exiting Debug
---
---

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.
238
Basic Knowledge For Macro Customize Functions
Step
Error occurs
Check the console window
Identify the nature of the error
Change to debug mode
Identifying the location of the error
Identifying the Cause of the Error
Correct and check operation
Change to release mode
Save settings
An error occurs during program execution and the program
execution process is forcibly stopped.
A brief description of the error appears in the system status
console window. Check the error description.
Refer to the error list to identify the nature of the error.
Specify 18 for the debug function parameter at the start of the
*MCRINIT subroutine or process of the program.
Based on the identified nature of the error, determine which line
and where on the line the error occurred.
Identify why the error occurred.
Correct the program to remove the cause of the error, and
check operation to verify that the error has been eliminated.
Specify 1 for the debug function parameter at the start of the
*MCRINIT subroutine or process of the program.
Save your changes.
WWW.NNC.IR
Description
---
---
---
---
---
---
---
---
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents