beautypg.com

Delta Electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC-A01 User Manual

Page 151

background image

Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

3-129

/* MotionStep10. Wait for Z-axis tool to move into position (End action) */

rt[2] = _DMC_01_get_command(CardNo, NodeID3[2], SlotID3[2], &Cmd[2]);
if ((rt[2] == 0) && (Cmd[2] == TempSaveData))
{

MotionStep = 11;

}

/* MotionStep11. Start job (Continuous Arc) */

_DMC_01_start_tr_heli_xy(CardNo, NodeID3, SlotID3, 0, -10000,

-Pitch*(90.0/360.0), Pitch, 1, MaxVel/2, MaxVel, 0.1,
0.1);

_DMC_01_start_tr_heli_xy(CardNo, NodeID3, SlotID3, -10000, 0, Pitch

*(90.0/360.0), Pitch, 0, MaxVel/2, MaxVel, 0.1, 0.1);

_DMC_01_start_tr_heli_xy(CardNo, NodeID3, SlotID3, 0, -10000, - Pitch

*(90.0/360.0), Pitch, 1, MaxVel/2, MaxVel, 0.1, 0.1)

This manual is related to the following products: