WWW.NNC.IR
Macro Reference
724
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Stops the program execution using the specified condition using the SetStop function in debug mode.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 5.20 or later
Related Items
Rem Set the execution form to debug mode.
Debug 18
SetStop "AA?"
SetStop "B*"
Rem If character string "AAB" specified in the Stop function argument matches pattern "AA?", the program stops.
Stop "AAB"
Rem If character string "AABB" specified in the Stop function argument does not match pattern "AA?", the program does
not stop.
Stop "AABB"
Rem If character string "BCDEF" specified in the Stop function argument matches pattern "B*", the program stops.
Stop "BCDEF"
Rem If character string "CDEF" specified in the Stop function argument does not match pattern "B*", the program does
not stop.
Stop "CDEF"
Rem Set the execution form to release mode.
Debug 1
Cont (Reference: X Details (p.436)) Debug (Reference: X Details (p.456))
DebugPrint (Reference: X Details (p.458)) List (Reference: X Details (p.597))
Print (Reference: X Details (p.639)) SetVar (Reference: X Details (p.741))
Stop (Reference: X Details (p.747)) VarList (Reference: X Details (p.796))