beautypg.com

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

Page 361

background image

Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01

Revised March, 2012

25-7

25.6 _DMC_01_get_rm_output_value

FORMAT

I16 PASCAL _DMC_01_get_rm_output_value (U16 CardNo, U16 NodeID, U16 SlotID,
U16 port, U16* value)


Purpose

Retrieves output value of the remote I/O module.


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

port

U16

Selection

0: Port 0
1: Port 1
2: Port 2
3: Port 3

value U16*

Number

Get value set for bit 0 to bit 15 of Port 0/1/2/3
on digital output module (ON/OFF)


Example

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

I16 status = _DMC_01_get_rm_output_value (CardNo, NodeID, SlotID, Port, &Value);

This manual is related to the following products: