Debugging Macro Program - Omron FZ4 Series User Manual

Vision sensor
Table of Contents

Advertisement

Debugging Macro program

Overview
Macro program may cause error while it is working, by illegal command call or incorrect value of
parameters.
Debugging support function will help you to find out the cause of the error and fix the problem.
System behavior on error
When error happened, system behaves as below :
Show error on macro console
The error information is shown on macro console.
Interrupt of Macro
When error occurs in macro program, execution of macro subroutine will be automatically
terminated.However, the rest of the system, for example measurement flow, continues working.
Check error information
Error information is shown on macro console.
The error information contains these data :
Error message
Line number
Error statement
Error message shows the cause of the error.
Reference:
List of macro error messages (p.170)
Line number is a number to indicate each lines of the program, and automatically added when macro
program is saved. The program with line number is shown by executing list command from macro
console.
Error statement is a statement causing error.
Reference:
Macro command reference (p.172)
FZ4 User's Manual
Using Custom Command
4
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents