![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222296.webp)
4
Using
Tool
294
Using Custom Command
FZ4 User's Manual
Temporarily saves the value of a variable.
Varpush <Variable Name 1>[,<Variable Name 2>[,...,<Variable Name N>]])
Parameters
<Variable Name>
The name (variable name) of the variable to be saved.
Return Value
None.
Description
The value of the variable specified by <Variable Name N> is saved temporarily.
By combining the saving and returning of a variable, it is possible to use the interim variable as an
internal variable.The creative efficiency and maintainability of a large program can be enhanced through
the use of internal variables.
If the variables fit within a row (255 characters), as many as desired can be saved at one time.
Saved variable values are stored in a hierarchy of up to 16 levels.The levels are increased by 1 each
time saving is carried out and reduced by 1 each time a return is done.Saving to the 17th hierarchical
level will result in an "Internal error".
Only integer and double-precision variables can be saved.Character string and mixed character string
variables cannot be specified.
Executing the New command and the Load command will clear all of the saved variable values.
Example
Declare an array.
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......