EasyManua.ls Logo

YASKAWA SVC - Sample Programming

YASKAWA SVC
623 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8.4 Phase Control
8.4.3 Sample Programming
8-14
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.
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
input register IL00010.
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-
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.
Line 7: A jogging command (FEED command) is executed for the virtual axis.
IB or IL may be used in some register addresses in place of IW, depending on the data size.
Information

Table of Contents

Related product manuals