
User Manual
Chapter 7
GFK-1742F
Jan 2020
Programmed Motion
220
(M236) Jump destination block not defined
The motion program or subroutine has a JUMP statement to a block number that has not
been defined.
(M237) Call destination subroutine not defined
The motion program or subroutine contains a call to a subroutine that has not been defined.
(M238) Program must be in range 1
–
10
A PROGRAM statement is attempting to define a program number that is outside the valid
range.
(M239) Attempt to redefine program. Program already defined
A PROGRAM statement is attempting to define a program using a program number that is
already defined.
(M240) End program definition with ENDPROG statement
A PROGRAM has been terminated with an ENDSUB statement, or an ENDSUB statement was
encountered within a program.
(M242) Missing ENDPROG statement
A PROGRAM had not been terminated with an ENDPROG statement when the end of file was
encountered.
(M243) Subroutine must be in range 1
–
40
A SUBROUTINE statement is attempting to define a subroutine number that is outside the
valid range.
(M244) Attempt to redefine subroutine. Subroutine already defined
A SUBROUTINE statement is attempting to define a program using a subroutine number
that is already defined.
(M245) End subroutine definition with ENDSUB statement
A SUBROUTINE has been terminated with an ENDPROG statement, or an ENDPROG
statement was encountered within a subroutine.
(M246) No subroutine is being defined
The program block contains an ENDSUB command, but there is no open SUBROUTINE.
(M247) Subroutine cannot call itself
The DSM does not support any kind of recursion. Once invoked a subroutine cannot call
itself or be called by a subroutine that it has invoked.
(M248) Axis definition of subroutine must match caller
An attempt has been made to call a single-axis subroutine from a multi-axis program or
subroutine, or call a multi-axis subroutine from a single-axis program or subroutine.