![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686236.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
234
Vision System FH/FZ5 Series
User’s Manual (Z340)
Exclusive Control in a Process
This primarily uses the communication command macro and scene control macro.
Macro customize functions can be used to perform exclusive control in a process when a program is executed.
Exclusive control must be performed during measurement and communication in order to prevent incorrect
processing, such as a communication command or screen operation accidentally changing the scene during
measurement, or subsequently received data overwriting the currently received data.
Exclusive Control in a Measurement Process
When executing the setting or acquisition of processing unit data, system data, or other data in a program,
and when executing a process that changes scene data such as a scene change, you must first stop
acceptance of measurement triggers during processing.. If data setting, data acquisition, or a scene change
is executed when measurement triggers can be accepted and a measurement trigger is then input during the
setting process, acquisition process, or scene change, there is a risk that data inconsistencies will occur or an
incorrect measurement result will be output. .
To stop acceptance of measurement trigger input, use the MeasureStop function. To enable acceptance of
measurement trigger input, use the MeasureStart function.
Example
Necessity of referring
to this manual
Unit Macro
Communication
Command Macro
Scene Control
Macro
Unit Calculation
Macro
Not required
As needed
Not required
Rem Stop measurement
MeasureStop
Rem Change the scene or set data
Rem Resume measurement
MeasureStart
• When executing a scene change or setting or acquiring processing unit data or other data in a program, always
execute MeasureStop beforehand. If data setting or data acquisition is executed without executing MeasureStop,
there is a risk that measurement may be executed during the setting process or acquisition process and cause
inconsistencies in the data being set or acquired.
• If MeasureStart is not executed after MeasureStop, it will not be possible to accept measurement triggers. The BUSY
signal will remain ON.
• If measurement is to be executed after MeasureStop in a program, execute MeasureStart before executing
measurement. If MeasureStart is not executed after MeasureStop, measurement will not take place when executed.
• With the unit macro or unit calculation macro, create a program that does not require exclusive control. Switching
between the measurement prohibited state and measurement acceptance state during measurement execution may
cause unexpected operation.
IMPORTANT
Содержание 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...