WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
236
Vision System FH/FZ5 Series
User’s Manual (Z340)
Macro Functions Used for Debugging
Some of the macro functions are effective for debugging. Macro functions that are effective for debugging are
described below.
Specify the program execution mode individually for each function and unit.
• Unit calculation macro, unit macro: specify by processing unit
• Scene control macro: specify by scene
• Communication command macro: specify by communication macro
Macro function Description
Debug
(Reference: Details (p.456))
Select the program usage mode and the information output method used when the
program is executed.
0:
Set the usage mode to release mode. When an error occurs, an error
description is output.
1:
Set the usage mode to release mode. When an error occurs, an error
description is output to the system status console window. This setting is
recommended for times other than when debugging is performed.
2:
Set the usage mode to release mode. When the program is executed, the
contents of each line are output to the system status console window.
3:
Set the usage mode to release mode. When an error occurs, an error
description is output to the message box.
16 :
Set the usage mode to debug mode. When an error occurs, an error
description is output.
17 :
Set the usage mode to debug mode. When an error occurs, an error
description is output to the system status console window.
18 :
Set the usage mode to debug mode. When the program is executed, the
contents of each line are output to the system status console window. This
setting is recommended when normal debugging is performed.
19 :
Set the usage mode to debug mode. When an error occurs, an error
description is output to the message box.
Stop
(Reference: Details (p.747))
This macro function is only enabled in debug mode.
The function is used to stop execution of the program at a break point. You can also
set conditions with the SetStop function. When the specified conditions are met,
execution of the program stops.
SetStop
(Reference: Details (p.723))
This macro function is only enabled in debug mode.
Use this function to set conditions for stopping the program with the Stop function.
DebugPrint
(Reference: Details (p.458))
This macro function is only enabled in debug mode.
The function displays text in the system status console window.