3) programming examples – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 192

Advertising
background image

8.3 Axis Control Commands

8-85

8

Command Reference

(3) Programming Examples

An INP command programming example is shown below.

EXAMPLE

ABS;
MOV [A1]0 [B1]0;

“ Positioning to the zero point

INP [A1]100 [B1]200;

Sets the in-position check width

MVS [A1]1000 PFN;
MVS [B1]1000 PFN;
MVS [A1]-1000 ;
END;

Fig. 8.51 INP Command Programming Example

B1

A1

1000

200

100

(0, 0)

-1000

1000

Advertising