Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

Hardware Environment

Introduction

The hardware environment consists of a host computer, target computer, I/O boards in the target computer, and a serial or network connection between the host and target computers. Knowing the different types of computers and I/O supported by the xPC Target software will help you to set up a development environment that meets your needs.

Host PC

You can use any PC that runs a Windows platform supported by The MathWorks as the host PC. It must also contain a free serial port or an Ethernet adapter card. In addition, the host PC must contain at least a 3.5–inch floppy disk drive, CD drive, or ability to belong to a dedicated network.

The host PC can be one of the following:

For more details on the requirements of the host PC, see Host PC Requirements.

Target PC

The xPC Target software supports up to 64 target PCs with one host. A target PC can be almost any PC compatible system with a 32-bit Intel® or AMD® processor (386 compatible or higher). It must also contain a free serial port or an Ethernet adapter card. In addition, the target PC must contain at least a 3.5–inch floppy disk drive, CD drive, or ability to belong to a dedicated network. Using the xPC Target Embedded Option software, you can transfer files from the 3.5-inch disk or CD to a hard disk or flash memory. Do not use a laptop PC as a target PC.

A target PC can be one of the following:

You do not need any special target hardware. However, the target PC must be a fully PC-compatible system and contain a serial port or an Ethernet controller compatible with the xPC Target software.

For more details on the requirements of the target PC, see Target PC Requirements.

Host-Target Connection

The xPC Target product supports two connection and communication protocols between the host PC and the target PC: serial and network.

Serial — The host and target computers are connected directly with a serial cable using their RS-232 ports. This cable is wired as a null modem link that can be up to 5 meters long and with a transfer rate between 1200 and 115200 baud. A null modem cable is provided with the xPC Target software.

For detailed information on setting up the hardware and software for serial communication, see Serial Communication.

Network — The host and target computers are connected through a network. The network can be a LAN, the Internet, or a direct connection using a crossover Ethernet cable. Both the host and target computers are connected to the network with Ethernet adapter cards using the TCP/IP protocol for communication.

When using a network connection, the target PC can use the Ethernet adapter card provided with the xPC Target product or one of the supported cards. The data transfer rate can be 10 megabits/second, 100 megabits/second, or 1 gigabit/second. For a list of supported cards, see Hardware for Network Communication.

For detailed information on setting up the hardware and software for network communication, see Network Communication.

Advantages of Network Communication

A host-to-target connection using network TCP/IP communication has advantages over serial RS-232 communication:

This manual does not include information for installing network cards or the TCP/IP protocol on your host computer. For correct installation and setup of your network cards and the TCP/IP protocol, contact your system administrator.

I/O Driver Support

The xPC Target product supports a wide range of third-party I/O boards. The list of supported I/O boards includes ISA, PCI, PC/104, PC/104+, and CompactPCI hardware. The drivers are represented by Simulink blocks. Your interaction with the drivers is through these Simulink blocks and the parameter dialog boxes. The MathWorks does not manufacture these boards.

I/O board library — The I/O board library contains Simulink blocks for the xPC Target product. You drag and drop blocks from the I/O library and connect I/O drivers to your model the same way you would connect any standard Simulink block.

I/O support — The I/O device library supports approximately 300 standard boards. I/O boards plug into the target PC expansion bus, PC/104 stack, or industrial PC chassis. There is also support for modules that plug into IP or PMC carrier boards. The xPC Target block library supports the following I/O functions:

For information on using specific I/O driver blocks and advanced I/O support, see the xPC Target I/O Reference.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS