Omron SYSMAC FH Series User Manual page 458

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

Advertisement

Debug
Set the program execution form and information output method.
Format
Debug <mode>
Parameter
Parameter
Data type
name
<mode>
Integer type
Return value
None.
Description
Sets the program execution form and information output method specified in the <mode> parameter.
Debug mode can be set to debug the program using macro functions that are only executed in debug mode.
Set the mode to release mode after the debug so that there will be no need of removing DebugPring
functions and other macro functions that are only used in debug mode from the program. (How to Use the
Debug Function (p.235))
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values are specified for a
parameter, an "Illegal function call" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
456
Macro Reference
Execution form and information output method
0:
Release mode, no error description is output when an error occurs
1:
Release mode, an error description is output to the system status console
window when an error occurs.
2:
Release mode, the contents of each line are output to the system status
console window when the program is executed.
Release mode, an error description is output to the message box when an
3:
error occurs.
16:
Debug mode, no error description is output when an error occurs
17:
Debug mode, an error description is output to the system status console
window when an error occurs.
18:
Debug mode, the contents of each line are output to the system status console
window when the program is executed.
Debug mode, an error description is output to the error box when an error
19:
occurs.
WWW.NNC.IR
Description
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents