Delta Electronics PCI-DMC-A01 Programming Manual page 180

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

Advertisement

Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
6.12 _DMC_01_set_dio_output
 FORMAT
I16 PASCAL _DMC_01_set_dio_output (U16 CardNo, U16 On_Off)
 Purpose
Sets GPIO output pin status.
 Parameters
Name
Data Type
CardNo
On_Off
 Example
U16 CardNo=0;
U16 On_Off =1;
I16 status= _DMC_01_set_dio_output (CardNo, On_Off);
6.13 _DMC_01_get_dio_output
 FORMAT
I16 PASCAL _DMC_01_get_dio_output (U16 CardNo, U16* On_Off)
 Purpose
Retrieves GPIO output pin status.
 Parameters
Name
Data Type
CardNo
On_Off
 Example
U16 CardNo = 0;
U16 On_Off = 0;
I16 status = _DMC_01_get_dio_output (CardNo, &On_Off);
6-8
Unit
U16
Number Unit
U16
Selection
Unit
U16
Number Unit
U16*
Selection
Description
CardNo is between 0~15
0: Disable
1: Enable
Description
CardNo is between 0~15
0: Disable
1: Enable
Revised March, 2012

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dmc-b01

Table of Contents