Jcoding numbers and variables, Constants – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 46

Advertising
background image

Overview of Motion Programs

1.2.2 Controlled Axes

1 -32

Designation Example 1: Absolute programming mode for an infinite-length axis

ZRN

[X1] 0;

INC MOV [X1] 180.0;
ABS MOV [X1] 270.0; Moved clockwise

(in the forward direction) to 270_

270_

180_

90_

0_

270_

180_

90_

0_

Designation example 2: Absolute programming mode for an infinite-length axis

ZRN

[X1] 0;

INC MOV [X1] 180.0;
ABS MOV [X1] −270.0; Moved counterclockwise

(in the reverse direction) to 270_

1
2

1

2

1

2

1
2

In the designation of the absolute programming mode for an infinite-length axis, a counterclockwise designa-
tion cannot result in +0.0 with a movement to the 0_ position. In this case, be sure to designate +360.0.

J

Coding Numbers and Variables

The numbers that can be used in motion programs are classified into constants and variables. The
method of setting numbers is shown in Table 1.15.

Constants

Table 1.15 Specifiable Numeric Notation

Classification

Range

Coding Example

Decimal Integers

−2147483648 to 2147483647

0, 734, +823, −2493

Decimal Fractions

−214748.364 to 2147483.647

Changes according to the setting
of the number of digits after the
decimal point.

763., +824.2, −234.56

−321.12345

Hexadecimal Integers

0 to FFFFFFFFH

FFFABCDEH, 2345H, FH

Real Numbers

±(1.175E−38 to 3.402E+38), 0

123.45, −765.4321

1

INFO

Advertising
This manual is related to the following products: