beautypg.com

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

Page 409

background image

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

Revised March, 2012

29-3

29.2 _DMC_01_rm_04da_get_output_value

FORMAT

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


Purpose

Reads the value of the DA output.


Parameters

Name

Data Type

Unit

Description

CardNo U16

Number

Unit CardNo is between 0~15

NodeID

U16

Number Unit Node ID is between 0~12

SlotID U16*

Number

Unit

0

ChannelNo

U16

Number Unit Channel ID is between 0~3

Value

U16

Number Unit Output is between 0 ~ 65535


Example

U16 CardNo = 0;
U16 NodeID = 1;
U16 SlotID = 0;
U16 ChannelNo = 0;
U16 Value = 0;

I16 status = _DMC_01_rm_04da_get_output_value (CardNo, NodeID, SlotID, ChannelNo,

&Value);

This manual is related to the following products: