MATLAB XPC TARGET 4 - DEVICE DRIVERS Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Prozessoren MATLAB XPC TARGET 4 - DEVICE DRIVERS herunter. MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 653
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Modeling
Simulation
Implementation
xPC Target
For Use with Real-Time Workshop
®
I/O Reference Guide
Version 1
Seitenansicht 0
1 2 3 4 5 6 ... 652 653

Inhaltsverzeichnis

Seite 1 - I/O Reference Guide

ModelingSimulationImplementationxPC Target For Use with Real-Time Workshop ®I/O Reference GuideVersion 1

Seite 2 - How to Contact The MathWorks:

viii Contents9ComputerBoardsCIO-CTR05 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5CIO-CTR05 Counter PWM

Seite 3

4 CAN I/O Support4-10For more information about these values see the Softing user manual for this board.CAN 2 - Baud rate — The third control (popup m

Seite 4 - CAN I/O Support

CAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-Controller4-11Send Driver BlockThe Send driver block is used to transmit data to a

Seite 5

4 CAN I/O Support4-12where the elements define a set of data frame sizes. Each element has to be in the range between 1 and 8. If the data frame sizes

Seite 6

CAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-Controller4-13Receive Driver BlockThe Receive driver block is used to retrieve dat

Seite 7

4 CAN I/O Support4-14information is of type double and is identical to the return value of function CANPC_read_rcv_data(…) described in the Softing us

Seite 8

CAN driver blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller4-15CAN driver blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-ControllerThe

Seite 9

4 CAN I/O Support4-16Setup driver blockThe Setup block is used to define general settings of the plugged-in CAN board. Because the CAN driver blocks f

Seite 10 - ComputerBoards

CAN driver blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller4-17CAN 2 - Baud rate — The third control (popup menu) lets you define the most

Seite 11

4 CAN I/O Support4-18Send driver blockThe Send driver block is used to transmit data to a CAN-network from within a block model. The dialog box of the

Seite 12 - Contents

CAN driver blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller4-19firmware’s dynamic object mode). The number of elements defined here, defin

Seite 13

ixCIO-DAS16JR/16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-36CIO-DAS16JR/16 Analog Input (A/D) . . . . . . . . . .

Seite 14

4 CAN I/O Support4-20Receive driver blockThe Receive driver block is used to retrieve data from a CAN-network to be used within a block model. The dia

Seite 15

CAN driver blocks for the CAN-AC2 (ISA) with Intel 82527 CAN-Controller4-21a model per physical CAN board cannot exceed 200 (restriction of the firmwa

Seite 16 - Keithley Metrabyte

4 CAN I/O Support4-22CAN driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-ControllerThe driver blocks described here support the CAN-AC2-PCI

Seite 17 - National Instruments

CAN driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller4-23The third block group highlighted above contains the three available CAN

Seite 18

4 CAN I/O Support4-24The dialog box of the Setup block lets you define the following settings.Board — The first control (popup menu) lets you define w

Seite 19

CAN driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller4-25changed to Lowspeed if no module is present for the corresponding CAN por

Seite 20 - Real Time Devices

4 CAN I/O Support4-26(autosearch). This value makes sure that the xPC Target kernel automatically finds the board independently of the PCI slot it is

Seite 21 - Versalogic

CAN driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller4-27Send driver blockThe Send driver block is used to transmit data to a CAN-

Seite 22

4 CAN I/O Support4-28least two instances of this block have to be used, each defining the corresponding identifier range.Identifiers — The fourth cont

Seite 23 - I/O Drivers

CAN driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller4-29Receive driver blockThe Receive driver block is used to retrieve data fro

Seite 24 - 1 I/O Drivers

x ContentsCIO-DIO48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-72CIO-DIO48 Digital Input . . . . . . . .

Seite 25

4 CAN I/O Support4-30least two instances of this block have to be used, each defining the corresponding identifier range.Identifiers — The fourth cont

Seite 26

CAN driver blocks for the CAN-AC2-104 (PC/104) with Philips SJA1000 CAN-Controller4-31CAN driver blocks for the CAN-AC2-104 (PC/104) with Philips SJA1

Seite 27 - Third message

4 CAN I/O Support4-32Setup driver blockThe Setup block is used to define general settings of the stacked CAN board(s). The CAN driver blocks for this

Seite 28

CAN driver blocks for the CAN-AC2-104 (PC/104) with Philips SJA1000 CAN-Controller4-33board number depends on the I/O Base Address edit field describe

Seite 29 - Updated Driver Information

4 CAN I/O Support4-34Memory base address — The ninth control (edit field) is used to define the memory base address of the board to be accessed by thi

Seite 30

CAN driver blocks for the CAN-AC2-104 (PC/104) with Philips SJA1000 CAN-Controller4-35Send driver blockThe Send driver block is used to transmit data

Seite 31 - RS232 I/O Support

4 CAN I/O Support4-36least two instances of this block have to be used, each defining the corresponding identifier range.Identifiers — The fourth cont

Seite 32 - 2 RS232 I/O Support

CAN driver blocks for the CAN-AC2-104 (PC/104) with Philips SJA1000 CAN-Controller4-37Receive driver blockThe Receive driver block is used to retrieve

Seite 33 - RS-232 Device

4 CAN I/O Support4-38least two instances of this block have to be used, each defining the corresponding identifier range.Identifiers — The fourth cont

Seite 34

Constructing and Extracting CAN Data Frames4-39Constructing and Extracting CAN Data FramesCAN data frames have a maximum size of 8 bytes (64 bits). Fo

Seite 35

xiPC104-DAS16JR/16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-101PC104-DAS16JR/16 Analog Input (A/D) . . . . . . . . .

Seite 36

4 CAN I/O Support4-40CAN Bit-Packing BlockThis block is used to construct CAN data frames and it’s output port is normally connected to an input port

Seite 37 - RS-232 Synchronous Mode

Constructing and Extracting CAN Data Frames4-41We assume that a node on the CAN network needs to receive a CAN message with identifier 156 having the

Seite 38

4 CAN I/O Support4-42Let us analyze the model.The first input is the Function class of type uint8, which has an example value of 112. This value has t

Seite 39

Constructing and Extracting CAN Data Frames4-43has to get bit 15, the second bit 14 and so on. It is easiest to define this mapping by the MATLAB colo

Seite 40

4 CAN I/O Support4-44The data frame is then propagated to the CAN Send driver block and is sent out as part of a CAN-message having identifier 156. Wh

Seite 41

Constructing and Extracting CAN Data Frames4-45The dialog box contains two controls (edit fields). The first lets you define the bit patterns in a fle

Seite 42

4 CAN I/O Support4-46definition of the packing and unpacking block are symmetric, the bit pattern definition could look exactly the same. There is one

Seite 43 - File menu, point to New

Constructing and Extracting CAN Data Frames4-47This leads to the following Simulink model.In many cases it makes sense to test the proper bit-packing

Seite 44

4 CAN I/O Support4-48Detecting Timeouts When Receiving CAN Messages The Receive driver blocks for all CAN boards allow to output the timestamp at whic

Seite 45

Detecting Timeouts When Receiving CAN Messages4-49The dialog box of the CAN Timeout Detection block has one edit field and lets you define the timeout

Seite 46 - Asynchronous)

xii ContentsPCI-DDA02/12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-137PCI-DDA02/12 Analog Output (D/A) . . .

Seite 47

4 CAN I/O Support4-50Model execution driven by CAN-messages (Interrupt capability of CAN Receive blocks)In certain application it is necessary that th

Seite 48

Model execution driven by CAN-messages (Interrupt capability of CAN Receive blocks)4-51Generate interrupts check box. Checking this box will declare a

Seite 49

4 CAN I/O Support4-52CAN-AC2-104 (PC/104)The CAN-AC2-104 is an ISA-board (PC/104), and the hardware interrupt line is set by means of a software setti

Seite 50

Defining Initialization and Termination CAN Messages4-53Defining Initialization and Termination CAN Messages The CAN Setup driver blocks for all suppo

Seite 51

4 CAN I/O Support4-54ExampleLet’s consider an A/D converter module with a CANOpen interface. After the node has been powered up, the module is in pre-

Seite 52

5CAN I/O Support for FIFOIntroduction . . . . . . . . . . . . . . . . . . . 13-2FIFO Mode drivers for CAN boar

Seite 53

5 CAN I/O Support for FIFO5-2IntroductionThis chapter describes the alternative First In First Out (FIFO) CAN drivers provided with xPC Target. The st

Seite 54

Introduction5-3Advantages of Dynamic Object Buffer mode - However, even if the CAN I/O latency time in the Dynamic Object Buffer mode is high, the ben

Seite 55

5 CAN I/O Support for FIFO5-4total latency may easily exceed the latency encountered when using the Dynamic Object Buffer mode driver scheme for the s

Seite 56

Introduction5-5messages to be processed and the number of total messages going over the network is high.Especially for monitor type of applications th

Seite 57 - RS-232 Setup Block

xiii10DiamondDiamond-MM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3Diamond-MM Analog Input (A/D) . . . . .

Seite 58

5 CAN I/O Support for FIFO5-6CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-ControllerThe driver blocks described here support th

Seite 59 - Synchronous)

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-7FIFO Setup driver blockThe Setup block is used to define general sett

Seite 60

5 CAN I/O Support for FIFO5-8Board — Defines which board is being accessed by this driver block instance. The board number (1…3) can be seen as a refe

Seite 61 - Parameter Description

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-9Slot edit field described further below. If just one board is present

Seite 62

5 CAN I/O Support for FIFO5-10For more information about these values see the Softing user manual for this board.CAN 2 - Acceptance — Defines the acce

Seite 63

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-11FIFO Write Driver BlockThe FIFO Write driver block is used to write

Seite 64

5 CAN I/O Support for FIFO5-12each row of the matrix signal defines one CAN message and each row combines the 5 elements of information defined above

Seite 65

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-13You can use as many instances of the FIFO Write block in the model a

Seite 66

5 CAN I/O Support for FIFO5-14Event type — This value defines the type of event read out of the receive FIFO. The following values are defined from th

Seite 67

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-15Board — Defines which physically present board is used to send out t

Seite 68 - 3 GPIB I/O Support

xiv Contents11GespacGESADA-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3GESADA-1 Analog Input (A/D) .

Seite 69 - Introduction to GPIB Drivers

5 CAN I/O Support for FIFO5-16The first element returns the current value of the lost messages counter. The receive FIFO can store up to 255 events. I

Seite 70

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-17CAN port — Defines the filter criterion for the CAN port. From the l

Seite 71 - Structures” on page 3-11

5 CAN I/O Support for FIFO5-18sum of all specified identifiers. If you select Exclude, the identifier criterion is equal to all identifiers minus the

Seite 72 - Using GPIB Drivers

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-19FIFO Reset XMT Driver BlockThe FIFO Reset XMT driver block is used t

Seite 73

5 CAN I/O Support for FIFO5-20FIFO Read RCV Level Driver BlockThe FIFO Read RCV level driver block is used to read the current number of CAN messages

Seite 74

CAN FIFO driver blocks for the CAN-AC2-PCI with Philips SJA1000 CAN-Controller5-21FIFO Reset RCV Driver BlockThe FIFO Reset RCV driver block is used t

Seite 75

5 CAN I/O Support for FIFO5-22CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-ControllerThe driver blocks described here support t

Seite 76

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-23FIFO Setup Driver BlockThe Setup block is used to define general set

