Sample Programming - YASKAWA SVC User Manual

Mp3000 series machine controller, motion control
Table of Contents

Advertisement

8.4 Phase Control

8.4.3 Sample Programming

Monitor Parameters
Axis 1 of the SVR Function Module is used as the virtual axis. The motion register addresses of
the monitor parameters are IW08800 to IW0887F.
Two axes of the SVC Function Module are used as physical axes. The motion register
addresses of the monitor parameters for axis X are IW08000 to IW0807F. The motion register
addresses of the monitor parameters for axis Y are IW08080 to IW080FF.
Information
The SVR Function Module circuit number is set to 2 and the axis number is set to 1. The SVC
Function Module circuit number is set to 1, the axis number for axis X is set to 1, and the axis
number for axis Y is set to 2.
8.4.3

Sample Programming

An example of a ladder programming that uses a motion command (PHASE command code =
25) to position an axis is shown the following figure.
Line 0: It is confirmed that the virtual axis is not executing any command.
Line 1: Settings required for virtual axis operation are made. The speed reference is read from
Lines 2 and 3: The speed loop gains are set for the two physical axes.
Lines 4 and 5: It is confirmed that both SVC axes are not executing any command.
Line 6: If the operation command (IB010002) is ON, lines 7 to 11 are executed and then exe-
Line 7: A jogging command (FEED command) is executed for the virtual axis.
8-14
IB or IL may be used in some register addresses in place of IW, depending on the data size.
input register IL00010.
cution proceeds to line 20. If the operation command is OFF, lines 13 to 18 are exe-
cuted and then execution proceeds to line 20.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Svc32SvrSvr32

Table of Contents