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 #423 background image
WWW.NNC.IR
Macro Reference
421
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Call
Executes the registered user-defined function.
Format
Call <subroutineIdent>[; | , <argument>...]
Parameter
Return value
None.
Description
Calls a user-defined function with the specified identification name by the <subroutineIdent> parameter and
executes the function. If the user-defined function has arguments, the specified data by the <argument>
parameter is passed to the user-defined function. In the <argument> parameter, specify an argument
according to the user-defined function definition.
Register a user-defined function with the SetUserSubroutine function before executing this function.
How user-defined functions work depends on the defined processes in external DLL files.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a user-defined function that is not registered is specified for a parameter, an "Illegal function call" error will
occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" error will occur.
In case an error is returned as a result of the user-defined function execution, this Call function will return one
of the following errors.
• Syntax error
• Illegal function call
• Out of memory
• Type missmatch
If this macro function calls a user-defined function that has not been programmed with a supported interface,
an error occurs during the user-defined function processing.
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
<subroutineIdent>
Character
string type
Identification name of the user-defined function that has been registered
<argument>
Integer type
Double
precision real
number data
type
Character
string type
Argument of the user-defined function that has been registered

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