EasyManuals Logo
Home>Omron>Industrial Equipment>SYSMAC FH Series

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 #322 background imageLoading...
Page #322 background image
WWW.NNC.IR
Macro Reference
320
Vision System FH/FZ5 Series
User’s Manual (Z340)
Macro Reference
Error List
If an error occurs during execution of the program of a macro customize function, you can identify the cause of
the error from the error number and error message that are displayed. The error messages that may appear are
described below.
No. Error Message Explanation Action
1 NEXT without FOR
A Next statement occurs without a
corresponding For statement.
Write For properly in a For - Next statement.
2 Syntax error
Incorrect function format or spelling,
or a function is not used in
accordance with the rules.
Check the macro function reference and correct the
function format or spelling.
3
RETURN without
GOSUB
A Return statement occurs without a
corresponding Gosub statement.
A Gosub function does not exist or is not written
correctly. Write the Gosub function correctly.
5 Illegal function call
The argument specified for a function
is not within the allowed range,or an
error occurred when the function was
executed.
Occurs when a macro function argument is not within
the allowed range. Check the macro function reference
and set the macro function argument appropriately.
If the macro function is executed from an inappropriate
subroutine, execute from an appropriate subroutine.
6 Overflow
The calculation result or entered value
is not within the allowed range for
double precision real numbers, or the
character string length is over the
allowed range.
Occurs when a double precision real number value is
not within the range -1.0E30 to 1.0E30. Correct the
process so that the value is within the double precision
real number range.
Occurs when the length of a character string variable or
constant is over 255 characters. Shorten the character
string length.
7 Out of memory
Insufficient sensor controller working
memory,or a loop process is nested
too deep.
Occurs when too many character strings or array
variables are used in a program. Decrease the number
used until the error no longer occurs.
Occurs when the number of nested levels in a loop
process is too large. Decrease the number of nested
levels until the error no longer occurs.
8
Undefined line
number
The program branches to an
undefined line number.
Occurs when a Goto or other function branches to a
non-existent line number. Specify an existing line
number, or use a <label> instead of a line number to
specify the branch destination.
9
Subscript out of
range
An attempt was made to use an array
element with an index over the
declared maximum.
Occurs when an attempt is made to access an array
variable over the number of array variable elements
declared in the Dim instruction. Change the element
number to a number equal to or less than the number of
elements, or change the number of declared elements.
11 Division by Zero Division by zero was attempted.
Division by 0 is not possible. Divide by a value other than 0.
13 Type mismatch
Variable types do not match, such as
on the left or right side of an
expression, or in the argument of a
function.
Occur when variable types do not match on the left or
right side of an expression, or in the argument of a
function. Specify the correct variable type or array
variable.
Occurs when a character string is assigned to a numerical
value, or a numerical value is assigned to a character
string. Assign a numerical value to a numerical value, and
a character string to a character string.
15 String too long
The number of characters in a
character string assigned to a
character string variable is over 255.
If the character string variable is over 255 characters,
break the string into two variables.

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