Specifications
4 CAN I/O Support
4-2
Introduction
xPC Target offers support to connect an xPC target system to a CAN network
using the CAN driver blocks provided by the xPC Target I/O block library. The
library supports the following CAN-boards from Softing GmbH, Germany.
For more information on the board specifications visit
www.softing.com.
The xPC Target CAN library intentionally restricts it’s support for Softing
boards with two CAN ports (boards with one channel would be available as
well). This is because the two port versions allow checking the correct
functioning of the board and drivers by just connecting the first CAN port to
the second CAN port. This forms a loop-back without having the need to
connect the board to a ‘real’ CAN-network. The xpcdemos directory
xpcdemos
contains simple loop-back test models to test the ISA, PCI and PC/104 boards.
Type the following commands to open the corresponding test models.
The size of the driver code of the CAN boards supported by the xPC Target
block library is significant and because not all xPC Target applications will use
CAN, the CAN library code is not linked by default when building a target
application. This makes target applications smaller if no CAN-communication
functionality is needed. If the model to be built contains CAN driver blocks, the
corresponding CAN-library support has to be enabled prior to the initiation of
Board Name Form
factor
Identifier Range Multiple
Board Support
CAN-AC2 ISA Standard (& Extended
with piggyback module)
No
CAN-AC2-PCI PCI Standard & Extended Yes (up to 3)
CAN-AC2-104 PC/104 Standard & Extended Yes (up to 3)
Model name (command) For board
xpccanisa CAN-AC2
xpccanpci CAN-AC2-PCI
xpccanpc104 CAN-AC2-104