4) coordinate words, 4 (4) coordinate words – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 92

Advertising
background image

7 Programming

7.1.2 Block Format

7-4

(4) Coordinate Words

A coordinate word is a numerical value or a variable to be coded after an axis name. A coordinate word specifies
the reference position, speed, acceleration/deceleration rate, and other items.

• Using Numbers for a Coordinate Word

Write a numerical value after an axis name to directly specify the coordinate word.
Both integers and real numbers can be used for a numerical value. However, special care must be taken
when using integers.
When the reference unit is set to 0.001 mm and the reference position “1000 (integer numbers)” is written
in the coordinate word, for example, the Machine Controller interprets it as 1.000 mm. When writing
“1.000 (real numbers),” the Machine Controller interprets it as it is (1.000 mm).

• Using a Variable for a Coordinate Word

Write a double integer type variable after an axis name to indirectly specify the coordinate word.
When the reference unit is set to 0.001 mm with indirect designation using a variable, and the register
value is set to 1000, the Machine Controller interprets the coordinate word as 1.000 mm in the same way
as for an integer value set in the above example.

The coordinate word unit depends on the command and motion module settings. Refer to 7.2.2 Reference Unit for informa-
tion on the coordinate word unit.

MVS [A1]1000;
or
MVS [A1]1.000;
or
MVS [A1]1.;

→ 1.000 mm

→ 1.000 mm

→ 1.000 mm

ML00000 = 1000;
MVS [A1]ML00000;

→ 1.000 mm

EXAMPLE

EXAMPLE

INFO

Advertising