User`s manual

Programmed Motion
GFK-1742A Chapter 7 Programmed Motion 7-49
7
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 VersaPro 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.
(M213) Signed integer constants must be in range of -2147483648 to 2147483647