![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686226.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
224
Vision System FH/FZ5 Series
User’s Manual (Z340)
System data
System data is data that can be set or acquired from a different scene using a macro function. Use system
data to set or acquire numerical values or character strings 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))
Use global data when there is no need to save data that you want to set or acquire from a different scene.
When you only want to set or acquire numerical values, use user data.
Reference:
To use new system data, first specify a data identification name and register the system data that you want to
use. Data identification names for system data are Data ID Name 0 and Data ID Name 1. The data
identification names that correspond to ID Information 0 and ID Information 1 must be specified as arguments
of the macro function.
For details on identification information and data identification names, refer to the system data list.
Reference:
• Acquisition of Data
System data is acquired by the method below.
Example:Acquiring the value of "Initial Scene No." in the system data
• Data Settings
The system data setting method is as follows.
Example:Setting the values of Data ID Name 0 "PanDA" and Data ID Name 1 "SData"
Rem Acquire the system data whose Data ID Name 0 is "Configuration" and whose Data ID Name 1 is
"initialSceneNo"
GetSystemData "Configuration", "initialSceneNo", SDATA&
Rem Register 0 as the default value of the system data whose Data ID Name 0 is "PanDA" and whose
Data ID Name 1 is "SData"
AddSystemData "PanDA", "SData", 0
Rem Set 5 in the system data whose Data ID Name 0 is "PanDA" and whose Data ID Name 1 is "SData"
SetSystemData "PanDA", "SData", 5
When adding new data to the system data, specify "PanDA" in Data ID Name 0.
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...