EasyManuals Logo
Home>Omron>Industrial Equipment>SYSMAC FH Series

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #214 background imageLoading...
Page #214 background image
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
212
Vision System FH/FZ5 Series
User’s Manual (Z340)
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 Type identifier Example
Integer @ A@ = 1
Double precision real number @ A@ = 12.34
Character string @ AA@ = ”OMRON”
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.
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.
IMPORTANT
Note

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals