WWW.NNC.IR
Macro Reference
747
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Stop
Stops program execution.
Format
Stop [<string>]
Parameter
Return value
None.
Description
When the character string specified in the <string> parameter matches the character string set as the
execution stop condition by executing the SetStop function, program execution stops.
To resume the stopped program, use the Cont function in the system status console window.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" 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: XHow 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
Stops the program execution using the specified condition using the SetStop function in debug mode.
Parameter
name
Data type Description
<string>
Character
string type
Execution stop condition label
This parameter can be omitted.
Without If the parameter is not specified, program execution stops at the point that
this function is executed.