WWW.NNC.IR
Macro Reference
804
Vision System FH/FZ5 Series
User’s Manual (Z340)
VarSave
Saves the values of the variables in the scene data.
Format
VarSave <variableName>
Parameter
Return value
None.
Description
Saves the values of the variables specified in the <variableName> parameter to the scene data.
Characters * (character string wildcard operator) and ? (single character wildcard operator) can be used as
wildcards for the <variableName> specification.
Wildcards can be used to specify file names in the following manner.
The variable value saved with this macro function will be read when the scene data is loaded.
If this macro function is executed multiple times, values are restored to the original variables in execution
order of the VarSave statement (from the oldest saved variable value to the latest saved variable value) at the
loading of the scene data.
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 for a character string 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.
Usage Cautions
• This macro function can only be used in the *SAVEPROC subroutine. If used in another subroutine, an
"Illegal function call" error will occur.
Parameter
name
Data type
Description
<variableName>
Character
string type
Name of the variables to save
*
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.
Содержание 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...