CNC8070
R
EF
. 0402
OF 128
E
RROR
SOLUTIONS
Page 24 of 128
Errors 1000-1999
1162 'M17/M29/#RET not expected'
DETECTION During execution.
CAUSE M17/M29/#RET has been detected as end of program.
SOLUTION Program M30/M02 as the end of the main program.
If the error persists, check that all the local subroutines (%L) and global ones end with
M17/M29/#RET.
1163 'M30/M02 not expected'
DETECTION During execution.
CAUSE An M30 or M02 has been detected as end of subroutine.
SOLUTION Check that all the local subroutines (%L) and global ones end with M17/M29/#RET.
1164 'Unknown term in mathematical expression'
DETECTION During execution.
CAUSE In the mathematical expression a term has been written that is wrong for the control
syntax.
SOLUTION Check all the terms of the expression: variables, parameters, operators, etc.
1165 'Nonexistent variable'
DETECTION During execution.
CAUSE The possible causes are:
• The requested variable does not exist.
• Syntax error in the name of the variable.
• The variable is an array and the array index has not been indicated.
• A general variable has been requested for a particular axis or the other way
around.
SOLUTION Check the program.
1166 'Square root of a negative number'
DETECTION During execution.
CAUSE In a mathematical expression, the square root "SQRT" of a negative number has been
programmed.
SOLUTION Check the program.
1167 'Logarithm of a negative number or zero'
DETECTION During execution.
CAUSE In a mathematical expression, the logarithm "LOG" or "LN" of a negative number or
zero has been requested.
SOLUTION Check the program.
1168 'Variable index out of range'
DETECTION During execution.
CAUSE The index requested for the array variable is wrong.
SOLUTION The minimum admissible index for an array variable is 1 and the maximum depends
on which variable it is. There are particular instances where the index 0 is admitted:
G.GS, G.MS, G.LUP1, … G.LUP7, G.LUPACT and MTB.P.
1170 'The #SYNC POS instruction must be programmed alone in the block'
DETECTION During execution.
CAUSE Only the block number of a label may be programmed in the same block as an
instruction.
SOLUTION Program them in different blocks.
1171 '# instructions must be programmed alone in the block'
DETECTION During execution.
CAUSE Only the block number of a label may be programmed in the same block as a "#"
instruction.
The only exception is the #AXIS instruction that must be programmed in the same
block as function G201.
SOLUTION Programning in different blocks.