beautypg.com

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

Page 488

background image

Chapter 39 Compare API | PCI-DMC-A01 / PCI-DMC-B01

39-2

Revised March, 2012

39.1 _ DMC_01_set_compare_channel_position

FORMAT

I16 PASCAL _ DMC_01_set_compare_channel_position (U16 CardNo,
U16 compare_channel, I32 position)


Purpose

Sets new value for Position counter of Channel.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit

CardNo is between 0~15

Compare_Channel

U16

Number

Unit

Channel No is 0~1

Position I32

Number

Unit

New position value to set


Example

U16 CardNo = 0;
U16 Compare_Channel = 0;
I32 Position = 0;

I16 status = _ DMC_01_set_compare_channel_position (CardNo, compare_channel,

position);

This manual is related to the following products: