WWW.NNC.IR
Macro Reference
803
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
VarPop (Reference: X Details (p.798))
Rem Use the EXPB subroutine to save the current values of the variables in order to prepare for treating the variable
as local variables.
Rem Values in variables A&, B&, C&, D#, E# are saved in different areas from
Rem where the VarPush statement in the earlier part of the *EXPA subroutine saves.
Rem This prevents the previously saved values from being overwritten.
Rem VarPush can be executed up to 16 times consecutively.
Varpush A&, B&, C&, D#, E#
Rem Use A&, B&, C&, D#, and E# freely.
GetUnitData 2, "X", A&
GetUnitData 3, "X", B&
GetUnitData 4, "X", C&
D# = 3
E# = 100 / 512
Rem Check the current values of the variables after change.
Print A&, B&, C&, D#, E#
Rem Restore the current value of the variables that were saved at the beginning of the subroutine EXPB.
VarPop
Return