WWW.NNC.IR
Macro Reference
740
Vision System FH/FZ5 Series
User’s Manual (Z340)
Usage Cautions
• Only the user-defined functions that have been defined in programmed DLL files by the supported
interfaces are accepted to This macro function only accepts the user-defined function that have been
defined in programmed DLL files by the supported interfaces. Also, the DLL files must be saved in the
same directory as the FZ-CoreRA.exe For user-defined functions creation, use the FH-AP1.
Example
With identification name "USR", registers a user-defined function "UserProc0" that has been defined in
MacroUserProc.dll. Then, specifies the identification name to call the user-defined function and execute it.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 5.20 or later
Related Items
Call (Reference: X Details (p.421))
Rem Register the user-defined function so that the function can be used in this program
SetUserSubroutine "USR","MacroUserProc","UserProc0"
Rem Call the registered user-defined function and execute it
Call "USR", 0