![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686197.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
195
5
Optimizing Scene
s (
M
ea
su
re
men
t Flo
w
s)
(M
acr
o
Custo
m
ize
Fu
ncti
ons)
Vision System FH/FZ5 Series
User’s Manual (Z340)
Common Behavior of Custom Commands
Basic sequence
Normally, each of IO commands are processed in the sequence as below :
1
Check input command and parameters are valid (range or type)
2
Body of the procedure
3
Output the result or response
The way of input/output command, parameters and response depends on the type of IO modules.
For detail, please refer the pages shown below.
Creating serial command (p.197)
Creating Parallel Command (p.198)
Creating PLC Link Command (p.198)
Creating Fieldbus command (p.198)
Control BUSY signal
Basically the BUSY flag on Customize I/O command list window should be ON.
Executing measurement (Measure command) with BUSY flag set to ON causes error.
If you need to combine measure command with the command which is necessary to set BUSY ON (For example,
switching scene and executing measurement), please set BUSY flag OFF and write the program
like this way:
MeasureStop
' Set BUSY ON (Forbid measurement)
ChangeSceneArgumentValue#(0)
' Execute the command which can be used with BUSY ON condition
MeasureStart
' Set BUSY OFF (Permit measurement) before measurement
Measure
' Execute measurement
IMPORTANT
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...