beautypg.com

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

Page 410

background image

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

29-4

Revised March, 2012

29.3 _DMC_01_rm_04da_get_return_code

FORMAT

I16 PASCAL _DMC_01_rm_04da_get_return_code (U16 CardNo, U16 NodeID, U16 SlotID,
U16 ChannelNo, U16* ReturnCode)


Purpose

Reads DA status.


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

Data U16

Number

Unit

Get return status parameter

D3

D2

D1

D0

out enable

out range mode

D7

D6

D5

D4

return code

error

handle

over

range

D11

D10

D9

D8

return code

D15

D14

D13

D12

return code


Example

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

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

&ReturnCode);

This manual is related to the following products: