![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686460.webp)
WWW.NNC.IR
Macro Reference
458
Vision System FH/FZ5 Series
User’s Manual (Z340)
DebugPrint
Outputs debug information to the system status console window.
Format
DebugPrint <expression>[;|, <expression>...]
Parameter
Return value
None.
Description
Outputs the numerical expression or character string specified in the <expression> parameter to the system
status console window. (Reference:
Description of the System Status Console Window (p.185))
If an 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
• This macro function is only enabled when specified in debug mode with the Debug function. Specifying
other values than the range above will treat the statement with this function in the same manner with the
Rem function (i.e., ignores the statement). (Reference:
How to Use the Debug Function (p.235))
• After the data output to the system status console window, the window is displayed on top of the Sensor
Controller main screen. To display the system status console window on top of the main screen, click [_] on
the upper-right of the system status console window or press [Alt] + [Tab] on the connected USB keyboard
to the sensor controller.
Example
Outputs a debug information (character string) to the system status console window in debug mode.
Parameter
name
Data type
Description
<expression>
Integer type
Double
precision real
number data
type
Character
string type
Array
Numerical expression or character string to be output
Rem Set the execution form to debug mode.
Debug 18
Rem Output character string "Result = OK" as the debug information
DebugPrint "Result = " + "OK"
Rem Set the execution form to release mode.
Debug 1
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...