Seite 77

5 CAN I/O Support for FIFO5-24Board — Define which board is being accessed by this driver block instance. If multiple boards are present in the target

Seite 78

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-25edit field described further below. If just one board is present in

Seite 79

xvKPCI-1802HC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-13KPCI-1802HC Analog Input (A/D) . . . . . . . . . .

Seite 80 - GPIB Simulink Block Reference

5 CAN I/O Support for FIFO5-26information is provided by a row vector with 4 elements, where the first two are used to define the acceptance mask and

Seite 81 - GPIB_Initialize

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-27The board allows activating proper termination for each of the two C

Seite 82

5 CAN I/O Support for FIFO5-28using the block parameters. In order to be able to transmit more than one CAN message per block instance a matrix signal

Seite 83 - Structures

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-29CANPC_send_data(…) described in the Softing user manual. Refer to th

Seite 84

5 CAN I/O Support for FIFO5-30Event type — This value defines the type of event read out of the receive FIFO. The following values are defined from th

Seite 85

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-31The dialog box of the block lets you define the following settings.B

Seite 86

5 CAN I/O Support for FIFO5-32unavoidably lost. The second element returns the current bus state. Possible values are:3 Error active4 Error passive5 B

Seite 87

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-33The dialog box of the block lets you define the following settings.C

Seite 88

5 CAN I/O Support for FIFO5-34Identifier selection mode — Defines how the identifier criterion entered in the control above is treated. If you select

Seite 89

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-35Sample time — Defines the sample time at which the FIFO Read XMT Lev

Seite 90

xvi ContentsPCI-6023E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-26PCI-6023E Analog Input (A/D) . . . .

Seite 91

5 CAN I/O Support for FIFO5-36condition and take appropriate action, like stopping the execution or resetting the receive FIFO.The block has a single

Seite 92

CAN FIFO Driver Blocks for the CAN-AC2-104 with Philips SJA1000 CAN-Controller5-37The dialog box of the block lets you define the following settings.B

Seite 93

5 CAN I/O Support for FIFO5-38Acceptance FiltersAs mentioned earlier, the CAN controller’s acceptance filters can be used to ensure that certain recei

Seite 94

Acceptance Filters5-39using decimal numbers. You can use the MATLAB function ‘hex2dec’ to also define hexadecimal numbers in the dialog box entry. Let

Seite 95 - Selecting a CAN Library

5 CAN I/O Support for FIFO5-40ExamplesExample 1Lets start with a simple model using the FIFO Setup block, FIFO Write block, FIFO Read block, and FIFO

Seite 96

Examples5-41The model uses several xPC Target scope blocks to display different type of data on the target screen:•Scope 1 (numerical): displays the s

Seite 97

5 CAN I/O Support for FIFO5-42Example 2When looking at the time behavior of the model, you can observe that at each millisecond 2 CAN messages are sen

Seite 98 - 82C200 CAN-Controller

Examples5-43model. As a positive side effect, the latency time of the FIFO Read block gets smaller and therefore the model’s cycle time as well.Exampl

Seite 99 - Setup Driver Block

5 CAN I/O Support for FIFO5-44This implementation behaves exactly like the first implementation, but nicely shows how CAN messages (to be sent out) ca

Seite 100 - 4 CAN I/O Support

Examples5-45Example 5Now lets consider a different handling of the receive FIFO overflow: If the receive FIFO level reaches the value of 200, the rece

Seite 101 - Send Driver Block

xviiPCI-6508 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-64PCI-DIO-96 . . . . . . . . . . . . . . . .

Seite 102

5 CAN I/O Support for FIFO5-46Example 6The next example shows the use of the CAN acceptance filters. First the Read depth parameter of the FIFO Read b

Seite 104

5 CAN I/O Support for FIFO5-48

Seite 106

6 ADDI-DATA6-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“APCI-1710” encoder PCI“PA-1700” encoder ISA

Seite 107 - 2 (16k): D4000-D7FFF

APCI-17106-3APCI-1710The APCI-1710 is a general purpose counting board with four function modules.xPC Target supports this board with one driver block

Seite 108

6 ADDI-DATA6-4to the APCI-1710-manual for information on how to electrically connect the encoders to the board.Driver Block ParametersFunction Module.

Seite 109

APCI-17106-5Hystheresis - From the list choose either off or on. The Hystheresis parameter specifies if a counter should skip a tick if the direction

Seite 110

6 ADDI-DATA6-6PA-1700The PA1700 is a counter board with three 24-bit counters for connecting three incremental encoders.xPC Target supports this board

Seite 111

PA-17006-7Hystheresis - From the list choose either off or on. The Hystheresis parameter specifies if a counter should skip a tick if the direction ch

Seite 112 - SJA1000 CAN-Controller

How to Contact The MathWorks:www.mathworks.com Webcomp.soft-sys.matlab [email protected] Technical [email protected] Product e

Seite 113 - Setup driver block

xviii Contents15Real Time DevicesDM6420 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3DM6420 Analog

Seite 114

6 ADDI-DATA6-8

Seite 115

7Advantech

Seite 116

7 Advantech7-2I/O boards supported by xPC Target. (www.advantech.com) Board Name A/DD/ADINDOUTOther Bus type“PCL-1800” xxxx ISA“PCL-726” x x x ISA“PCL

Seite 117 - Send driver block

PCL-18007-3PCL-1800The PCL-1800 is an I/O board with 16 single or 8 differential analog channels (12-bit) with a maximum sample rate of 330 kHz, 2 ana

Seite 118

7 Advantech7-4Driver Block ParametersChannel Vector - If you choose single ended from the MUX list, then enter numbers between 1 and 16. If you choose

Seite 119 - Receive driver block

PCL-18007-5BaseAddress - Enter the base address of the board. It is important that this entry corresponds to the DIP-switch settings on the board. For

Seite 120

7 Advantech7-6The range settings have to correspond to the DIP-switch settings on the board.Sampletime - Base sample time of a multiple of the base sa

Seite 121

PCL-18007-7PCL-1800 Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allow

Seite 122

7 Advantech7-8PCL-726The PCL-726 is an I/O board with, 6 independent analog output D/A channels (12-bit), 16 digital input lines and 16 digital output

Seite 123

PCL-7267-9Driver Block ParameterChannel Vector - Enter numbers between 1 and 6. This driver allows the selection of individual D/A channels in any ord

Seite 124

xix16SoftingCAN-AC2-ISA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3CAN-AC2-ISA with Philips PCA82C200 . .

Seite 125

7 Advantech7-10PCL-726 Digital InputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allo

Seite 126

PCL-7267-11PCL-726 Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows

Seite 127

7 Advantech7-12PCL-727The PCL-727 is an I/O board with, 12 independent analog output D/A channels (12-bit), 16 digital input lines and 16 digital outp

Seite 128

PCL-7277-13[1, 2]Number the channels beginning with 1 even if the board manufacture starts numbering the channels with 0.Range Vector - Enter a range

Seite 129

7 Advantech7-14PCL-727 Digital InputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allo

Seite 130

PCL-7277-15PCL-727 Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows

Seite 131

7 Advantech7-16PCL-728The PCL-728 is an I/O board with, 2 independent analog output D/A channels (12-bit).xPC Target supports this board with one driv

Seite 132

PCL-7287-17Channel numbers begin with 1 even if the board manufacturer starts numbering channels with 0.Range Vector - Enter a range code for each of

Seite 133

7 Advantech7-18PCL-818The PCL-818 is an I/O board with 16 single or 8 differential analog channels (12-bit) with a maximum sample rate of 100 kHz, 2 a

Seite 134

PCL-8187-19enter numbers between 1 and 8. For example, to use the first and second analog output (A/D) channels, enter[1,2]Number the channels beginni

Seite 135

xx Contents

Seite 136

7 Advantech7-20PCL-818 Analog Output (D/A)Scaling of Input to OutputDriver Block ParameterChannel Vector - Enter numbers between 1 and 2. This driver

Seite 137

PCL-8187-21BaseAddress - Enter the base address of the board. It is important that this entry corresponds to the DIP-switch settings on the board. For

Seite 138

7 Advantech7-22PCL-818 Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver al

Seite 139

PCL-818H7-23PCL-818HThe PCL-818H is an I/O board with 16 single or 8 differential analog channels (12-bit) with a maximum sample rate of 100 kHz, 1 an

Seite 140

7 Advantech7-24enter numbers between 1 and 8. For example, to use the first and second analog output (A/D) channels, enter[1,2]Channel numbers begins

Seite 141 - CAN-AC2-PCI

PCL-818H7-25PCL-818H Analog Output (D/A)Scaling of Input to OutputDriver Block ParameterRange - From the list, choose either 0-10V or 0-5V. The range

Seite 142

7 Advantech7-26Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Sampletime - Enter a base sample time

Seite 143

PCL-818HD7-27PCL-818HDThe PCL-818HD is an I/O board with 16 single or 8 differential analog channels (12-bit) with a maximum sample rate of 100 kHz, 1

Seite 144

7 Advantech7-28enter numbers between 1 and 8. For example, to use the first and second analog output (A/D) channels, enter[1,2]Number the channels beg

Seite 145 - CAN I/O Support for FIFO

PCL-818HD7-29PCL-818HD Analog Output (D/A)Scaling of Input to OutputDriver Block ParameterRange - From the list, choose either 0-10V or 0-5V. The rang

Seite 146 - Introduction

1I/O DriversI/O Driver Block Library . . . . . . . . . . . . . . . . .28Memory-Mapped Devices . . . . .

Seite 147

7 Advantech7-30Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Sampletime - Enter a base sample time

Seite 148

PCL-818HG7-31PCL-818HGThe PCL-818 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate of

Seite 149

7 Advantech7-32Driver Block ParametersChannel Vector - If you choose single ended from the MUX list, then enter numbers between 1 and 16. If you choos

Seite 150

PCL-818HG7-33BaseAddress - Enter the base address of the board. It is important that this entry corresponds to the DIP-switch settings on the board. F

Seite 151 - FIFO Setup driver block

7 Advantech7-34PCL-818HG Digital InputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver al

Seite 152

PCL-818HG7-35PCL-818HG Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver al

Seite 153

7 Advantech7-36PCL-818LThe PCL-818L is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate o

Seite 154

PCL-818L7-37Driver Block ParametersChannel Vector - If you choose single ended from the MUX list, then enter channels between 1 and 16. If you choose

Seite 155 - FIFO Write Driver Block

7 Advantech7-38BaseAddress - Enter the base address of the board. It is important that this entry corresponds to the DIP-switch settings on the board.

Seite 156

PCL-818L7-39PCL-818L Digital InputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter channels between 1 and 16. This driver allow

Seite 157 - FIFO Read Driver Block

1 I/O Drivers1-2xPC Target supports over 40 I/O boards and devices. These devices include communication with CAN, GPIB, and RS232. This chapter includ

Seite 158

7 Advantech7-40PCL-818L Digital Output Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter channels between 1 and 16. This driver

Seite 159

8Burr-Brown

Seite 160

8 Burr-Brown8-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“PCI-20003M” x ISA“PCI-20019M” x ISA“PCI-20023M” x ISA“PCI-20

Seite 161

PCI-20003M8-3PCI-20003MThe PCI-20003M is an I/O board with 2 analog output (D/A) channels (12-bit).xPC Target supports this board when it is installed

Seite 162

8 Burr-Brown8-4The following table is a list of the ranges for this driver and the corresponding range codes.For example, if the first channel is -10

