
User Manual
Chapter 7
GFK-1742F
Jan 2020
Programmed Motion
218
7.7.12
Motion Editor Error and Warning Messages
The editor will generate three types of error messages; syntax errors, semantic errors, and
warnings. These are explained below.
The editor will only generate program code if your source motion program contains no
syntactic or semantic errors. If the editor detects unrecognized syntax or semantic errors, it
will generate an error message that can be used to troubleshoot the program. The last page
of this chapter discusses this subject (“Using Error Messages to Troubleshoot
Motion
Programs”).
Error messages displayed in the Status window contain a numeric error code. The following
listing matches error code, error description, and common cause information.
The Motion Editor enforces maximum limits for position, velocity, and acceleration based
8:1 uu/cts scaling.
Syntax Errors
The programming software’s motion editor translates
programs into the code used by the
DSM314. If the source code violates the syntactic rules, the editor cannot recognize the
code and generates syntax errors. Syntax errors will attempt to describe the error source.
Semantic Errors
This section describes parse errors reported by the motion parser and their typical causes.
(M200) Undefined identifier
Text string is not a recognized motion program variable or keyword.
(M201) Parameter register must be in range of P000 - P255
Motion program referenced a parameter register outside the range of P000 - P255.
(M203) CTL variable must be in range CTL01 - CTL32 (DSM314)
Motion program referenced a CTL bit outside the valid range.
(M204) Invalid motion program input
Motion program file contains an invalid character. Motion program files must contain only
ASCII text or white space.
(M210) Hexadecimal constants must be in range of 16#0 - 16#FFFFFFFF
Motion program contains a hexadecimal number outside the valid range.
(M211) Binary constants must be in range of 0 to (2^32)-1
Motion program contains a binary number outside the valid range. A binary number
cannot contain more that 32 binary digits.
(M212) Integer constants must be in range of 0 to 4294967294
Motion program contains an unsigned integer value that cannot be represented in 32 bits.