Yaskawa MotionWorks IEC Toolboxes User Manual
Page 125

Cam Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
112
slave cycle, the distance between two successive registrations is 0.86201 units (0.5 + 0.36201). The actual bag
length in this case is 0.86201 units.
The calculation on how much adjustment needs to be made to make the slave axis (film feed) place the film
exactly at the cutter/pinch location is explained below:
Correction = Nominal part size (1.0) Actual bag length (0.86201)= -0.1379
This will be the amount of offset added/subtracted (for this cycle) to any previous offsets in the slave position.
A continuous sequence of short, long, short bag lengths is illustrated in the logic analyzer plots below.
The first occurrence of TouchProbe.Done in the figure triggers a calculation that shows a short bag. A small
negative offset is calculated and can be seen by the dip to negative velocity at the end of the first master cycle.
The registration mark in the middle of the second master cycle triggers a calculation that results in a long bag
and a positive offset. This is seen as the spike in slave velocity between 0.65 and 0.86 units of the master cycle.
The last registration mark in the figure (in the middle of the third master cycle) triggers a calculation that
results in a short bag and a negative offset. This is seen as the dip in slave velocity between 0.65 and 0.86 units
of the master cycle.