beautypg.com

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

Page 418

background image

Chapter 29 4-Channel Analog Output Remote I/O Module API | PCI-DMC-A01 / PCI-DMC-B01

29-12

Revised March, 2012

29.11 _DMC_01_rm_04da_get_output_offset_value

FORMAT

I16 PASCAL _DMC_01_rm_04da_get_output_offset_value (U16 CardNo, U16 NodeID,
U16 SlotID, U16 ChannelNo, I16 *Value)


Purpose

Reads the DA offset value.


Parameters

Name

Data

Type

Unit

Description

CardNo U16

Number

Unit CardNo is between 0~15

NodeID

U16

Number Unit Node ID is between 0~63

SlotID U16

Number

Unit

0

ChannelNo

U16

Number Unit Channel ID is between 0~3

SetValue I16 Selection

Value is +127 ~ -128

1 Step of Value = 38.14μv

Adjust the offset of the channel by -16 LSBs to

+15.875 LSBs in increments of 1/8 LSB

Number Definition

127

Offset Adjustment: +15.875 LSBs (4.844mv)

126

Offset Adjustment: +15.75 LSBs (4.806mv)

… ……

0

No Adjustment (default)

… ……

-127

Offset Adjustment: -15.875 LSBs(- 4.844mv)

-128

Offset Adjustment: -16 LSBs(- 4.882mv)


Example

U16 CardNo = 0, NodeID = 1, SlotId = 0;
U16 ChannelNo = 0;
I16 Value = 0;

I16 status = _DMC_01_rm_04da_get_output_offset_value (CardNo, NodeID, SlotID,

ChannelNo, & Value);

This manual is related to the following products: