beautypg.com

Yaskawa MPiec User Manual

Page 15

background image

Subject: Application Note

Product: MPiec

Doc#: EM.MCD.09.043

Title: Implementing Electronic Cams with MPiec: Quick Start Guide

August 30, 2012

Page 15 of 16

19.

Download the project to the controller

20.

Start the PLC and select debug mode.

21.

Execute the Y_CamFileSelect block and verify that the Done bit is on and a CamTableID is

generated. If not, the ErrorID output will indicate the type of error. Right click on the function block

when Debug mode is off to access the help file and review the error codes.

22.

Enable the axes. Execute Y_CamIn.

23.

Execute the master

’s MC_MoveVelocity.

24.

The slave will follow the master once the master crosses the EngagePosition.

25.

To disengage the cam, execute the Camout bit on the Y_CamOut block.

26.

To stop the master, execute the MC_Stop block.

27.

The master slave profile will be as described below.