A.2 motion compile error messages – Yaskawa MP900 Series Machine Controller for Standard Operation User Manual

Page 485

Advertising
background image

A-9

A

A.2 Motion Compile Error Messages

The following table shows a list of compile errors in motion programs. All error messages
and their causes are outlined in the table. If an error occurs, refer to the table and adjust the
motion program accordingly.

Error Message

Probable Cause

Syntax error

• Illegal command or no command.
• Illegal = (allocation operator).
• Inappropriate operator designation.
• Illegal comparison operator or inappropriate position.
• An odd number of parentheses.
• Undefined characters used.
• Excessive number of items in an equation.
• WHILE and WEND commands do not match.
• IF and IEND commands do not match.
• Other syntax error

Incorrect address designation

• Illegal address designation for command language or no address.

Variable range exceeded

• The register (variable) range has been exceeded.

Arithmetic expression contains unusable
variable type

• Illegal register type.
• Illegal register kind.

Cannot load arithmetic expression

• When an arithmetic expression is loaded, a maximum of 10 words of local

variables (D variables) are used as the work area during one parallel exe-
cution. This error will occur if this maximum is exceeded. Local variables
acting as work areas are used in the manner outlined below, and are
released and can be reused when one block of processing has been com-
pleted.

Cases where Local Variables are Used as Work Areas

1. When arithmetic expressions are loaded in order of priority, work areas

are used to temporarily store the results of operations that are calculated
first. Multiple words are used depending on the complexity of the
expression.

2 Work areas are used to temporarily store function results when functions

have been used in arithmetic expressions. Two words are used for each
function.

3 Work areas are used to temporarily store operation results when arith-

metic expressions have been used for coordinate designation in motion
commands. Two words are used for each coordinate command in which
arithmetic expressions are specified.

Too many decimal places

• The decimal point position is incorrect. There are too many decimal

places.

• The limit for the number of digits designated to a value has been

exceeded.

• The range designated to a value has been exceeded.

Integer size exceeded

• The limit for the number of digits designated to a value has been

exceeded.

• The range designated to a value has been exceeded.

Axis name error

• The physical or logical axis name has not been registered in the group def-

initions.

• The same axis name has been used multiple times in one motion command

statement.

Advertising