Advantech PCI-1682U Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro ne Advantech PCI-1682U. Advantech PCI-1682U User manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
User Manual
PCI-1680U
2-Port CAN Interface Universal
PCI Communication Card w/
Isolation
PCI-1682U
2-port CAN Interface Universal
PCI Communication Card w/
CANopen
Zobrazit stránku 0
1 2 3 4 5 6 ... 103 104

Shrnutí obsahu

Strany 1 - PCI-1682U

User ManualPCI-1680U2-Port CAN Interface Universal PCI Communication Card w/ IsolationPCI-1682U2-port CAN Interface Universal PCI Communication Card w

Strany 2 - Product Warranty (2 years)

PCI-1680U/1682U User Manual 4

Strany 3 - Packing List

PCI-1680U/1682U User Manual 944.11 COTI.DLL for CANopen Conformance Test The COTI DLL allows users to use the CANopen Conformance Test Tool of CiA(CAN

Strany 4

Chapter 55 Pin Assignments and WiringThis chapter covers the pin assignment for the CAN connec-tor, and the wiring of the two transmission wires.Secti

Strany 5 - Contents

PCI-1680U/1682U User Manual 965.1 Pin AssignmentsFigure 5.1 shows the pin assignment for the card's DB-9 connectors:Figure 5.1 PCI-1680U/1682U DB

Strany 6

97 PCI-1680U/1682U User ManualChapter 5 Pin Assignments and Wiring

Strany 7 - Chapter 1

www.advantech.com.cnPlease verify specifications before quoting. This guide is intended for referencepurposes only.All product specifications are subj

Strany 8 - 1.2 Features

Chapter 22 Install WDM driverThis chapter shows how to install WDM driver.Sections include: PCI device setup ISA device setup Port setup Device se

Strany 9 - Chapter 1 Introduction

PCI-1680U/1682U User Manual 62.1 Begin to use Advantech CAN device driverThe following chart shows procedures of developing applications with Advantec

Strany 10 - PCI-1680U/1682U User Manual 4

7 PCI-1680U/1682U User ManualChapter 2 Install WDM driver2.1.1 PCI device setup The following installation procedures are for PCI devices.Take PCI-168

Strany 11 - Chapter 2

PCI-1680U/1682U User Manual 83. Click "Finish" as the following. 2.1.2 ISA device setupThe following installation procedures are for ISA dev

Strany 12 - PCI-1680U/1682U User Manual 6

9 PCI-1680U/1682U User ManualChapter 2 Install WDM driver3. Click "Next" as the following. 4. Click "Next" as the following.

Strany 13 - Chapter 2 Install WDM driver

PCI-1680U/1682U User Manual 105. Click "Next" as the following. 6. Click "Next" as the following.

Strany 14 - 2.1.2 ISA device setup

11 PCI-1680U/1682U User ManualChapter 2 Install WDM driver7. Click "Have Disk...". 8. Suppose inf file is installed under C:\Program Files\A

Strany 15

PCI-1680U/1682U User Manual 129. Click "Next" as the following. 10. When the installation is complete, click "View or change resources

Strany 16

13 PCI-1680U/1682U User ManualChapter 2 Install WDM driver11. Select "Set Configuration Manually". 12. Configure according to your hardware.

Strany 17

PCI-1680U/1682U User Manual iiCopyrightThe documentation and the software included with this product are copyrighted 2010by Advantech Co., Ltd. All ri

Strany 18

PCI-1680U/1682U User Manual 142.1.3 Port setupWhen bus driver is installed, users can install port driver AdvCanPort.sys accordingto the instructions.

Strany 19

15 PCI-1680U/1682U User ManualChapter 2 Install WDM driver2.1.4 Device setupUsers can set the device in "Windows Device Manager".1. When dri

Strany 20 - 2.1.3 Port setup

PCI-1680U/1682U User Manual 16

Strany 21

Chapter 33 Hardware InstallationThis chapter covers inspection and installation of hardware and drivers.Sections include: Initial inspection Jumper

Strany 22

PCI-1680U/1682U User Manual 183.1 Initial InspectionYou should find the following items inside the shipping package: PCI communication interface card

Strany 23 - Chapter 3

19 PCI-1680U/1682U User ManualChapter 3 Hardware Installation3.2 Jumper Locations & SettingFigure 3.1 PCI-1680U Silk Screen

Strany 24 - 3.1 Initial Inspection

PCI-1680U/1682U User Manual 20Figure 3.2 PCI-1682U Silk Screen

Strany 25

21 PCI-1680U/1682U User ManualChapter 3 Hardware Installation3.2.1 How to Set JumpersYou configure your card to match the needs of your application by

Strany 26

PCI-1680U/1682U User Manual 2212. Press the board firmly into the socket.13. Replace the screw in the expansion slot's retaining bracket. 14. Rep

Strany 27 - 3.3 Card Installation

Chapter 44 Software RequirementsThis chapter has information on the software of PCI-1680U/1682U.

Strany 28

iii PCI-1680U/1682U User Manual Declaration of ConformityCEThis product has passed the CE test for environmental specifications when shieldedcables ar

Strany 29 - Chapter 4

PCI-1680U/1682U User Manual 244.1 IntroductionPCI-1680U/1682U and PCL-841 are Isolated Dual-port CAN communication cards.Each provides two isolated CA

Strany 30 - WDM&CE Driver

25 PCI-1680U/1682U User ManualChapter 4 Software RequirementsCAN 2.0A and CAN 2.0BCAN2.0 Spec. includes CAN 2.0A and CAN 2.0B. CAN 2.0A supports stand

Strany 31

PCI-1680U/1682U User Manual 26Hardware SupportUsers of Windows CE can refer to Guide for developing applicationsReferences"SJA1000 Standard-alone

Strany 32 - Table 4.1: Hardware Support

27 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.3 Introduction to API Main API used in current development are:Only brief introduction

Strany 33 - 4.3 Introduction to API

PCI-1680U/1682U User Manual 28ParametersReturn ValueSuccessful, return effective HANDLE. Unsuccessful, return INVALID_HANLDLE_VALUE. ExampleSynchronou

Strany 34

29 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.3.2 CloseHandleClose the port by calling this function when operation is completed.Synt

Strany 35 - 4.3.3 DeviceIoControl

PCI-1680U/1682U User Manual 30Parameters Return ValueSuccessful: return non-zero values. Unsuccessful: return zero value. Please call Get-LastError fu

Strany 36

31 PCI-1680U/1682U User ManualChapter 4 Software RequirementsbSuccess = DeviceIoControl (hDevice,CAN_IOCTL_CONFIG,&config,sizeof(Command_par),NULL

Strany 37

PCI-1680U/1682U User Manual 32//error}config.target = CONF_ACC_FILTER;config.val1 = 1; //1: set single filter mode; 0: set dualfilter modebSuccess = D

Strany 38

33 PCI-1680U/1682U User ManualChapter 4 Software Requirements);if(!bSuccess){//error}Set listen only mode: DWORD dwReturned;Command_par_t cmd;Config_

Strany 39

PCI-1680U/1682U User Manual ivSafety Precaution - Static ElectricityFollow these simple precautions to protect yourself from harm and the products fro

Strany 40

PCI-1680U/1682U User Manual 34sizeof(Command_par),NULL,0,&dwReturned,NULL);if(!bSuccess){//error}Reset chip: DWORD dwReturned;Command_par_t cmd;cm

Strany 41

35 PCI-1680U/1682U User ManualChapter 4 Software RequirementsClear receive buffer: DWORD dwReturned;Command_par_t cmd;cmd.cmd = CMD_CLEARBUFFERS;BOOL

Strany 42 - 4.3.4 ReadFile

PCI-1680U/1682U User Manual 364.3.4 ReadFileUsers can use this interface to read data from CAN port which was opened. One ormore frames can be selecte

Strany 43

37 PCI-1680U/1682U User ManualChapter 4 Software RequirementsReturn ValueIt will be considered successful if non-zero values are returned in the follo

Strany 44

PCI-1680U/1682U User Manual 38 { //receive buffer overflow } if(ReadBuffer.flags & MSG_BUSOFF) {

Strany 45 - 4.3.5 WriteFile

39 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.3.5 WriteFileUsers can use this interface to send data to CAN port which was opened. On

Strany 46

PCI-1680U/1682U User Manual 40In asynchronous mode, operation will be pending if drivers cannot complete user'swrite request at present, and GetL

Strany 47 - 4.3.6 SetCommMask

41 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.3.6 SetCommMaskUsers can use this interface to set event for CAN port.Users have to cal

Strany 48 - 4.3.8 WaitCommEvent

PCI-1680U/1682U User Manual 424.3.7 GetCommMaskUsers can call GetCommMask to get event type set in SetCommMask.SyntaxBOOL GetCommMask( HANDLE hDevice

Strany 49

43 PCI-1680U/1682U User ManualChapter 4 Software RequirementsReturn ValueSuccessful: return non-zero values. Unsuccessful: return zero value. Please c

Strany 50 - 4.3.9 ClearCommError

v PCI-1680U/1682U User Manual ContentsChapter 1 Introduction...11.1 Description ...

Strany 51

PCI-1680U/1682U User Manual 444.3.9 ClearCommErrorWhen error occurs, users can use ClearCommError to get the specific type of error.SyntaxBOOL ClearCo

Strany 52 - 4.3.10 GetOverlappedResult

45 PCI-1680U/1682U User ManualChapter 4 Software RequirementsExampleWait event in synchronous mode.DWORD dwMask;BOOL bSuccess = WaitCommEvent(hDevice,

Strany 53 - ov.OffsetHigh = 0;

PCI-1680U/1682U User Manual 464.3.10 GetOverlappedResultWhen user's operation cannot be finished immediately in asynchronous mode, thisfunction s

Strany 54 - 4.4 Structure List

47 PCI-1680U/1682U User ManualChapter 4 Software Requirements if (hDevice == INVALID_HANDLE_VALUE) { // Handle the error. printf

Strany 55 - 4.4.1 canmsg_t

PCI-1680U/1682U User Manual 48 } } else { DWORD dwRet = GetLastError(); if( ERROR_IO_PENDING == dwRet) {

Strany 56 - 4.4.2 CanStatusPar_t

49 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.4.1 canmsg_tWhen users directly use ReadFile or WriteFile interface of Windows Native A

Strany 57 - 4.4.3 Command_par

PCI-1680U/1682U User Manual 504.4.2 CanStatusPar_tDeviceIOControl's parameter dwIoControlCode is CAN_IOCTL_STATUS(0x222554). It uses this structu

Strany 58

51 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.4.3 Command_parWhen users directly use DeviceIOControl interface of Windows Native API

Strany 59

PCI-1680U/1682U User Manual 52The following code is the example to custom baud rate by setting BTR0 andBTR1 device register.AdvCANIO.h Line:269/******

Strany 60 - 4.5 How to dispose message

53 PCI-1680U/1682U User ManualChapter 4 Software RequirementsUser can also refer to receive and send examples for details usage.How to calculate BTR0

Strany 61 - 4.5.3 How to send RTR frame

PCI-1680U/1682U User Manual vi4.5.4 How to dispose received messages. ... 554.6 Acceptance filtering...

Strany 62

PCI-1680U/1682U User Manual 542. While configuring target, the following commands are supported:4.5 How to dispose messageCAN2.0 Spec. includes CAN 2.

Strany 63 - 4.6 Acceptance filtering

55 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.5.2 How to send Extended frame, compatible with CAN 2.0B.DWORD dwWrite=0;canmsg_t Wr

Strany 64

PCI-1680U/1682U User Manual 56 //self reception } if(ReadBuffer.flags & MSG_BOVR) { //receive buffer o

Strany 65

57 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.6 Acceptance filteringAcceptance code corresponds to 4 registers: ACR0, ACR1, ACR2, ACR

Strany 66

PCI-1680U/1682U User Manual 58Dual ModeDual filtering is more complicated than single filtering. In Dual filtering mode, 4 ACRsand 4 AMRs form two fil

Strany 67

59 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.7 Advantech CAN Windows WDM&CE Driver application development guideUsers can direct

Strany 68

PCI-1680U/1682U User Manual 604.7.1.2 Add necessary files1. Add Include header files (AdvCan.h) in Advantech CAN Windows WDM&CE Driver. In VC++ wo

Strany 69

61 PCI-1680U/1682U User ManualChapter 4 Software RequirementsWrite code in empty source file.#include <stdio.h>#include <windows.h>#includ

Strany 70

PCI-1680U/1682U User Manual 624.7.1.4 Test applicationRun the application, the following result will be displayed.4.7.2 Guide for Visual Basic develop

Strany 71

63 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.7.2.2 Add files and design graphical interfaces1. Add Include header files (AdvCan.bas)

Strany 72

Chapter 11 IntroductionThis chapter provides a general description of the PCI-1680U and PCI-1682U.Sections include: Description Features Specificat

Strany 73

PCI-1680U/1682U User Manual 642. Design graphical interfaces. Add one Button and six Text controls to Form1.4.7.2.3 Write code1. Write corresponding c

Strany 74 - Write code in source file

65 PCI-1680U/1682U User ManualChapter 4 Software Requirements End If TextBox1.Text = "Baud rate= " + CStr(Status.baud) TextBox2.Text =

Strany 75

PCI-1680U/1682U User Manual 664.7.3 Guide for VC.NET developmentWe will give an example by opening a CAN port and reading its current status so asto s

Strany 76

67 PCI-1680U/1682U User ManualChapter 4 Software Requirements2. Design graphical interfaces. Add one Button and six Text controls to Form1.

Strany 77

PCI-1680U/1682U User Manual 684.7.3.3 Write codeWrite code in source file.#include <windows.h>#include "../../../Include/AdvCan.h"priv

Strany 78

69 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.7.3.4 Test applicationRun the application, the following result will be displayed.4.7.4

Strany 79

PCI-1680U/1682U User Manual 70Please follow the following procedures to create a new VB.NET project:1. Select "File"->"New"->

Strany 80 - Driver

71 PCI-1680U/1682U User ManualChapter 4 Software Requirements2. Design graphical interfaces. Add one Button and six Text controls to Form1.4.7.4.3 Wri

Strany 81

PCI-1680U/1682U User Manual 72 TextBox2.Text = "Accept code = " & Hex(status.acceptance-code) TextBox3.Text = "Mask code = &quo

Strany 82 - 4.7.5.3 Write code

73 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.7.5 Guide for C# developmentWe will give an example by opening a CAN port and reading i

Strany 83 - 4.8 Examples

PCI-1680U/1682U User Manual 21.1 DescriptionPCI-1680U/1682U is special purpose communication card that offers connectivity toController Area Networks

Strany 84 - 4.8.1 Interface

PCI-1680U/1682U User Manual 744.7.5.2 Add files and design graphical interfaces1. Add Include header files (AdvCan.cs) in Advantech CAN Windows WDM&am

Strany 85

75 PCI-1680U/1682U User ManualChapter 4 Software Requirements2. Design graphical interfaces. Add one Button and six TextBox controls to Form1.

Strany 86

PCI-1680U/1682U User Manual 764.7.5.3 Write code1. Add the following code to Button:private void button1_Click(object sender, System.EventArgs e){ u

Strany 87

77 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.7.5.4 Test applicationRun the application, the following result will be displayed.4.8 E

Strany 88

PCI-1680U/1682U User Manual 78CE:4.8.1 Interface4.8.1.1 SendData is sent. Values of Baud Rate and timeout of the port can be set. Meanwhile, selfrecep

Strany 89 - 4.8.2 Flow Chart

79 PCI-1680U/1682U User ManualChapter 4 Software Requirements WDM  CE

Strany 90 - 4.8.2.2 Receive flow chart

PCI-1680U/1682U User Manual 804.8.1.2 ReceiveData is received. Values of Baud Rate and timeout of the port can be set. Please refer to Receive flow ch

Strany 91 - 4.8.2.3 Configure flow chart

81 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.8.1.3 ConfigureUsers can set values of Baud Rate, Timeout of sending and receiving data

Strany 92 - 4.8.2.4 Event flow chart

PCI-1680U/1682U User Manual 82 CE 4.8.1.4 EventThis function is similar to serial port communication, which send/receive data throughevents. Baud Rat

Strany 93

83 PCI-1680U/1682U User ManualChapter 4 Software Requirements CE 4.8.2 Flow Chart4.8.2.1 Send flow chart

Strany 94 - 4.10 CANMonitor

3 PCI-1680U/1682U User ManualChapter 1 Introduction1.3 Specifications Bus Interface: PCI bus spec. 2.2 compliant Ports: 2 Protocol: CAN 2.0 A/B Co

Strany 95 - 4.10.1 Function Introduction

PCI-1680U/1682U User Manual 844.8.2.2 Receive flow chart

Strany 96 - Menu Introduction

85 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.8.2.3 Configure flow chart

Strany 97

PCI-1680U/1682U User Manual 864.8.2.4 Event flow chartEither flow chart of the two sub threads is as below:

Strany 98 - Filter has CAN Filter setting

87 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.9 Use Utility to test hardwareAn Utility is provided for users to test whether hardware

Strany 99 - Status Bar Introduction

PCI-1680U/1682U User Manual 884.10 CANMonitorCANMonitor can be used to monitor the messages in CAN network and to show themessages according to differ

Strany 100

89 PCI-1680U/1682U User ManualChapter 4 Software Requirements4.10.1 Function IntroductionThis section introduces the functions that CANMonitor support

Strany 101 - Chapter 5

PCI-1680U/1682U User Manual 904.10.2 Introduction to Main Items in Menu ScreenMenu IntroductionFileFile has the following functions:ViewView has the f

Strany 102 - 5.2 Wiring

91 PCI-1680U/1682U User ManualChapter 4 Software RequirementsData FormatData Format has following setting:FunctionFunction has the following functions

Strany 103

PCI-1680U/1682U User Manual 92CANopenCANopen has the following functions:FilterFilter has CAN Filter settingand CANopen Filter setting.Name Function L

Strany 104

93 PCI-1680U/1682U User ManualChapter 4 Software RequirementsToolbar IntroductionStatus Bar IntroductionName Function New Open device Close Close Devi

Komentáře k této Příručce

Žádné komentáře