![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686191.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
189
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)
Nothing happens when [DEL], [BS], [Enter], etc., is clicked
Want to include a line feed code in a string
Calculation result is indicated as "Unmeasured"
Measurement Results That Can be Output (Unit Calculation Macro)
The measurement results provided by the unit calculation macro are shown below. The measurement results appear
in the detailed result area, and you can also use a result output processing item to output the measurement results
to an external device.
Refer to the "External Reference Tables" for the parameters that can be referenced, including measurement results.
(Reference:
External Reference Tables (Unit Calculation Macro) (p.189))
External Reference Tables (Unit Calculation Macro)
By specifying a number, you can access the following data from processing items that support processing
unit data setting/acquisition, and from control commands.
Parameter to be adjusted
Troubleshooting
-
Nothing happens while the focus is not on the code window (key entry cursor is not
displayed). Click the position you want to operate, and then click the button.
Parameter to be adjusted
Troubleshooting
Macro code
Add (+) CR
→
Chr$(13) LF
→
Chr$(10) to the string.
Parameter to be adjusted
Troubleshooting
Enabled/disabled
Place a check to enable the operator.
Calculation judgement
The judgement result may not be set correctly in calculation judgement.
Measurement items
Character string
Description
Judge
JG
Judgement result
Calculation result 0 DT00
Calculation result 0
Judgement result 0 JG00
Judgement result 0
:
Calculation result 31 DT31
Calculation result 31
Judgement result 31 JG31
Judgement result 31
No.
Data name
Set/Get
Data range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5 + N
×
1
(N = 0 to 31)
Calculation result N (N = 0 to
31)
Set/Get
-99999.9999 to 99999.9999
37 + N
×
1
(N = 0 to 31)
Judgement result N (N = 0 to
31)
Get only
-99999.9999 to 99999.9999
Содержание 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...