MATLAB XPC TARGET 4 - DEVICE DRIVERS Especificações

Consulte online ou descarregue Especificações para Processadores MATLAB XPC TARGET 4 - DEVICE DRIVERS. MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifications Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 653
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Modeling
Simulation
Implementation
xPC Target
For Use with Real-Time Workshop
®
I/O Reference Guide
Version 1
Vista de página 0
1 2 3 4 5 6 ... 652 653

Resumo do Conteúdo

Página 1 - I/O Reference Guide

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

Página 2 - How to Contact The MathWorks:

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 13

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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-

Página 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

Página 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

Página 24 - 1 I/O Drivers

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 35

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 46 - Asynchronous)

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

Página 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

Página 48

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

Página 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

Página 50

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

Página 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-

Página 52

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

Página 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

Página 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

Página 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

Página 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

Página 57 - RS-232 Setup Block

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 68 - 3 GPIB I/O Support

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 79

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 90

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

Página 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

Página 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

Página 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

Página 94

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 101 - Send Driver Block

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

Página 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

Página 104

5 CAN I/O Support for FIFO5-48

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 112 - SJA1000 CAN-Controller

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

Página 113 - Setup driver block

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

Página 114

6 ADDI-DATA6-8

Página 115

7Advantech

Página 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

Página 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

Página 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

Página 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

Página 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

Página 121

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

Página 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

Página 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

Página 124

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

Página 125

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

Página 126

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

Página 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

Página 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

Página 129

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

Página 130

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

Página 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

Página 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

Página 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

Página 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

Página 135

xx Contents

Página 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

Página 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

Página 138

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 146 - Introduction

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 152

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

Página 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

Página 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

Página 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.

Página 156

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

Página 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

Página 158

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

Página 159

8Burr-Brown

Página 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

Página 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

Página 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

Página 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

Página 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

Página 165 - FIFO Reset RCV Driver Block

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

Página 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

Página 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

Página 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,

Página 169

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 176

9ComputerBoards

Página 177

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

Página 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

Página 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

Página 180

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 188

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 197

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

Página 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

Página 199

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 208

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 219

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

Página 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

Página 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

Página 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

Página 223 - PCL-818H

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

Página 224

1 I/O Drivers1-8

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 233

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

Página 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

Página 235

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 244

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 253

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 260

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

Página 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

Página 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

Página 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

Página 264

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

Página 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

Página 266

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

Página 267

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 273

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

Página 274

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

Página 275

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

Página 276

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

Página 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

Página 278

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

Página 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

Página 280

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

Página 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

Página 282

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

Página 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

Página 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

Página 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

Página 286

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

Página 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

Página 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

Página 289

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

Página 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

Página 291

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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,

Página 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

Página 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

Página 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

Página 301

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

Página 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,

Página 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

Página 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

Página 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

Página 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

Página 307

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

Página 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

Página 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

Página 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

Página 311

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

Página 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

Página 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

Página 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

Página 315

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 321

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 334 - CIO-DIO96

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 350

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 358

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

Página 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

Página 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

Página 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

Página 362

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

Página 363

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

Página 364 - PCI-CTR05

9 ComputerBoards9-170

Página 365

10Diamond

Página 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

Página 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

Página 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-

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 382

10 Diamond10-160x300

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 393 - PCI-DDA02/12

10 Diamond10-260x300

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 402

10 Diamond10-34

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 411

12Humusoft

Página 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.

Página 413

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

Página 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 (

Página 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

Página 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

Página 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

Página 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

Página 420

13Keithley Metrabyte

Página 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”

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 431

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

Página 432

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

Página 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

Página 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

Página 435

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

Página 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

Página 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

Página 438

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

Página 439

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

Página 440 - Quartz-MM 5

14National Instruments

Página 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

Página 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

Página 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

Página 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

Página 445

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 451

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 460

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 473

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

Página 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

Página 475

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

Página 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

Página 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

Página 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

Página 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

Página 480

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

Página 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

Página 482

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

Página 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

Página 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

Página 485

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

Página 486

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

Página 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

Página 488

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

Página 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

Página 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

Página 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

Página 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-

Página 493

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

Página 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

Página 495

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

Página 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

Página 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

Página 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

Página 499 - [-10,10]

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

Página 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

Página 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

Página 502

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

Página 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

Página 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

Página 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

Página 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

Página 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-

Página 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

Página 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

Página 510

14 National Instruments14-64PCI-6508

Página 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: •

Página 512

2 RS232 I/O Support2-26

Página 513

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 523

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 545

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

Página 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

Página 547

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

Página 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

Página 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

Página 550

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

Página 551

15Real Time Devices

Página 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

Página 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

Página 554

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

Página 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

Página 556

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 571

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 577

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

Página 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

Página 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

Página 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

Página 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

Página 582

15 Real Time Devices28

Página 583

16Softing

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 603

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

Página 604

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

Página 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

Página 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

Página 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:

Página 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

Página 609

17Versalogic

Página 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

Página 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

Página 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

Página 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 -

Página 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

Página 615

17 Versalogic17-30

Página 616

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

Página 617

2 RS232 I/O Support2-36

Página 618

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

Página 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

Página 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

Página 621

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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(

Página 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

Página 632

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

Página 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

Página 634

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

Página 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

Página 636

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

Página 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

Página 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

Página 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,

Página 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

Página 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

Página 642

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

Página 643

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

Página 644

3 GPIB I/O Support3-24

Página 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

Página 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

Página 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

Página 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

Página 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

Página 650

4 CAN I/O Support4-6

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários