beautypg.com

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

Page 208

background image

Chapter 10 Homing Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01

10-2

Revised March, 2012

10.1 _DMC_01_set_home_config

FORMAT

I16 PASCAL _DMC_01_set_home_config (U16 CardNo,U16 NodeID,U16 SlotID ,
U16 Mode,I32 offset,U16 lowSpeed,U16 highSpeed,F64 acc)


Purpose

Sets home configuration.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit

CardNo is between 0~15

NodeID

U16

Number Unit

Node ID

SlotID

U16

Number Unit

Slot ID

Mode

U16

Selection

Homing mode: 1~35 (See notes on next page)

offset I32

Number of

pulses

Homing offset

lowSpeed

U16

Revolutions

per minute

Find the velocity parameter used by each limit
(Range:1~500)

highSpeed U16

Revolutions

per minute

Velocity parameter to use for homing (Range:
1~2000)

acc

F64

Second

Acceleration time used for homing


※ The unit of lowSpeed and highSpeed parameters will vary depending on the connected Slave

module.
Servo Drive (ASDA-A2F) ➔ Revolutions per minute
Pulse interface module (RM04PI, GE01PI, GE01PH) ➔ Pulse/Sec
Linear motor➔ um/sec


Example

U16 CardNo=0, NodeID =1, SlotID=0, Mode=1;
I32 offset =200;
U16 lowSpeed=200, highSpeed=2000;
F64 acc=0.1;

/* Use Homing mode*/
I16 status= _DMC_01_set_home_config (CardNo, NodeID, SlotID, Mode, offset, lowSpeed,
highSpeed, acc);

This manual is related to the following products: