Omron SYSMAC FH Series User Manual page 214

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

• Reference variables
Reference variables are defined by the user and can be used to reference processing unit data, global
data, and system data.
(Note: When using the macro customize functions, a macro function can be used to set and acquire data
such as processing unit data and system data. Reference variables allow you to handle processing unit
data and system data without using the macro function.)
Reference variables must be set in advance in the program editing screen of the "Unit Macro" processing
item, "Unit Calculation Macro" processing item, or the scene control macro tool. For the setting method,
refer to the setting screen of each processing item.
Type identifiers that can be used with reference variables are shown below.
Reference variable data type
Integer
Double precision real number
Character string
IMPORTANT
• The data type (integer, real number, etc.) can be identified from the type identifier of a regular variable, however,
identification of the data type from the type identifier is not possible with a reference variable. When using a
reference variable, check the data type of the allocated data before using the variable.
• A reference variable setting is saved in scene data, however, the value itself that the reference variable
references is not saved. If you want to save the value, use user data.
Note
• If you set the name of a reference variable in the properties screen the type identifier of the reference variable is
automatically added to the reference variable name.
• There is no limit on the number of reference variable settings that can be added. However, there is a limit on the
total number of variable name characters per processing unit of the unit macro and unit calculation macro, and
the number of variable name characters per scene of the scene control macro. When the reference variable
name is 32 characters, about 1000 reference variable settings can be added.
212
Basic Knowledge For Macro Customize Functions
Type identifier
@
@
@
WWW.NNC.IR
Example
A@ = 1
A@ = 12.34
AA@ = "OMRON"
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents