WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
223
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)
• Acquisition of Data
Global data is acquired by the method below.
Example:Acquiring the data identification name "GData" value
• Data Settings
The global data setting method is as follows.
Example:Setting the data identification name "GData" value
User Data
User data is data that can be set or acquired from a different scene using a user data processing item. Use
user data to set or acquire numerical values that you want to be retained even if a power interruption occurs
or restart is performed. (Reference:
Scope of Data and Save Area (p.225))
When there is no need to save data that you want to set or acquire from a different scene, use global data.
When you want to set or acquire not only numerical values but character strings as well, use system data.
Reference:
Before using user data, you can set the default values of the user data with the user data tool.
Reference:
X
"User Data Tool" in the “Vision System FH/FZ5 Series User's Manual (Cat. No. Z340)”.
• Acquisition of Data
The user data processing item is used to acquire user data.
Reference:
X
"User Data" in the “Vision System FH/FZ5 Series Processing Item Function Reference
Manual (Cat. No. Z341)"
• Data Settings
A user data processing item is used to set user data.
Reference:
X
"User Data" in the “Vision System FH/FZ5 Series Processing Item Function Reference
Manual (Cat. No. Z341)"
Rem Register the default value 10 for the global data whose data identification name is "GData"
AddGlobalData "GData", 10
Rem Acquire global data with the data identification name "GData"
GetGlobalData "GData", GDATA&
Rem Register the default value 10 for the global data whose data identification name is "GData"
AddGlobalData "GData", 10
Rem Set 15 in the global data with the data identification name "GData"
SetGlobalData "GData", 15
Содержание 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...