WWW.NNC.IR
Macro Reference
619
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
MeasureStop
Prohibits input of the measurement trigger.
Format
MeasureStop[ <mode>]
Parameter
Return value
None.
Description
In the measurement trigger input prohibited mode specified in the <mode> parameter, prohibits measurement
trigger input and communication command input, and sets the measurement prohibited state. After executing
this macro function to prohibit measurement trigger input, execute the MeasureStart function to return to the
measurement allowed state.
After executing the MeasureStop function, be sure to execute the MeasureStart function. If the MeasureStart
function is not executed or the MeasureStop function is executed without executing the MeasureStart
function, unexpected operation may occur.
If the <mode> parameter is omitted, operation is the same as when 0 is specified for the <mode> parameter.
There are macro functions that can and cannot be executed in the measurement allowed state and in the
measurement prohibited state. For details, refer to the explanations of the macro functions and usage
cautions.
When measurement trigger input is prohibited, measurement in progress signals such as the BUSY signal
turn ON.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even if a non-existent number, numerical value, or combination of data types is specified for the parameter,
an "Illegal function call" error will not 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.
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
• Execute this macro function when a measurement-in-progress signal such as the BUSY signal is OFF and
measurement is allowed. (Reference: XState Transitions and Execution Timing (p.227))
Parameter
name
Data type Description
<mode> Integer type Measurement trigger input prohibited mode (always 0)