A-17 – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 338

Advertising
background image

App

B Sample Programs

A-17

B.4 Simple Synchronized Operation Using a Virtual Axis

With this sample program, a motion program is used to move an SVR (virtual axis), and two copies of the SVR
feedback position are made by a ladder program for two actual axes to perform a two-axis synchronized opera-
tion.

• Motion Program

FMX T10000K; "Sets the max. interpolation feed speed. (K=1000)
INC; "Incremental mode
IAC T500; "Interpolation acceleration time = 500 ms
IDC T500; "Interpolation deceleration time = 500 ms
MVS [SVR] 1000K F10000K; "Interpolation with movement amount 1000000
END;

SVR (Virtual axis)

Axis 1

Axis 2

Use the motion program to

execute single-axis interpolation.

Use the ladder progam to make copies of

the SVR (virtual axis) feedback position.

Axis 1 and Axis 2 use the copied feedback

position to perform two-axis synchronized

operation.

SVB

Advertising