beckhoff TwinCAT 2 Motion — 2.2 Channel Errors

Overview of NC Errors NC Errorcodes 12 Version: 1.1 Error(Hex) Error(Dec) Error type Description The NC encountered a computation error during execution: division by 0. 4121 16673 NC programming Invalid circle parameterization The NC has detected a calculation error during processing: the specified circle is not calculable. 4122 16674 NC programming Invalid FPU-Operation The NC encountered an invalid FPU-Operation during execution. This error occurs e.g. by calculating the square root of a negative number 4130 16688 NC programming Stack overflow: Subroutines The NC has detected a stack overflow while processing: Too many subroutine levels. 4131 16689 NC programming Stack underflow:

Subroutines The NC has detected a stack underflow while processing: Too many subroutine return commands. A main program must not be terminated with a return command. 4132 16690 NC programming Stack overflow: Arithmetic unit The NC has detected a stack overflow during processing: the calculation is too complex or is not written correctly. 4133 16691 NC programming Stack underflow: Arithmetic unit The NC has detected a stack underflow during processing: The calculation is too complex or is not written correctly. 4140 16704 Parameter Register index not allowed The NC has detected an invalid register index during processing:

The program contains an invalid specification (not R0...R999) or a pointer register contains an invalid value. 4141 16705 NC programming G-function index not allowed The NC has encountered an unacceptable G- function (not 0...159) during execution. 4142 16706 NC programming M-function index not allowed The NC has encountered an unacceptable M- function (not 0...159) during execution. 4143 16707 NC programming Extended address specification not allowed The NC has encountered an unacceptable extended address (not 1...9) during execution. 4144 16708 NC programming Index to the internal H-function not allowed The NC has encountered an unacceptable internal H-function in the course of processing.

This is usually a consequence of an error during loading. 4145 16709 Parameter Machine data value not allowed While processing instructions the NC has detected an impermissible value for the machine data (MDB) (not 0…7). 4150 16720 Parameter Tool compensation parameters cannot be changed here