Delta Electronics PCI-DMC-A01 Programming Manual page 356

High-speed pci 12-axis motion control card
Hide thumbs Also See for PCI-DMC-A01:
Table of Contents

Advertisement

Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01
25.1 _DMC_01_get_rm_input_value
 FORMAT
I16 PASCAL _DMC_01_get_rm_input_value(U16 CardNo, U16 NodeID,U16 SlotID,
U16 port,U16 *value)
 Purpose
Retrieves the value for bit 0 to bit 15 of the remote I/O module's input port.
 Parameters
Name
Data Type
CardNo
NodeID
SlotID
Port
Value
 Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Port=0;
U16 Value;
/* Data received by Port 0 of Remote digital input module */
I16 status = _DMC_01_get_rm_input_value(CardNo, NodeID, SlotID, Port, &Value);
25-2
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16
Selection
U16*
Number
Description
CardNo is between 0~15
Node ID
Slot ID
0: Port 0
1: Port 1
2: Port 2
3: Port 3
Received data
Revised March, 2012

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dmc-b01

Table of Contents