EasyManuals Logo

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 #743 background imageLoading...
Page #743 background image
WWW.NNC.IR
Macro Reference
741
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetVar
Sets all variables with the specified variable names.
Format
SetVar <variableName>, <value>
Parameter
Return value
None.
Description
This sets the value specified in the <value> parameter in the variable specified in the <variableName>
parameter. Set a value of the same data type in the <value> parameter as the variable specified in the
<variableName> parameter.
Characters * (character string wildcard operator) and ? (single character wildcard operator) can be used as
wildcards for the <variableName> specification. When using a wildcard to specify multiple variables in the
<variableName> parameter, make sure that the specified variables are the same data type.
Wildcards can be used to specify file names in the following manner.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even if a non-existent number, numerical value, or combination of data types or values is specified for the
parameter, an error will not occur.
If a character string longer than 255 characters is specified in the <variableName> parameter, a "String too
long" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Parameter
name
Data type Description
<variableName>
Character
string type
Name of variable to be set
<value>
Integer type
Double
precision real
number data
type
Character
string type
Value to be set
* Specify all variables.
??? Specify variables with a 3-character variable name.
A* Specify variables with a variable name that starts with "A".
*A*A*A* Specify variables with a variable name that includes at least three "A" letters.
????* Specify variables with a variable name that consists of four or more characters.

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