beautypg.com

Application example – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 112

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

99

Application Example

This example illustrates how the CamControl block can be applied in a linear flying shear application. In this
application, the items to be cut are defective areas (knots) in a piece of wood. The code shown here performs
the following actions:

1.

The

ProductBuffer

stores the position of each defect where a cut must be made.

2.

The

CamShift_Control

synchronizes the master (conveyor moving the wood) and slave (saw).

3.

The CamControl.Engage output must be connected to Y_CamIn.Execute. (Other logic requirements

may be included if necessary.)

4.

Key Point: When defects are close together, the goal is to remain engaged, and use the CamShift

function during the slave (saw) retraction stroke while not in contact with the wood to re-synchronize
with the next defect (or knot) to be cut.

5.

The CamControl.Disengage output must be connected to Y_CamOutExecute. In this application, it will

cause the slave (saw) to disengage when the ProductBuffer indicates that there are no more defects to
be cut.