Seite 163 - FIFO Reset XMT Driver Block

PCI-20019M8-5PCI-20019MThe PCI-20019M is an I/O board with 8 single analog input (A/D) channels (12-bit). xPC Target supports this board when it is in

Seite 164

8 Burr-Brown8-6Input Range - Enter an input range code for all A/D channels. This driver does not allow the selection of a different range for individ

Seite 165 - FIFO Reset RCV Driver Block

PCI-20019M8-7W11 in W31 -W12 outJumper NumberJumper Jumper NumberJumper

Seite 166

8 Burr-Brown8-8PCI-20023MThe PCI-20023M is an I/O board with 8 single analog input (A/D) channels (12-bit). xPC Target supports this board when it is

Seite 167 - FIFO Setup Driver Block

PCI-20023M8-9Input Range - Enter an input range code for all A/D channels. This driver does not allow the selection of a different range for individua

Seite 168

1-3Double-clicking one of the manufacturer groups then displays the set of I/O device driver blocks for the specified I/O functionality (for example,

Seite 169

8 Burr-Brown8-10W10 out W31 -W11 inJumper NumberJumper Jumper NumberJumper

Seite 170

PCI-20041C8-11PCI-20041CThe PCI-20041C is a carrier board with 32 digital I/O-lines grouped into four ports that can be configured as digital input or

Seite 171

8 Burr-Brown8-12Port Number (0-3) - Enter a number from 1 to 3 to identify the port used with this block of digital input lines.Sample Time - Enter a

Seite 172

PCI-20041C8-13BaseAddress or Carrier Board (ie: 0xd000) - Enter the base address of the board. This entry must correspond to the DIP-switch settings o

Seite 173

8 Burr-Brown8-14PCI-20098The PCI-20041C is a carrier board with 8 single or 16 differential analog input (A/D) channels (12-bit), and 16 digital I/O-l

Seite 174

PCI-200988-15driver does not allow the selection of individual channels or a different MUX setting for each channel.Range - From the list, choose eith

Seite 175

8 Burr-Brown8-16BaseAddress or Carrier Board (ie: 0xd000) - Enter the base address of the board. This entry must corresponds to the DIP-switch setting

Seite 176

9ComputerBoards

Seite 177

9 ComputerBoards9-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“CIO-CTR05” counter FMcounter FM&ARMcounter PWMcounte

Seite 178

9-3“CIO-DAS1602/16”xxxx ISA“CIO-DDA06 (/12)” xxx ISA“CIO-DDA06/16” x x x ISA“CIO-DIO24” x x signal conditioningISA“CIO-DIO24H” x x ISA“CIO-DIO48” x x

Seite 179

1 I/O Drivers1-4Memory-Mapped DevicesSome supported boards in the xPC Target I/O library are memory-mapped devices, for example, Burr-Brown boards. Th

Seite 180

9 ComputerBoards9-4“PCI-CTR05” counter FMcounter FM&ARMcounter PWMcounterPWM&ARPWM captureFrequency capturePCI“PCI-DAS1200” xxxx PCI“PCI-DAS12

Seite 181

CIO-CTR059-5CIO-CTR05The CIO-CTR05 is an I/O board with 5 counter/timer channels (16-bit). It contains one AM9513A counter/timer chip. For additional

Seite 182 - Examples

9 ComputerBoards9-6CIO-CTR05 Counter PWMThe CIOCTR05 has one AM9513A chip with 5 counters.The CIO-CTR05 PWM driver programs the AM9513A for PWM (Pulse

Seite 183

CIO-CTR059-7Sample Time - Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registration

Seite 184

9 ComputerBoards9-8Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the init

Seite 185

CIO-CTR059-9Frequency Base - From the list, choose F1=1MHz, F2=100kHz, F3=10kHz, F4=1kHz, or F5=100Hz to set the base frequency. XTAL frequency is ass

Seite 186

9 ComputerBoards9-10Scaling Input to OutputDriver Block ParametersCounter - From the list, choose 1, 2, 3, 4 or, 5 to select which counter is used wit

Seite 187 - Example 3

CIO-CTR059-11BaseAddress - Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if t

Seite 188

9 ComputerBoards9-12CIO-CTR05 FM CaptureThis block programs the AMD9513A for capturing FM signals.There is one output for relative frequency compared

Seite 189 - Example 5

CIO-CTR109-13CIO-CTR10The CIO-CTR10 is an I/O board with 10 counter/timer channels (16-bit). It contains one AM9513A counter/timer chip. For additiona

Seite 190

1-5In this example, the third line indicates the location of the ComputerBoards PCI-DIO48 board. This is known since the ComputerBoards Vendor ID is 0

Seite 191

9 ComputerBoards9-14CIO-CTR10 Counter PWMThe CIOCTR10 has one AM9513A chip with 10 counters.The CIO-CTR10 PWM driver programs the AM9513A for PWM (Pul

Seite 192

CIO-CTR109-15Sample Time - Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registration

Seite 193 - ADDI-DATA

9 ComputerBoards9-16Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the ini

Seite 194 - 6 ADDI-DATA

CIO-CTR109-17Frequency Base - From the list, choose F1=1MHz, F2=100kHz, F3=10kHz, F4=1kHz, or F5=100Hz to set the base frequency. XTAL frequency is as

Seite 195 - Board Characteristics

9 ComputerBoards9-18Scaling Input to OutputDriver Block ParametersCounter. From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which coun

Seite 196 - Driver Block Parameters

CIO-CTR109-19BaseAddress - Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if t

Seite 197

9 ComputerBoards9-20CIO-CTR10 FM CaptureThis block programs the AMD9513A for capturing FM signals.There is one output for relative frequency compared

Seite 198

CIO-DAC08 (/12)9-21CIO-DAC08 (/12)The CIO-DAC08 (/12) is an I/O board with 8 analog output (D/A) channels (12-bit).xPC Target supports this board with

Seite 199

9 ComputerBoards9-22Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Range code

Seite 200

CIO-DAC08/169-23CIO-DAC08/16The CIO-DAC08/16 is an I/O board with 8 analog output (D/A) channels (16-bit).xPC Target supports this board with one driv

Seite 201 - Advantech

1 I/O Drivers1-6Creating a message structure — You could enter the message structure directly in the edit field of the driver Parameter dialog box. Bu

Seite 202 - 7 Advantech

9 ComputerBoards9-24Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Range code

Seite 203 - Scaling of Input to Output

CIO-DAC16 (/12)9-25CIO-DAC16 (/12)The CIO-DAC016 is an I/O board with 16 analog output (D/A) channels (12-bit).xPC Target supports this board with one

Seite 204

9 ComputerBoards9-26Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a ra

Seite 205 - Driver Block Parameter

CIO-DAC16/169-27CIO-DAC16/16The CIO-DAC16/16 is an I/O board with 16 analog output (D/A) channels (16-bit).xPC Target supports this board with one dri

Seite 206

9 ComputerBoards9-28Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a ra

Seite 207

CIO-DAS16/3009-29CIO-DAS16/300The CIO-DAS16/330 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum s

Seite 208

9 ComputerBoards9-30CIO-DAS16/330 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from

Seite 209

CIO-DAS16/JR (/12)9-31CIO-DAS16/JR (/12)The CIO-DAS16/JR is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a

Seite 210

9 ComputerBoards9-32CIO-DAS16/JR Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from t

Seite 211

CIO-DAS16/JR (/12)9-33CIO-DAS16/JR (/12) Analog Input (A/D) with EXP Signal Conditioning BoardScaling Input to OutputThere are signal conditioning boa

Seite 212

1-7Updated Driver InformationSince, we are always updating and adding new drivers to xPC Target, not all of the information about these drivers is inc

Seite 213

9 ComputerBoards9-34Note If a EXP32 is used and the EXP-channels 16 to 31 should be acquired, the elements of the EXP Channel Vector have still to be

Seite 214

CIO-DAS16/JR (/12)9-35From the list, choose either +-10V (-10 volts to +10 volts), +-5V, +-2.5V, +-1.25V, +-0.625V, 0-10V, 0-5V, 0-2.5V, or 0-1.25V.Th

Seite 215

9 ComputerBoards9-36CIO-DAS16JR/16The CIO-DAS16JR/16 is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a maxi

Seite 216

CIO-DAS16JR/169-37CIO-DAS16JR/16 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from t

Seite 217

9 ComputerBoards9-38CIO-DAS1601/12The CIO-DAS1601/12 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maxi

Seite 218

CIO-DAS1601/129-39CIO-DAS1601/12 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from t

Seite 219

9 ComputerBoards9-40CIO-DAS1601/12 Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2. Th

Seite 220

CIO-DAS1601/129-41Sampletime - Base sample time of a multiple of the base sample time.BaseAddress - Enter the base address of the board. It is importa

Seite 221

9 ComputerBoards9-42Sampletime - Enter a base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. Thi

Seite 222

CIO-DAS1601/129-43Sampletime - Enter a base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. This

Seite 223 - PCL-818H

iContents1I/O DriversI/O Driver Block Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Memory-Mapped Devices . . . . . . . .

Seite 224

1 I/O Drivers1-8

Seite 225

9 ComputerBoards9-44CIO-DAS1602/12The CIO-DAS1602/12 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maxi

Seite 226

CIO-DAS1602/129-45CIO-DAS1602/12 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from t

Seite 227 - PCL-818HD

9 ComputerBoards9-46CIO-DAS1602/12 Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2. Th

Seite 228

CIO-DAS1602/129-47Sampletime - Base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. It is importa

Seite 229

9 ComputerBoards9-48Sampletime - Enter a base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. Thi

Seite 230

CIO-DAS1602/129-49Sampletime - Enter a base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. This

Seite 231 - PCL-818HG

9 ComputerBoards9-50CIO-DAS1602/16The CIO-DAS1602/16 is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a maxi

Seite 232

CIO-DAS1602/169-51CIO-DAS1602/16 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen from t

Seite 233

9 ComputerBoards9-52CIO-DAS1602/16 Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2. Th

Seite 234

CIO-DAS1602/169-53Sampletime - Base sample time of a multiple of the base sample time.BaseAddress - Enter the base address of the board. It is importa

Seite 235

2RS232 I/O SupportIntroduction to RS-232 Drivers . . . . . . . . . . . . 3Hardware Connections for RS-232 . . . . .

Seite 236 - PCL-818L

9 ComputerBoards9-54as inputs or outputs depending on which driver block is chosen. In each case, one block is needed for each port. Sampletime - Ente

Seite 237

CIO-DAS1602/169-55driver block. Each port has a maximum or 8 digital lines that can be configured as inputs or outputs depending on which driver block

Seite 238

9 ComputerBoards9-56CIO-DDA06 (/12)The CIO-DDA06 (/12) is an I/O board with 6 analog output (D/A) channels (12-bit), and 24 digital I/O lines.xPC Targ

Seite 239

CIO-DDA06 (/12)9-57CIO-DDA06 (/12) Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 6. Th

Seite 240

9 ComputerBoards9-58[-10,5]The range settings have to correspond to the DIP-switch settings on the board. The jumpers by the range DIP-switches on the

Seite 241 - Burr-Brown

CIO-DDA06 (/12)9-59Port - From the list choose either A, B, or C. The I/O board has a 8255 chip with 3 ports. The port name defines which port of the

Seite 242 - 8 Burr-Brown

9 ComputerBoards9-60Port - From the list choose either A, B, or C. The I/O board has a 8255 chip with 3 ports. The port name defines which port of the

Seite 243 - Scaling Input to Output

CIO-DDA06/169-61CIO-DDA06/16The CIO-DDA06/16) is an I/O board with 6 analog output (D/A) channels (12-bit), and 24 digital I/O lines.xPC Target suppor

Seite 244

9 ComputerBoards9-62CIO-DDA06/16 Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 6. This

Seite 245 - PCI-20019M

CIO-DDA06/169-63[-10,5]The range settings have to correspond to the DIP-switch settings on the board. The jumpers by the range DIP-switches on the boa

Seite 246

2 RS232 I/O Support2-2xPC Target interfaces the target PC to an RS-232 device using either the COM1 or COM2 port.This chapter includes the following s

Seite 247 - W11 in W31

9 ComputerBoards9-64Port - From the list choose either A, B, or C. The I/O board has a 8255 chip with 3 ports. The port name defines which port of the

Seite 248 - PCI-20023M

CIO-DDA06/169-65Number the lines beginning with 1 even if the board manufacturer starts numbering the lines with 0.Port - From the list choose either

Seite 249

9 ComputerBoards9-66CIO-DIO24The CIO-DIO24 is an I/O board with 24 digital I/O lines.xPC Target supports this board with three driver blocks: •“CIO-DI

Seite 250

CIO-DIO249-67Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This driver

Seite 251 - PCI-20041C

9 ComputerBoards9-68Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used with this port. This

Seite 252

CIO-DIO24H9-69CIO-DIO24HThe CIO-DIO24H is an I/O board with 24 digital I/O lines.xPC Target supports this board with two driver blocks: •“CIO-DIO24H D

Seite 253

9 ComputerBoards9-70Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This

Seite 254 - PCI-20098

CIO-DIO24H9-71Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used with this port. This drive

Seite 255

9 ComputerBoards9-72CIO-DIO48The CIO-DIO48 is an I/O board with 48 digital I/O lines.xPC Target supports this board with two driver blocks: •“CIO-DIO4

Seite 256

CIO-DIO489-73Channel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This driver allows the selection of

Seite 257

Introduction to RS-232 Drivers2-3Introduction to RS-232 DriversxPC Target uses a model for supporting RS-232 I/O that includes both Simulink blocks fo

Seite 258 - 9 ComputerBoards

9 ComputerBoards9-74Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines us

Seite 259

CIO-DIO48H9-75CIO-DIO48HThe CIO-DIO48H is an I/O board with 48 digital I/O lines.xPC Target supports this board with two driver blocks: •“CIO-DIO48H D

Seite 260

9 ComputerBoards9-76Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This

Seite 261 - CIO-CTR05

CIO-DIO48H9-77CIO-DIO48H Digital Output The CIO-DIO48H has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8 digit

Seite 262

9 ComputerBoards9-78CIO-DIO96The CIO-DIO96 is an I/O board with 96 digital I/O lines.xPC Target supports this board with two driver blocks: •“CIO-DIO9

Seite 263

CIO-DIO969-79Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This driver

Seite 264

9 ComputerBoards9-80Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines us

Seite 265

CIO-DIO1929-81CIO-DIO192The CIO- - DIO192 is an I/O board with 192 digital I/O lines.xPC Target supports this board with two driver blocks: •“CIO-DIO1

Seite 266

9 ComputerBoards9-82Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This

Seite 267

CIO-DIO1929-83Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used wit

Seite 268

2 RS232 I/O Support2-4Simulink Blocks for RS-232To support the use of RS-232, the xPC Target I/O library includes a set of RS-232 driver blocks. These

Seite 269 - CIO-CTR10

9 ComputerBoards9-84CIO-DO24DDThe CIO-DO24DD is an I/O board with 24 open-collector digital output lines.xPC Target supports this board with one drive

Seite 270

CIO-DO24DD9-85output lines in any order. The number of elements defines the number of digital lines used.For example, to use all of the digital output

Seite 271

9 ComputerBoards9-86CIO-PDISO16The CIO-PCISO16 is an I/O board with 16 isolated digital input lines and 16 relay driven digital output lines.xPC Targe

Seite 272

CIO-PDISO169-87Scaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 8 to select the number of digital input

Seite 273

9 ComputerBoards9-88CIO-PDISO16 Digital OutputThe CIO-PDISO16 has two independent connectors. Each connector has 8 relay driven digital input lines.Us

Seite 274

CIO-QUAD029-89CIO-QUAD02The CIO-QUAD02 is a 24-bit counting board with 2 channels. This board typically connects to incremental encoders. Incremental

Seite 275

9 ComputerBoards9-90The velocity is given by:velocity = (distance(ts) - distance(ts-1)) / tsThe direction is given by:direction = distance(ts) - dista

Seite 276

CIO-QUAD029-91Resolution - The Resolution field specifies the divisions of the connected incremental encoder for one revolution.

Seite 277 - CIO-DAC08 (/12)

9 ComputerBoards9-92CIO-QUAD04The CIO-QUAD04 is a 24-bit counting board with 4 channels. This board typically connects to incremental encoders. Increm

Seite 278

CIO-QUAD049-93The velocity is given by:velocity = (distance(ts) - distance(ts-1)) / tsThe direction is given by:direction = distance(ts) - distance(ts

Seite 279 - CIO-DAC08/16

Introduction to RS-232 Drivers2-5For more information on this example, see “Creating RS-232 Message Structures (Asynchronous)” on page 2-22.Host and T

Seite 280

9 ComputerBoards9-94Resolution - The Resolution field specifies the divisions of the connected incremental encoder for one revolution.

Seite 281 - CIO-DAC16 (/12)

PC104-DAC06 (/12)9-95PC104-DAC06 (/12)The PC104-DAC06 (12) is an I/O board with 6 analog output (D/A) channels (12-bit).xPC Target supports this board

Seite 282

9 ComputerBoards9-96Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Range code

Seite 283 - CIO-DAC16/16

PC104-DAS16JR/129-97PC104-DAS16JR/12The PC104-DAS16JR/12 is an I/O board with 16 single or 8 differential analog input channels (12-bit) with a maximu

Seite 284

9 ComputerBoards9-98to select the number of A/D channels used. This driver does not allow the selection of individual channels or to mix single-ended

Seite 285 - CIO-DAS16/300

PC104-DAS16JR/129-99PC104-DAS16JR/12 Digital Input Scaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 4 t

Seite 286

9 ComputerBoards9-100PC104-DAS16JR/12 Digital OutputScaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 4

Seite 287 - CIO-DAS16/JR (/12)

PC104-DAS16JR/169-101PC104-DAS16JR/16The PC104-DAS16JR/16 is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a

Seite 288

9 ComputerBoards9-102differential is chosen from the MUX list, then enter a number between 1 and 8 to select the number of A/D channels used. This dri

Seite 289

PC104-DAS16JR/169-103PC104-DAS16JR/16 Digital Input Scaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 4

Seite 290

2 RS232 I/O Support2-6Note COM1 and COM3 share interrupt line 4. Similarly, COM2 and COM4 share interrupt line 3. To provide maximum performance, the

Seite 291

9 ComputerBoards9-104PC104-DAS16JR/16 Digital OutputScaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 4

Seite 292 - CIO-DAS16JR/16

PC104-DIO489-105PC104-DIO48The PC104-DIO48 is an I/O board with 48 digital I/O lines.xPC Target supports this board with two driver blocks: •“PC104-DI

Seite 293

9 ComputerBoards9-106PC104-DIO48 Digital InputThe CIO-DIO48 has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8

Seite 294 - CIO-DAS1601/12

PC104-DIO489-107PC104-DIO48 Digital Output The PC104-DIO48 has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8 d

Seite 295

9 ComputerBoards9-108PCI-CTR05The CIO-CTR05 is an I/O board with 5 counter/timer channels (16-bit). It contains one AM9513A counter/timer chip. For ad

Seite 296

PCI-CTR059-109PCI-CTR05 Counter PWMThe PCI-CTR05 PWM driver programs the AM9513A for PWM (Pulse Width Modulation) signal generation (a square wave wit

Seite 297

9 ComputerBoards9-110PCI Slot (-1:autosearch) - Enter a number between -1 and n.If only one board of this type is physically present in the target PC,

Seite 298

PCI-CTR059-111Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the initializ

Seite 299

9 ComputerBoards9-112Counter - From the list, choose 1, 2, 3, 4, or 5 to select which counter is used with this driver block. In each case, one block

Seite 300 - CIO-DAS1602/12

PCI-CTR059-113Scaling Input to OutputDriver Block ParametersCounter. From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which counter is

Seite 301

RS-232 Synchronous Mode2-7RS-232 Synchronous ModeUse synchronous mode when you need to receive a response before continuing with other computations. I

Seite 302

9 ComputerBoards9-114PCI Slot (-1:autosearch) - Enter a number between -1 and n.If only one board of this type is physically present in the target PC,

Seite 303

PCI-CTR059-115-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated with th

Seite 304

9 ComputerBoards9-116PCI-DAS1200The PCI-DAS1200 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum s

Seite 305

PCI-DAS12009-117differential is chosen from the MUX list, then enter a number between 1 and 8 to select the number of A/D channels used. This driver d

Seite 306 - CIO-DAS1602/16

9 ComputerBoards9-118Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a r

Seite 307

PCI-DAS12009-119Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used wi

Seite 308

9 ComputerBoards9-120Use a separate diver block for each port. By selecting the digital output driver block, the port is configured as output.Scaling

Seite 309

PCI-DAS1200/JR9-121PCI-DAS1200/JRThe PCI-DAS1200/JR is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maxim

Seite 310

9 ComputerBoards9-122to select the number of A/D channels used. This driver does not allow the selection of individual channels or to mix single-ended

Seite 311

PCI-DAS1200/JR9-123Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used

Seite 312 - CIO-DDA06 (/12)

2 RS232 I/O Support2-8Adding RS-232 Driver Blocks (Synchronous)You add RS-232 driver blocks to your Simulink model when you want to use the serial por

Seite 313

9 ComputerBoards9-124Use a separate diver block for each port. By selecting the digital output driver block, the port is configured as output.Scaling

Seite 314

PCI-DAS1602/129-125PCI-DAS1602/12The PCI-DAS1602/12 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maxim

Seite 315

9 ComputerBoards9-126PCI-DAS1602/12 Analog Input (A/D)Scaling of Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen

Seite 316

PCI-DAS1602/129-127PCI-DAS1602/12 Analog Output (D/A)Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2.

Seite 317 - CIO-DDA06/16

9 ComputerBoards9-128Sampletime - Base sample time of a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1 and n.If

Seite 318

PCI-DAS1602/129-129as inputs or outputs depending on which driver block is chosen. In each case, one block is needed for each port. Sampletime - Enter

Seite 319

9 ComputerBoards9-130Port - From the list choose either A, B, or C. The I/O board has a 8255 chip with 3 ports. The port name defines which port of th

Seite 320

PCI-DAS1602/169-131PCI-DAS1602/16The PCI-DAS1602/16 is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a maxim

Seite 321

9 ComputerBoards9-132PCI-DAS1602/16 Analog Input (A/D)Scaling of Input to OutputDriver Block ParametersNumber of Channels - If single-ended is chosen

Seite 322 - CIO-DIO24

PCI-DAS1602/169-133PCI-DAS1602/16 Analog Output (D/A)Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2.

Seite 323

RS-232 Synchronous Mode2-94 In the Library window, double-click the RS-232 Synchronous mode group block. The library window with blocks for RS-232 syn

Seite 324

9 ComputerBoards9-134Sampletime - Base sample time of a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1 and n.If

Seite 325 - CIO-DIO24H

PCI-DAS1602/169-135driver block. Each port has a maximum or 8 digital lines that can be configured as inputs or outputs depending on which driver bloc

Seite 326

9 ComputerBoards9-136Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Port - From the list choose eit

Seite 327

PCI-DDA02/129-137PCI-DDA02/12The PCI-DDA02/12) is an I/O board with 2 analog output (D/A) channels (12-bit), and 48 digital I/O lines.xPC Target suppo

Seite 328 - CIO-DIO48

9 ComputerBoards9-138[1,2]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Ente

Seite 329 - CIO-DIO48 Digital Output

PCI-DDA02/129-139PCI-DDA02/12 Digital InputThe PCI-DDA02/12 has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8

Seite 330

9 ComputerBoards9-140-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated

Seite 331 - CIO-DIO48H

PCI-DDA02/129-141Sampletime - Enter a base sample time or a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1 and

Seite 332

9 ComputerBoards9-142PCI-DDA04/12The PCI-DDA04/12) is an I/O board with 4 analog output (D/A) channels (12-bit), and 48 digital I/O lines.xPC Target s

Seite 333

PCI-DDA04/129-143[1,2]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a

Seite 334 - CIO-DIO96

ii ContentsRS-232 Receive Message Structure (Asynchronous) . . . . . . . . 2-34Supported Data Types for Message Fields . . . . . . . . . . . . . .

Seite 335

2 RS232 I/O Support2-107 Double-click the RS-232 Setup block. Enter values to configure the COM1 port on the target PC. For example, if the target PC

Seite 336

9 ComputerBoards9-144PCI-DDA04/12 Digital InputThe PCI-DDA04/12 has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum o

Seite 337 - CIO-DIO192

PCI-DDA04/129-145-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated with

Seite 338

9 ComputerBoards9-146Sampletime - Enter a base sample time or a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1

Seite 339

PCI-DDA08/129-147PCI-DDA08/12The PCI-DDA08/12) is an I/O board with 8 analog output (A/D) channels (12-bit), and 48 digital I/O lines.xPC Target suppo

Seite 340 - CIO-DO24DD

9 ComputerBoards9-148[1,2]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Ente

Seite 341

PCI-DDA08/129-149PCI-DDA08/12 Digital InputThe PCI-DDA08/12 has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8

Seite 342 - CIO-PDISO16

9 ComputerBoards9-150-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated

Seite 343

PCI-DDA08/129-151Sampletime - Enter a base sample time or a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1 and

Seite 344

9 ComputerBoards9-152PCI-DIO24The PCI-DIO24 is an I/O board with 24 digital I/O lines.xPC Target supports this board with three driver blocks: •“PCI-D

Seite 345 - CIO-QUAD02

PCI-DIO249-153Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with

Seite 346

RS-232 Synchronous Mode2-11For more information on entering the block parameters, see “RS-232 Setup Block” on page 2-27. For the procedure to create t

Seite 347

9 ComputerBoards9-154Use a separate diver block for each port. By selecting the digital output driver block, the port is configured as output.Scaling

Seite 349

9 ComputerBoards9-156PCI-DIO24HThe PCI-DIO24H is an I/O board with 24 digital I/O lines.xPC Target supports this board with two driver blocks: •“PCI-D

Seite 350

PCI-DIO24H9-157Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used wit

Seite 351 - PC104-DAC06 (/12)

9 ComputerBoards9-158Use a separate diver block for each port. By selecting the digital output driver block, the port is configured as output.Scaling

Seite 352

PCI-DIO489-159PCI-DIO48The PCI-DIO48 is an I/O board with 48 digital I/O lines.xPC Target supports this board with two driver blocks: •“PCI-DIO48 Digi

Seite 353 - PC104-DAS16JR/12

9 ComputerBoards9-160Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines us

Seite 354

PCI-DIO489-161PCI-DIO48 Digital OutputThe PCI-DIO48H has two 8255 chips (1,2). Each chip has three ports (A,B,C). Each port has a maximum of 8 digital

Seite 355

9 ComputerBoards9-162-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated

Seite 356

PCI-DIO96H9-163PCI-DIO96HThe PCI-DIO96 is an I/O board with 96 digital I/O lines.xPC Target supports this board with two driver blocks: •“PCI-DIO96H D

Seite 357 - PC104-DAS16JR/16

2 RS232 I/O Support2-128 Click OK. The Block Parameters dialog box closes.9 Double-click the RS-232 Send/Receive block. The Block Parameters dialog bo

Seite 358

9 ComputerBoards9-164Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines us

Seite 359

PCI-DIO96H9-165PCI-DIO96H Digital OutputThe PCI-DIO96H has four 8255 chips (1,2,3,4). Each chip has three ports (A,B,C). Each port has a maximum of 8

Seite 360

9 ComputerBoards9-166-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated

Seite 361 - PC104-DIO48

PCI-QUAD049-167PCI-QUAD04The PCI-QUAD04 is a 24-bit counting board with 4 channels. This board typically connects to incremental encoders. Incremental

Seite 362

9 ComputerBoards9-168The velocity is given by:velocity = (distance(ts) - distance(ts-1)) / tsThe direction is given by:direction = distance(ts) - dist

Seite 363

PCI-QUAD049-169Resolution - The Resolution field specifies the divisions of the connected incremental encoder for one revolution.

Seite 364 - PCI-CTR05

9 ComputerBoards9-170

Seite 365

10Diamond

Seite 366

10 Diamond10-2I/O boards supported by xPC Target. “Diamond-MM” xxxx ISA PC104“Diamond-MM-32”xxxx PC104“Quartz-MM 5” x xcounter FMcounter FM&ARMcou

Seite 367

Diamond-MM10-3Diamond-MMThe Diamond-MM is a DAS16 compatible I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a ma

Seite 368

RS-232 Synchronous Mode2-13Your next task is to create the MATLAB message structures that the RS-232 driver blocks use to sequence commands to the RS-

Seite 369

10 Diamond10-4Diamond-MM Analog Input (A/D)Scaling Input to OutputDriver Block ParametersNumber of Channels - If you entered 16 in the MUX box, then e

Seite 370

Diamond-MM10-5Sample Time - Enter the base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. This e

Seite 371

10 Diamond10-6Sample Time - Enter the base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the board. This e

Seite 372 - PCI-DAS1200

Diamond-MM10-7Diamond-MM Digital OutputScaling Input to OutputDriver Block ParametersNumber of Channels - Enter a number between 1 and 8 to select the

Seite 373

10 Diamond10-8Diamond-MM-32The Diamond MM-32 is a PC104 I/O board with 32 single or 16 differential analog input (A/D) channels (16-bit) with a maximu

Seite 374

Diamond-MM-3210-9Diamond-MM-32 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersFirst channel (1..n) — If you select single-ended from

Seite 375

10 Diamond10-10MUX — From the list choose single-ended (32 channels) or differential (16channels). This entry must correspond to the MUX jumpers set o

Seite 376

Diamond-MM-3210-11The following table is a list of the ranges for this driver and the corresponding range codes. The D/A specific jumpers on the board

Seite 377 - PCI-DAS1200/JR

10 Diamond10-12Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This drive

Seite 378

Diamond-MM-3210-13Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used with this port. This d

Seite 379

2 RS232 I/O Support2-14Note Field names in the structures are case sensitive.RS232_Send_Receive(1).SendData = ’da_1234,%d,%f,;\n’;RS232_Send_Receive(1

Seite 380

10 Diamond10-14Quartz-MM 5The Quartz-MM 10 has 8 digital input lines, 8 digital output lines, and 10 counter/timers.xPC Target supports this board wit

Seite 381 - PCI-DAS1602/12

Quartz-MM 510-15Scaling Input to OutputDriver Block ParametersChannel Vector- Enter a number between 1 and 8 to select the number of digital input lin

Seite 382

10 Diamond10-160x300

Seite 383

Quartz-MM 510-17Quartz-MM5 Counter PWMThe Quartz-MM5 has one AM9513A chip with 5 counters.The Quartz-MM5 PWM driver programs the AM9513A for PWM (Puls

Seite 384

10 Diamond10-18Sample Time - Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registrati

Seite 385

Quartz-MM 510-19Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the initial

Seite 386

10 Diamond10-20Frequency Base - From the list, choose F1=1MHz, F2=100kHz, F3=10kHz, F4=1kHz, or F5=100Hz to set the base frequency. XTAL frequency is

Seite 387 - PCI-DAS1602/16

Quartz-MM 510-21Scaling Input to OutputDriver Block ParametersCounter. From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which counter

Seite 388

10 Diamond10-22BaseAddress - Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if

Seite 389

Quartz-MM 510-23Quartz-MM5 FM CaptureThis block programs the AMD9513A for capturing FM signals.There is one output for relative frequency compared to

Seite 390

RS-232 Synchronous Mode2-158 Set the pre-load function for your Simulink model to load the message structures when you open your model. For example, i

Seite 391

10 Diamond10-24Quartz-MM 10The Quartz-MM 10 has 8 digital input line, 8 digital output lines, and 10 counter/timers.xPC Target supports this board wit

Seite 392

Quartz-MM 1010-25Scaling Input to OutputDriver Block ParametersChannel Vector- Enter a number between 1 and 8 to select the number of digital input li

Seite 393 - PCI-DDA02/12

10 Diamond10-260x300

Seite 394

Quartz-MM 1010-27Quartz-MM 10 Counter PWMThe Quartz-MM10 has two AM9513A chips with 5 counters each.The Quartz-MM10 PWM driver programs the AM9513A fo

Seite 395

10 Diamond10-28Sample Time - Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registrati

Seite 396

Quartz-MM 1010-29Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the initia

Seite 397

10 Diamond10-30Frequency Base - From the list, choose F1=1MHz, F2=100kHz, F3=10kHz, F4=1kHz, or F5=100Hz to set the base frequency. XTAL frequency is

Seite 398 - PCI-DDA04/12

Quartz-MM 1010-31Scaling Input to OutputDriver Block ParametersCounter. From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which counter

Seite 399

10 Diamond10-32BaseAddress - Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if

Seite 400

Quartz-MM 1010-33Quartz-MM 10 FM CaptureThis block programs the AMD9513A for capturing FM signals.There is one output for relative frequency compared

Seite 401

2 RS232 I/O Support2-16RS-232 Asynchronous ModeUse asynchronous mode when you do not need a response before continuing with other computations. You ca

Seite 402

10 Diamond10-34

Seite 404

11 Gespac11-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“GESADA-1” x x ISA Industry“GESPIA-2A” x x ISA Industry

Seite 405

GESADA-111-3GESADA-1The GEADA-1 is an industrial I/O board with 16 single or 8 differential analog input (A/D) channels, and 4 analog output (D/A) cha

Seite 406

11 Gespac11-4Driver Block ParametersNumber of Channels - If you choose 16 single-ended from the MUX list, then enter a number between 1 and 16. If you

Seite 407

GESADA-111-5Enter a range code for each of the channels used. This driver allows a different range for each D/A channel with a maximum of 2 channels.T

Seite 408 - PCI-DIO24

11 Gespac11-6GESPIA-2AThe GESPIA-2A is an industrial I/O board with 32 digital I/O lines. The GESPIA-2A has two 6821 PIAs (0 and 1) from Motorola. Eac

Seite 409

GESPIA-2A11-7GESPIA-2A Digital InputUse a separate diver block for each port. By selecting the digital input driver block, the port is configured as i

Seite 410

11 Gespac11-8GESPIA-2A Digital OutputUse a separate diver block for each port. By selecting the digital output driver block, the port is configured as

Seite 411

12Humusoft

Seite 412 - PCI-DIO24H

RS-232 Asynchronous Mode2-171 In the MATLAB command window, typexpclibThe xPC Target driver block library opens.2 Double-click the RS-232 group block.

Seite 413

12 Humusoft12-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“AD 512” xxxx ISA

Seite 414

AD 51212-3AD 512The AD 512 is an I/O board with 8 single analog input (A/D) channels (12-bit) with a maximum sample rate of 100 kHz, 2 analog output (

Seite 415 - PCI-DIO48

12 Humusoft12-4AD 512 Analog Input (A/D)Scaling Input to OutputDriver block ParameterChannel Vector - Enter numbers between 1 and 8. This driver allow

Seite 416

AD 51212-5BaseAddress - Enter the base address of the board. This entry must correspond to the jumper settings on the board. For example, if the base

Seite 417

12 Humusoft12-6BaseAddress - Enter the base address of the board. This entry must correspond to the DIP-switch settings on the board. For example, if

Seite 418

AD 51212-7AD 512 Digital OutputScaling Input to OutputChannel Vector - Enter a numbers between 1 and 8. This driver allows the selection of individual

Seite 419 - PCI-DIO96H

12 Humusoft12-8

Seite 420

13Keithley Metrabyte

Seite 421

13 Keithley Metrabyte13-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“DAS-1800HR” x x x ISA“KCPI-1801HC”“KPCI-1802HC”

Seite 422

DAS-1800HR13-3DAS-1800HRThe DAS-1800HR is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a maximum sample rat

Seite 423 - PCI-QUAD04

2 RS232 I/O Support2-18Alternatively, you could access the xPC Target block library from the Simulink Library Browser. In the Simulink window, and fro

Seite 424

13 Keithley Metrabyte13-4DAS-1800HR Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - If 16 single-ended or 16 single-e

Seite 425

DAS-1800HR13-5The following table is a list of the ranges for this driver given the gain entered and the range chosen.MUX - From the list, choose eith

Seite 426

13 Keithley Metrabyte13-6Sample Time - Enter a base sample time or a multiple of the base sample time.BaseAddress - Enter the base address of the boar

Seite 427

KCPI-1801HC13-7KCPI-1801HCThe KCPI-1801 is an I/O board with 64 single or 32 differential analog input (A/D) channels (12-bit) with a maximum sample r

Seite 428 - 10 Diamond

13 Keithley Metrabyte13-8KPCI-1801HC Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 64.

Seite 429 - Diamond-MM

KCPI-1801HC13-9Coupling Vector - Enter a coupling code for each of the channels in the channel vector. The coupling vector must be the same length as

Seite 430

13 Keithley Metrabyte13-10KPCI-1801HC Analog Output (D/A)The analog output range of this board is set -10 to +10 volts.Scaling Input to OutputDriver B

Seite 431

KCPI-1801HC13-11KPCI-1801HC Digital InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 4 to select the di

Seite 432

13 Keithley Metrabyte13-12KPCI-1801HC Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 4 to se

Seite 433

KPCI-1802HC13-13KPCI-1802HCThe KCPI-1801 is an I/O board with 64 single or 32 differential analog input (A/D) channels (12-bit) with a maximum sample

Seite 434 - Diamond-MM-32

RS-232 Asynchronous Mode2-19For more information on entering the block parameters, see “RS-232 Setup Block” on page 2-27. For the procedure to create

Seite 435

13 Keithley Metrabyte13-14KPCI-1802HC Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 64.

Seite 436

KPCI-1802HC13-15Coupling Vector - Enter a coupling code for each of the channels in the channel vector. The coupling vector must be the same length as

Seite 437

13 Keithley Metrabyte13-16KPCI-1802HC Analog Output (D/A)The analog output range of this board is set -10 to +10 volts.Scaling Input to OutputDriver B

Seite 438

KPCI-1802HC13-17KPCI-1802HC Digital InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 4 to select the di

Seite 439

13 Keithley Metrabyte13-18KPCI-1802HC Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 4 to se

Seite 440 - Quartz-MM 5

14National Instruments

Seite 441

14 National Instruments14-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“AT-AO-6” x“AT-AO-10” x“GPIB-232CT-A”GPIB setupGB

Seite 442

14-3“PXI-6040E” xxxx compact PCI“PXI-6070E” xxxx compact PCI“PXI-6508” x x compact PCIBoard Name A/DD/ADINDOUTOther Bus type

Seite 443

14 National Instruments14-4AT-AO-6The AT-AO-6 is an I/O board with 6 analog output (D/A) channels (12-bit), and 16 digital I/O lines.xPC Target suppor

Seite 444

AT-AO-614-5[1,2]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a range

Seite 445

iiiCAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-Controller . . . . . . . . . . . . . . . 4-8Setup Driver Block . . . . . . .

Seite 446

2 RS232 I/O Support2-208 Click OK. The Block Parameters dialog box closes.9 Repeat the previous setup for the second RS-232 Setup block and the COM2 p

Seite 447

14 National Instruments14-6AT-AO-6 Digital InputThe AT-AO-6 has 8 digital input lines.Scaling Input to OutputDriver Block ParametersChannel Vector - E

Seite 448

AT-AO-614-7AT-AO-6 Digital Output The AT-AO-6 has 8 digital output lines.Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers

Seite 449

14 National Instruments14-8AT-AO-10The AT-AO-10 is an I/O board with 10 analog output (D/A) channels (12-bit), and 16 digital I/O lines.xPC Target sup

Seite 450 - Quartz-MM 10

AT-AO-1014-9[1,2]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - Enter a range

Seite 451

14 National Instruments14-10AT-AO-10 Digital InputThe AT-AO-10 has 8 digital input lines.Scaling Input to OutputDriver Block ParametersChannel Vector

Seite 452

AT-AO-1014-11AT-AO-10 Digital Output The AT-AO-10 has 8 digital output lines.Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numb

Seite 453

14 National Instruments14-12GPIB-232CT-AThe GPIB-232CT-A is GPIB controller external to the target PC. It is connected to the target PC with an RS232

Seite 454

GPIB-232CT-A14-13Number of Stopbits - From the list, choose 1 or 2.Parity - From the list, choose None, Odd, or Even.Protocol - From the list, choose

Seite 455

14 National Instruments14-14PC-DIO-24The PC-DIO-24 is an I/O board with 24 digital input and output lines.xPC Target supports this board with two driv

Seite 456

PC-DIO-2414-15PC-DIO24 Digital InputThe PC-DIO24 has one 8255 chip with 3 ports (A,B,C). Each port has a maximum of 8 digital I/O lines that can be co

Seite 457

RS-232 Asynchronous Mode2-2112 Click OK. The Block Parameters dialog box closes.13 Double-click the RS-232 Send block. The Block Parameters dialog box

Seite 458

14 National Instruments14-16PC-DIO24 Digital OutputThe PC-DIO24 has one 8255 chip with 3 ports (A,B,C). Each port has a maximum of 8 digital I/O lines

Seite 459

PC-TIO-1014-17PC-TIO-10The PC-TIO-10 is an I/O board with 16 digital input and output lines, and 10 counter/timer channels (16-bit).xPC Target support

Seite 460

14 National Instruments14-18Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input l

Seite 461

PC-TIO-1014-19Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used wit

Seite 462 - 11 Gespac

14 National Instruments14-20PC-TIO-10 Counter PWMThe PC-TIO-10 has two AM9513A chips each with 5 counters for a total of 10 counters on the board.The

Seite 463 - GESADA-1

PC-TIO-1014-21Sample Time - Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registratio

Seite 464

14 National Instruments14-22Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at

Seite 465

PC-TIO-1014-23Scaling Input to OutputDriver Block ParametersCounter - From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which counter i

Seite 466 - GESPIA-2A

14 National Instruments14-24PC-TIO10 Counter FM & ARMThe PC-TIO-10 has two AM9513A chips each with 5 counters for a total of 10 counters on the bo

Seite 467

PC-TIO-1014-25Initial ARM State - From the list, choose Disarmed or Armed. The Initial ARM State defines if the counter should be armed or disarmed af

Seite 468

2 RS232 I/O Support2-2216 Double-click the Signal Generator block, and enter parameters. For example, from the Wave Form list, choose, sine. In the Am

Seite 469

14 National Instruments14-26PCI-6023EThe PCI-6023E is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximu

Seite 470 - 12 Humusoft

PCI-6023E14-27PCI-6023E Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver a

Seite 471

14 National Instruments14-28The following table is a list of the couplings for this driver and the corresponding coupling codes.For example, if the fi

Seite 472 - Driver block Parameter

PCI-6023E14-29PCI-6023E Digital InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digita

Seite 473

14 National Instruments14-30PCI-6023E Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to se

Seite 474

PCI-6024E14-31PCI-6024EThe PCI-6024E is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate

Seite 475

14 National Instruments14-32PCI-6024E Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16.

Seite 476

PCI-6024E14-33The following table is a list of the couplings for this driver and the corresponding coupling codes.For example, if the first and second

Seite 477

14 National Instruments14-34PCI-6024E Analog Output (D/A)The analog output range of this board is set -10 to +10 volts.Scaling Input to OutputDriver B

Seite 478 - 13 Keithley Metrabyte

PCI-6024E14-35PCI-6024E Digital InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digita

Seite 479 - DAS-1800HR

RS-232 Asynchronous Mode2-23Note Field names in the structures are case sensitive.RS232_Send(1).SendData = ’start,%f,%f,stop;\r’;RS232_Send(1).InputPo

Seite 480

14 National Instruments14-36PCI-6024E Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to se

Seite 481

PCI-6025E14-37PCI-6025EThe PCI-6025E is an I/O board with 16 single or 8 differential analog inputs(A/D) channels (12-bit) with a maximum sample rate

Seite 482

14 National Instruments14-38PCI-6025E Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16.

Seite 483 - KCPI-1801HC

PCI-6025E14-39The following table is a list of the couplings for this driver and the corresponding coupling codes.For example, if the first and second

Seite 484

14 National Instruments14-40PCI-6025E Analog Output (D/A)The analog output range of this board is set -10 to +10 volts.Scaling Input to OutputDriver B

Seite 485

PCI-6025E14-41PCI-6025E Digital InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digita

Seite 486

14 National Instruments14-42PCI-6025E Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to se

Seite 487

PCI-6031E14-43PCI-6031EThe PCI-6031E is an I/O board with 64 single or 32 differential analog input (A/D) channels (16-bit) with a maximum sample rate

Seite 488

14 National Instruments14-44Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 64. This driver allows you t

Seite 489

PCI-6031E14-45[-10,1,1]Coupling Vector - Enter a coupling code for each of the channels in the channel vector. The coupling vector must be the same le

Seite 490

2 RS232 I/O Support2-247 Connect the input and output ports on the RS-232 driver blocks to other blocks in your Simulink model.Your model should look

Seite 491 - KPCI-1802HC

14 National Instruments14-46If two or more boards of this type are physically present in your target PC, enter the PCI slot number of the board associ

Seite 492

PCI-6031E14-47PCI Slot (-1:autosearch) - Enter a number between -1 and n.If only one board of this type is physically present in the target PC, enter-

Seite 493

14 National Instruments14-48PCI-6031E Digital OutputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to

Seite 494

PCI-6052E14-49PCI-6052EThe PCI-6052E is an I/O board with 16 single or 8 differential analog input channels (16-bit) with a maximum sample rate of 333

Seite 495

14 National Instruments14-50Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows you t

Seite 496 - 14 National Instruments

PCI-6052E14-51For example, if the first channel is -10 to + 10 volts and the second and fifth channels are 0 to +1 volts, enter [-10,1,1]Coupling Vect

Seite 497

14 National Instruments14-52If only one board of this type is physically present in your target PC, enter-1 If two or more boards of this type are phy

Seite 498

PCI-6052E14-53Sampletime - Base sample time of a multiple of the base sample time.PCI Slot (-1:autosearch) - Enter a number between -1 and n.If only o

Seite 499 - [-10,10]

14 National Instruments14-54PCI-6052E Digital OutputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to

Seite 500 - AT-AO-6 Digital Input

PCI-6071E14-55PCI-6071EThe PCI-6071E is an I/O board with 64 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate

Seite 501 - AT-AO-6 Digital Output

RS-232 Asynchronous Mode2-25Building and Running the Target Application (Asynchronous)xPC Target and Real-Time Workshop create C code from your Simuli

Seite 502

14 National Instruments14-56PCI-6071E Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 64.

Seite 503 - AT-AO-10

PCI-6071E14-57For example, if the first channel is -10 to + 10 volts and the second and fifth channels are 0 to +1 volts, enter [-10,1,1]Coupling Vect

Seite 504 - AT-AO-10 Digital Input

14 National Instruments14-58The driver selects a second differential input 8 channels higher than the first channel. In the example above, the driver

Seite 505 - AT-AO-10 Digital Output

PCI-6071E14-59The following table is a list of the ranges for this driver and the corresponding range codes.For example, if the first channel is -10 t

Seite 506 - GPIB-232CT-A

14 National Instruments14-60Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Sampletime - Enter a bas

Seite 507

PCI-650314-61PCI-6503The PCI-6503 is an I/O board with 24 digital input and output lines.xPC Target supports this board with two driver blocks: •“PCI-

Seite 508 - PC-DIO-24

14 National Instruments14-62Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this por

Seite 509

PCI-650314-63Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used with this port. This driver

Seite 510

14 National Instruments14-64PCI-6508

Seite 511 - PC-TIO-10

PCI-DIO-9614-65PCI-DIO-96The PC-DIO-96 is an I/O board with 96 digital input and output lines.xPC Target supports this board with two driver blocks: •

Seite 512

2 RS232 I/O Support2-26

Seite 513

14 National Instruments14-66Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this por

Seite 514

PCI-DIO-9614-67Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital output lines used with this port. This driv

Seite 515

14 National Instruments14-68PCI-MIO-16E-1The PCI-MIO-16E-1 is an I/O board with 16 single or 8 differential analog input channels (12-bit) with a maxi

Seite 516

PCI-MIO-16E-114-69Channel Vector - Enter numbers between 1 and 16. This driver allows you to enter channel numbers in any order.For example, to use th

Seite 517

14 National Instruments14-70The following table is a list of the couplings for this driver and the corresponding coupling codes.For example, if the fi

Seite 518

PCI-MIO-16E-114-71PCI-MIO-16E1 Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2. This d

Seite 519 - PC-TIO10 FM Capture

14 National Instruments14-72If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associa

Seite 520 - PCI-6023E

PCI-MIO-16E-114-73PCI-MIO-16E1 Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select th

Seite 521

14 National Instruments14-74PCI-MIO-16E-4The PCI-MIO-16E-4 is an I/O board with 16 single or 8 differential analog input channels (12-bit) with a maxi

Seite 522

PCI-MIO-16E-414-75PCI-MIO-16E-4 Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This

Seite 523

RS-232 Simulink Block Reference2-27RS-232 Simulink Block ReferencexPC Target supports RS-232 communication with driver blocks in your Simulink model a

Seite 524

14 National Instruments14-76For example, if the first channel is -10 to + 10 volts and the second and fifth channels are 0 to +1 volts, enter [-10,1,1

Seite 525 - PCI-6024E

PCI-MIO-16E-414-77The driver selects a second differential input 8 channels higher than the first channel. In the example above, the driver would sele

Seite 526

14 National Instruments14-78The following table is a list of the ranges for this driver and the corresponding range codes.For example, if the first ch

Seite 527

PCI-MIO-16E-414-79Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Sampletime - Enter a base sample t

Seite 528

14 National Instruments14-80PCI-MIO-16XE-10The PCI-6024E is an I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a

Seite 529

PCI-MIO-16XE-1014-81Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows you to enter

Seite 530

14 National Instruments14-82[-10,1,1]Coupling Vector - Enter a coupling code for each of the channels in the channel vector. The coupling vector must

Seite 531 - PCI-6025E

PCI-MIO-16XE-1014-83If two or more boards of this type are physically present in your target PC, enter the PCI slot number of the board associated wit

Seite 532

14 National Instruments14-84PCI Slot (-1:autosearch) - Enter a number between -1 and n.If only one board of this type is physically present in the tar

Seite 533

PCI-MIO-16XE-1014-85PCI-MIO-16XE-10 Digital OutputScaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to s

Seite 534

2 RS232 I/O Support2-28Sendbuffer SizeEnter the size, in bytes, of the send buffer.Receivebuffer SizeEnter the size, in bytes, of the receive buffer.T

Seite 535

14 National Instruments14-86PXI-6040EThe PXI-6040E is an I/O board with 16 single or 8 differential analog input channels (12-bit) with a maximum samp

Seite 536

PXI-6040E14-87PXI-6040E Analog Input (A/D)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver a

Seite 537 - PCI-6031E

14 National Instruments14-88For example, if the first channel is -10 to + 10 volts and the second and fifth channels are 0 to +1 volts, enter [-10,1,1

Seite 538

PXI-6040E14-89The driver selects a second differential input 8 channels higher than the first channel. In the example above, the driver would select t

Seite 539

14 National Instruments14-90The following table is a list of the ranges for this driver and the corresponding range codes.For example, if the first ch

Seite 540

PXI-6040E14-91Number the lines beginning with 1 even if the board manufacture starts numbering the lines with 0.Sampletime - Enter a base sample time

Seite 541

14 National Instruments14-92PXI-6070EThe PXI-6070E is an I/O board with 16 single or 8 differential analog input channels (12-bit) with a maximum samp

Seite 542

PXI-6070E14-93Driver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows you to enter channel numbers in any order.For

Seite 543 - PCI-6052E

14 National Instruments14-94The following table is a list of the couplings for this driver and the corresponding coupling codes.For example, if the fi

Seite 544

PXI-6070E14-95PXI-6070E Analog Output (D/A)Scaling Input to OutputDriver Block ParametersChannel Vector - Enter Numbers between 1 and 2. This driver a

Seite 545

RS-232 Simulink Block Reference2-29RS-232 Send/Receive Block (Synchronous)The Block Parameters dialog box for the Synchronous Send & Receive block

Seite 546

14 National Instruments14-96If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associa

Seite 547

PXI-6070E14-97PXI-6070E Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digit

Seite 548

14 National Instruments14-98PXI-6508The PXI-6508 is an I/O board with 96 digital input and output lines.xPC Target supports this board with two driver

Seite 549 - PCI-6071E

PXI-650814-99Driver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital input lines used with this port. This driver

Seite 550

14 National Instruments14-100Scaling of Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 8 to select the digital out

Seite 551

15Real Time Devices

Seite 552

15 Real Time Devices2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“DM6420” x ISA PC104“DM6430” x x ISA PC104“DM6604” x x

Seite 553

DM64203DM6420The DM6420 is an I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate of 500 kHz, 2

Seite 554

15 Real Time Devices4DM6420 Analog InputScaling Input to OutputDriver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver all

Seite 555 - PCI-6503

DM64205Note While this board has programmable input ranges of +5, +10 and 0 to 10, this driver sets the input range to +10, and then lets you select

Seite 556

iv Contents5CAN I/O Support for FIFOIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2FIFO Mode dri

Seite 557

2 RS232 I/O Support2-30RS-232 Send Block (Asynchronous)The Block Parameters dialog box for the Asynchronous Send block contains the following fields.R

Seite 558 - PCI-6508

15 Real Time Devices6DM6430The DM6420 is an ISA PC/104 I/O board with 16 single or 8 differential analog input (A/D) channels (16-bit) with a maximum

Seite 559 - PCI-DIO-96

DM64307Channel Vector - Enter numbers between 1 and 16. This driver allows the selection of individual A/D channels in any order. The number of elemen

Seite 560

15 Real Time Devices8[0,0,1]The driver selects a second differential input 8 channels higher than the first channel. In the example above, the driver

Seite 561

DM66049DM6604The DM6604 is an ISA PC/104 I/O board with 8 analog output (D/A) channels (12-bit), and 24 digital I/O lines.xPC Target supports this boa

Seite 562 - PCI-MIO-16E-1

15 Real Time Devices10[1,2,5]Number the channels beginning with 1 even if the board manufacturer starts numbering the channels with 0.Range Vector - E

Seite 563

DM660411Number the lines beginning with 1 even if the board manufacturer starts numbering the lines with 0.Port - From the list choose either A, B, or

Seite 564

15 Real Time Devices12DM6804The DM6604 is an ISA PC/104 I/O board with 24 digital I/O lines and 5 counter/timer channels (16-bit). It contains one 825

Seite 565

DM680413Use a separate driver block for each port. By selecting the digital input driver block, the port is configured as input.Channel Vector - Enter

Seite 566

15 Real Time Devices14Port - From the list choose either A, B, or C. The port name defines which port is used for this driver block. Each port has a m

Seite 567

DM680415Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle. The Duty Cycle defines the duty cycle at the initialization

Seite 568 - PCI-MIO-16E-4

RS-232 Simulink Block Reference2-31RS-232 MATLAB Structure ReferenceYou do not use all message fields in all messages. For example, a message to send

Seite 569

15 Real Time Devices16Relative Output Frequency - Enter a value less than 1. The Relative Output Frequency is multiplied by the FrequencyBase to set t

Seite 570

DM680417Scaling Input to OutputDriver Block ParametersCounter - From the list, choose 1, 2, 3, 4, or 5 to select which counter is used with this drive

Seite 571

15 Real Time Devices18The DM6804 FM & ARM driver programs the AM9513A for FM (Frequency Modulation) signal generation (a square wave with fixed du

Seite 572

DM680419second block input. If a value 0 is asserted, the counter is disarmed. If a value 1 is asserted, the counter gets armed.Sample Time - Enter th

Seite 573

15 Real Time Devices20BaseAddress - Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For exam

Seite 574 - PCI-MIO-16XE-10

DM681421DM6814The DM6814 is a 16-bit counting board with 3 channels. This board typically connects to incremental encoders. Incremental encoders conve

Seite 575

15 Real Time Devices22Sample Time — Base sample time or a multiple of the base sample time.BaseAddress — Enter the base address of the board. This ent

Seite 576

DM742023DM7420The DM7420 is a PCI PC/104 I/O board with 16 single or 8 differential analog input (A/D) channels (12-bit) with a maximum sample rate of

Seite 577

15 Real Time Devices24Driver Block ParametersChannel Vector - Enter numbers between 1 and 16. This driver allows the selection of individual A/D chann

Seite 578

DM742025The following table is a list of the ranges for this driver given the gain entered in the gain vector.Notice that by increasing the gain code

Seite 579

2 RS232 I/O Support2-32RS-232 Send/Receive Message Structure (Synchronous)Below are descriptions of the possible message fields for the send /receive

Seite 580 - PXI-6040E

15 Real Time Devices26-1 If two or more boards of this type are physically present in the target PC, enter the PCI slot number of the board associated

Seite 581

DM742027Port - From the list choose either 0, or 1.Sample Time - Base sample time of a multiple of the base sample time.PCI Slot (-1:autosearch) - Ent

Seite 582

15 Real Time Devices28

Seite 583

16Softing

Seite 584

16 Softing16-2I/O boards supported by xPC Target. Board Name A/DD/ADINDOUTOther Bus type“CAN-AC2-ISA” CAN fieldbus PCI“CAN-AC2-PCI” CAN fieldbus PC104

Seite 585

CAN-AC2-ISA16-3CAN-AC2-ISAFor I/O-drivers to connect xPC Target-applications to the CAN-fieldbus xPC Target CAN-AC2 is provided as an extension to the

Seite 586 - PXI-6070E

16 Softing16-4Setup-blockEvery SIMULINK-model which sends and receives CAN-messages over the CAN-AC2 board has to contain exactly one setup-block. The

Seite 587

CAN-AC2-ISA16-52: D4000-D7FFF3: D8000-D8FFFThe second and third dialogue-field allows to choose the baudrate of CAN-port 1. If the baudrate within the

Seite 588

16 Softing16-6Send-blockTo send CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed send-blocks. The first dialo

Seite 589

CAN-AC2-ISA16-7Receive-blockTo receive CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed receive-blocks.The fi

Seite 590

RS-232 Simulink Block Reference2-33RS-232 Send Message Structure (Asynchronous)Below is a description of the possible message fields for the send stru

Seite 591

16 Softing16-8CAN-AC2-ISA with Intel 82527The second level of the library contains three driver blocks, one for setting up the board, one for sending

Seite 592 - PXI-6508

CAN-AC2-ISA16-9Setup-blockEvery SIMULINK-model which sends and receives CAN-messages over the CAN-AC2 board has to contain exactly one setup-block. Th

Seite 593

16 Softing16-10The second and third dialogue-field allows to choose the baudrate of CAN-port 1. If the baudrate within the popup menu is not set to &q

Seite 594

CAN-AC2-ISA16-11Send-blockTo send CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed send-blocks. The first dia

Seite 595

16 Softing16-12Receive-blockTo receive CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed receive-blocks. The f

Seite 596 - 15 Real Time Devices

CAN-AC2-PCI16-13CAN-AC2-PCIFor I/O-drivers to connect xPC Target-applications to the CAN-fieldbus xPC Target CAN-AC2 is provided as an extension to th

Seite 597

16 Softing16-14Setup-blockEvery SIMULINK-model which sends and receives CAN-messages over the CAN-AC2-PCI board has to contain exactly one setup-block

Seite 598

CAN-AC2-PCI16-15The last 4 dialogue-entries are used to define the Identifiers of all CAN-messages sent or received within the current SIMULINK-model.

Seite 599 - Gain Range (V)

16 Softing16-16Send-blockTo send CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed send-blocks.The first dialo

Seite 600

CAN-AC2-PCI16-17Receive-blockTo receive CAN-messages specified in the setup-block, a SIMULINK-model can contain as many as needed receive-blocks. The

Seite 601

2 RS232 I/O Support2-34RS-232 Receive Message Structure (Asynchronous)Below are descriptions of the possible message fields for the receive message St

Seite 602

16 Softing16-18CAN-AC2 and CANopen devicesIntroductionxPC Target CAN-AC2 supports CAN specification 2.0a and 2.0b but this does not generally include

Seite 603

CAN-AC2 and CANopen devices16-19Restriction: CANopen initialization and termination is only supported if the CAN-AC2 board is equipped with the Philip

Seite 604

16 Softing16-20•initialization phase - Enable global interrupts to enable asynchronous mode (object 6423) - Put device from pre-operational mode into

Seite 605 - DM6604 Digital Output

CAN-AC2 and CANopen devices16-21// AIC711 SDO object 6423: enable global interuptsCANAC2_init[0].port=1;CANAC2_init[0].identifier=AIC711_sdo_base+AIC7

Seite 606

16 Softing16-22The receive block will read continuously the object to which the AIC711 sends the PDO’s (ie. the converted A/D-values). Because the out

Seite 607 - DM6804 Digital Output

CAN-AC2 and CANopen devices16-23The receive block receives the data (PDO) over CAN-message 640+node-i and has to look therefore as follows:

Seite 608

16 Softing16-24If more than one CANopen device is connected to the network the dialogue boxes of the setup and receive block and the CANAC2_setup.c fi

Seite 609

17Versalogic

Seite 610

17 Versalogic17-26I/O boards supported by xPC Target.) Board Name A/DD/ADINDOUTOther Bus type“VSBC-6” x x x watch dog N/A

Seite 611

VSBC-617-27VSBC-6The VSBC-6 is a single board computer with 8 signal ended analog input (A/D) channels, 16 digital I/O lines, and a watchdog timer.xPC

Seite 612

RS-232 Simulink Block Reference2-35Supported Data Types for Message FieldsThe following table lists the supported data types for the RS-232 message fi

Seite 613

17 Versalogic17-28The following table is a list of the ranges for this driver and the corresponding range codes.For example, if the first channel is -

Seite 614

VSBC-617-29VSBC-6 Digital OutputScaling Input to OutputDriver Block ParametersChannel Vector - Enter a numbers between 1 and 16 to select the number o

Seite 615

17 Versalogic17-30

Seite 616

IndexI-1II/O dirverlibrary 1-2LlibraryI/O dirver 1-2

Seite 617

2 RS232 I/O Support2-36

Seite 618

3GPIB I/O SupportIntroduction to GPIB Drivers . . . . . . . . . . . 12-3Hardware Connections for GPIB . . . . .

Seite 619

3 GPIB I/O Support3-2xPC Target interfaces the target PC to a GPIB instrument bus using an external GPIB controller from National Instruments. This ex

Seite 620

Introduction to GPIB Drivers3-3Introduction to GPIB DriversxPC Target uses a model for I/O that includes both Simulink blocks, for theI/O drivers, and

Seite 621

v6ADDI-DATAAPCI-1710 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3APCI-1710 Incremental Encoder . .

Seite 622

3 GPIB I/O Support3-4Simulink Blocks for GPIBTo support the use of GPIB, the xPC Target I/O library includes a set of GPIB driver blocks. These driver

Seite 623

Introduction to GPIB Drivers3-5Currently, only two limitations exist. xPC Target does not support string data types as input and output data types. Al

Seite 624 - 16 Softing

3 GPIB I/O Support3-6Using GPIB DriversxPC Target uses a combination of Simulink blocks and MATLAB structures to support GPIB communication from your

Seite 625 - CAN-AC2-ISA

Using GPIB Drivers3-73 Double-click the National Instruments group block.A window with blocks for GPIB drivers opens. Alternatively, you could access

Seite 626 - Setup-block

3 GPIB I/O Support3-85 Double-click the GPIB Setup block. Enter values that correspond to the DIP switch settings you set on the GPIB-232CT-A controll

Seite 627

Using GPIB Drivers3-9For more information on entering the block parameters, see “GPIB-232CT-A Setup” on page 14-12. For the procedure to create the in

Seite 628 - Send-block

3 GPIB I/O Support3-10structure, see “Creating GPIB Message Structures” on page 3-11.6 Click OK. The Block Parameters dialog box closes.7 Double-click

Seite 629 - Receive-block

Using GPIB Drivers3-11Your next task is to create the MATLAB message structures that the GPIB driver blocks use to sequence commands to the GPIB contr

Seite 630

3 GPIB I/O Support3-12GPIB_Send_Receive(2).Command = ’rd 16’;GPIB_Send_Receive(2).RecData = ’%f’;GPIB_Send_Receive(2).RdLength = 20;GPIB_Send_Receive(

Seite 631

Using GPIB Drivers3-138 Set the pre-load function for your Simulink model to load the message structures when you open the model. For example, if you

Seite 632

vi ContentsPCL-812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24PCL-812 Analog Input (A/D) . . . .

Seite 633

3 GPIB I/O Support3-14GPIB Simulink Block ReferenceThe GPIB-232CT-A is a GPIB controller external to the target PC. It is connected to the target PC w

Seite 634

GPIB Simulink Block Reference3-15Baudrate From the list, choose 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, or 300.Number of DatabitsFro

Seite 635

3 GPIB I/O Support3-16GPIB-232CT-A Send/Receive BlockDriver Block ParametersGPIB MATLAB Structure ReferenceYou do not use all message fields in all me

Seite 636

GPIB Simulink Block Reference3-17GPIB Initialization and Termination Message StructuresThe format for the initialization and termination structures ar

Seite 637

3 GPIB I/O Support3-18GPIB Send/Receive Message StructureBelow is a description of the possible fields for the send/receive message structure. The ord

Seite 638

GPIB Simulink Block Reference3-19The first port is used to dynamically provide the length of the receive string, while the second port provides the va

Seite 639

3 GPIB I/O Support3-20OutputDataTypes Defines the data types for the output ports on the driver block. Default value = []If this value is not define,

Seite 640 - CAN-AC2 and CANopen devices

GPIB Simulink Block Reference3-21Shortcuts and Features for MessagesxPC Target defines the abbreviations wrt and rd to make message writing easier wit

Seite 641

3 GPIB I/O Support3-22GPIB_Message(1).RecData = ’%f%d’;GPIB_Message(1).OutputPorts = [1 -1];The code %d reads the length of data and the -1 discards t

Seite 642

GPIB Simulink Block Reference3-23Supported Data Types for Message FieldsThe following table lists the supported data types for the message fields .Sen

Seite 643

viiPCL-818L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-53PCL-818L Analog Input (A/D) . . . . . . . . .

Seite 644

3 GPIB I/O Support3-24

Seite 645

4CAN I/O SupportIntroduction 2CAN-AC2 4CAN-AC2-PCI 4CAN-AC2-104 4Selecting a CAN Library 5CAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82

Seite 646

4 CAN I/O Support4-2IntroductionxPC Target offers support to connect an xPC target system to a CAN network using the CAN driver blocks provided by the

Seite 647

Introduction4-3the build process. This has to be done in the xPC Target setup environment either using the xpcsetup-GUI or the corresponding command l

Seite 648 - 17 Versalogic

4 CAN I/O Support4-4CAN-AC2This is the CAN-board for the ISA-Bus offering two CAN ports (Highspeed). In it’s standard hardware configuration it uses t

Seite 649

Introduction4-5Selecting a CAN LibraryBefore you can build a target application using CAN driver blocks, you need to select the correct CAN library. T

Seite 650

4 CAN I/O Support4-6

Seite 651 - Block Parameters

Introduction4-7The following table shows which CAN-Library property value depending on the used board or boards.* the setting ‘1000 MB PCI’ is the sam

Seite 652

4 CAN I/O Support4-8CAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-ControllerThe driver blocks described here support the CAN-AC2

Seite 653 - I/O dirver 1-2

CAN driver blocks for the CAN-AC2 (ISA) with Philips PCA 82C200 CAN-Controller4-9Setup Driver BlockThe Setup block is used to define general settings

Kommentare zu diesen Handbüchern

Keine Kommentare