WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
222
Vision System FH/FZ5 Series
User’s Manual (Z340)
• Data Settings
The image data setting method is as follows.
Example:Setting Image Data No. 0 (filtered image) of the Unit No. 2 filtering processing unit in Filtered
Image No. 0, and enabling use as a measurement image by following processing units
Data Types Related to the System
With a macro customize program, data that does not depend on the measurement flow can be set and acquired
by setting or acquiring data held by the system such as user data, global data, and system data.
The data access method varies depending on the data type.
Global Data
Global data is data that can be set or acquired from a different scene using a macro function. Use this when
you want to set or acquire a temporary numerical value or character string that does not need to be saved,
such as an interim result of an operation, as global data.(Reference: XScope of Data and Save Area (p.225))
Use system data when you need to save data that you want to set or acquire from a different scene.
Reference: XSystem data (p.224)
To use new global data, first specify a data identification name and register the global data. Half-width
alphabetical characters and the half-width marks "." and "_" can be used for the global data identification
name.
Reference: XMacro Reference (p.320)
SetMeasureImage 0, 2, 0
Necessity of referring
to this manual
Unit Macro
Communication
Command Macro
Scene Control
Macro
Unit Calculation
Macro
As needed
Type Description
Global Data
Data that can be set or acquired from a different scene using a macro
function. Use this when you want to set or acquire a temporary numerical
value or character string that does not need to be saved, such as an interim
result of an operation.
Reference: XGlobal Data (p.222)
User Data
Data that can be set or acquired from a different scene using a user data
processing item. Use this when you want to set or acquire numerical values
that you want to be retained even if a power interruption occurs or restart is
performed.
Reference: XUser Data (p.223)
System data
Data that can be set or acquired from a different scene using a macro
function. Use this when you want 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: XSystem data (p.224)