beautypg.com

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

Page 366

background image

Chapter 26 MPG and JOG Operation API | PCI-DMC-A01 / PCI-DMC-B01

26-2

Revised March, 2012

26.1 _DMC_01_set_rm_mpg_axes_enable

FORMAT

I16 PASCAL _DMC_01_set_rm_mpg_axes_enable (U16 CardNo, U16 MasterNodeID,
U16 MasterSlotID, U16* NodeID, U16* SlotID, U16 enable, U16 pulse_ratio, U32 *ratio,
U32 *slope)


Purpose

Sets MPG motion control.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit

CardNo is between 0~15

MasterNodeID

U16

Number Unit

RM-MN64 Node ID used

MasterSlotID

U16

Number Unit

RM-MN64 Slot ID used

NodeID

U16*

Number Unit

Node ID in use (Up to 4 axes)

SlotID

U16*

Number Unit

Servo Slot ID in use (Up to 4 axes)

enable

U16

Selection

0: Disable MPG function
1: Enable MPG function

pulse_ratio U16 Selection

Ratio between each click of MPG and pulse
output
1: Four clicks of MPG produces 1 pulse output.
4: One click of MPG produces 1 pulse output.

ratio

U32*

Number

Adjust ratio of one full MPG turn to pulse output
(motor rotations).

slope U32*

Number

Set Maximum velocity slope for MPG.
(PPS/sec, Max=1000).

This manual is related to the following products: