![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686322.webp)
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.
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...