![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222171.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
169
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)
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......