Electronic cam, Step 1. selecting the master axis, Ead is the auxiliary encoder for the x-axis – Yaskawa LEGEND-MC User Manual

Page 281: Step 4. specify the slave positions, Where n indicates the order of the point

Advertising
background image

271

LEGEND-MC User’s Manual

Electronic Cam

The electronic cam is a motion control mode which enables the periodic synchronization of the servo
motor with an external device. The LEGEND-MC uses the auxiliary encoder as the master axis.

The electronic cam is a more detailed type of electronic gearing which allows a table-based relationship
between the axes. To illustrate the procedure of setting the cam mode, consider the cam relationship for
the slave axis X. Such a graphic relationship is shown in the following illustration -

Electronic Cam

Example

.

Step 1. Selecting the master axis

The first step in the electronic cam mode is to select the master axis. This is done with the instruction

EAD is the auxiliary encoder for the x-axis

For the given example, since the master is x, we specify EADX

Step 2. Specify the master cycle and the change in the slave axis.

In the electronic cam mode, the position of the master is always expressed within one cycle. In this
example, the position of x is always expressed in the range between 0 and 6000. Similarly, the slave
position is also redefined such that it starts at zero and ends at 1500. At the end of a cycle when the
master is 6000 and the slave is 1500, the positions of both x and y are redefined as zero. To specify the
master cycle and the slave cycle change, we use the instruction EM and MM.

EM x; MMx

where EMx specifies the cycle of the slave over one cycle and MMx specifies the cycle of the master.

The cycle of the master is limited to 8,388,607 whereas the slave change per cycle is limited to
2,147,483,647. If the change is a negative number, the absolute value is specified. For the given example,
the cycle of the master is 6000 counts and the change in the slave is 1500. Therefore, we use the
instructions:

EM 1500; MM 6000

Step 3. Specify the master interval and starting point.

Next we need to construct the ECAM table. The table is specified at uniform intervals of master
positions. Up to 256 intervals are allowed. The size of the master interval and the starting point are
specified by the instruction:

EP m,n

where m is the interval width in counts, and n is the starting point.

For the given example, we can specify the table by specifying the position at the master points of 0, 2000,
4000 and 6000. We can specify that by

EP 2000,0

Step 4. Specify the slave positions.

Next, we specify the slave positions with the instruction

ET[n]=x

where n indicates the order of the point.

Advertising