Delta Electronics PCI-DMC-A01 Programming Manual page 359

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

Advertisement

25.4 _DMC_01_set_rm_output_value
 FORMAT
I16 PASCAL _DMC_01_set_rm_output_value(U16 CardNo, U16 NodeID,U16 SlotID,
U16 port,U16 value)
 Purpose
Sets the value for bit 0 to bit 15 of the remote I/O module's output 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=0xF;
/* Set bit 0 ~ bit 3 of Port 0 of Remote digital input module to ON */
I16 status = _DMC_01_set_rm_output_value(CardNo, NodeID, SlotID, Port, Value);
Revised March, 2012
Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01
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
Value to set for bit 0 to bit 15 of Port 0/1/2/3 on
digital output module (ON/OFF)
25-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dmc-b01

Table of Contents