1) label, 2) motion language commands, 3) logical axis name – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 91: Mvs 20.0

Advertising
background image

7.1 Motion Program Format

7-3

7

Programming

(1) Label

A label consists of a character string containing from one to eight alphanumeric characters or symbols, a colon
[:], and a space or TAB.

A label is required when using a Parallel Fork command (PFORK) or Selective Fork command (SFORK) com-
mand. If a PFORK or SFORK command is not used, the label description is not required.

Label Coding Example

(2) Motion Language Commands

Code a motion language command.
Refer to Chapter 8 Command Reference or Appendix A Motion Language Commands for information on motion
language commands.

(3) Logical Axis Name

Code a logical axis name set in the Group Definition window. The logical axis name must be enclosed in brack-
ets [ ].

PFORK LAB1, LAB2;
LAB1:

ZRN [A1]0 [B1]0 [C1]0;

JOINTO LAB3;
LAB2: MVS [D1]100.0 [E1]200.0 [F1]300.0;
JOINTO LAB3;
LAB3: PJOINT;

LABEL :

;

A character string

containing one to eight

characters

Colon

Space or TAB

Note: Numbers cannot be used at the heads

of labels.

Type

Available Characters

Letters

A to Z, a to z

Numbers

0 to 9

Symbols

_ (hyphen)

EXAMPLE

A1

Logical axis name

(A character string

containing from one

to eight characters)

[

]

MVS

20.0 ;

Type

Available Characters

Letters

A to Z, a to z

Numbers

0 to 9

Advertising