![C&T Solution VCO-6000-ADL User Manual Download Page 117](http://html1.mh-extra.com/html/candt-solution/vco-6000-adl/vco-6000-adl_user-manual_4314054117.webp)
VCO-6000-ADL l
User’s Manual
117
GPIO Sample Code
GPIO Setting
The GPIO function is provided by Nuvoton M058SSAN , and it can be accessed through Smbus/I2C port.
The configuration on the VCO-6000
–
ADL is described as below.
Psuedo Code
#define GPI_ADDR 0x02 // Define Input port Address
#define GPO_ADDR 0x01 // Define Output port Address
#define Slave_ADDR 0x80 //Slave Address = 0x80( 7-bit address)
//Set OUT1~OUT8 Value
//Set GPO to 0x55
//set IO_DO1,IO_DO3,IO_DO5,IO_DO7 to high; Set IO_DO2,IO_DO4,IO_DO6,IO_DO8 to Low
SmbusWrite (Slave_ADDR, GPO_ADDR, 0x55);
// Read In1~In8 value
Data= SmbusReads (Slave_ADDR, GPI_ADDR); //Read In1~In8 value
Appendix
–
WDT & GPIO
PIN#
GPIO#
Default Configuration
18
XCOM-
17
XCOM+
16
OUT8
DIO Output8
15
IN8
DIO Input8
14
OUT7
DIO Output7
13
IN7
DIO Input7
12
OUT6
DIO Output6
11
IN6
DIO Input6
10
OUT5
DIO Output5
9
IN5
DIO Input5
8
OUT4
DIO Output4
7
IN4
DIO Input4
6
OUT3
DIO Output3
5
IN3
DIO Input3
4
OUT2
DIO Output2
3
IN2
DIO Input2
2
OUT1
DIO Output1
1
IN1
DIO Input1
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
OUT8
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT1
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IN8
IN7
IN6
IN5
IN4
IN3
IN2
IN1
Summary of Contents for VCO-6000-ADL
Page 1: ...VCO 6000 ADL Machine Vision Computer...
Page 10: ...Chapter 1 Product Introductions...
Page 24: ...Chapter 2 Mechanical Specifications...
Page 70: ...Chapter 3 BIOS Setup...
Page 73: ...VCO 6000 ADL l User s Manual 3 3 Advanced Setup 73 Chapter 3 BIOS Setup...
Page 98: ...VCO 6000 ADL l User s Manual 3 3 16 NVMe Configuration 98 Chapter 3 BIOS Setup...
Page 103: ...VCO 6000 ADL l User s Manual PCI Express Configuration 103 Chapter 3 BIOS Setup...
Page 106: ...VCO 6000 ADL l User s Manual PCI Express Configuration 106 Chapter 3 BIOS Setup...
Page 118: ...Copyright C T Solution Inc All Rights Reserved www candtsolution com...