Advertisement

Quick Links

CAN-PC Interface
CPC-PP

User Manual

EMS
Sonnenhang 3
D-85304 Ilmmünster
Tel +49-8441/490260
THOMAS WÜNSCHE
Fax +49-8441/81860
CPC-PP
Documentation for CAN-Interface CPC-PP
Document version: V2.0
Documentation date: January 17th, 2005.
No part of this document or the software described herein
may be reproduced in any form without prior written
agreement from EMS Dr. Thomas Wünsche.
For technical assistance please contact:
EMS Dr. Thomas Wünsche
Sonnenhang 3
D-85304 Ilmmünster
Tel.:
+49-8441/490260
Fax:
+49-8441/81860
e-mail: support@ems-wuensche.com
Our products are continuously improved. Due to this fact
specifications may be changed at any time and without
announcement.
WARNING:
CPC-PP hardware and software may not be
used in applications where damage to life,
health or private property may result from
failures in or caused by these components.
ii
EMS Dr. Thomas Wünsche
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for EMS CPC-PP

  • Page 1: User Manual

    User Manual specifications may be changed at any time and without announcement. WARNING: CPC-PP hardware and software may not be used in applications where damage to life, health or private property may result from failures in or caused by these components.
  • Page 2: Table Of Contents

    2 Software ....3 Functions of CPC-PP ... . . 3 Application program: Realization concepts . . 3 Synchronous Interface .
  • Page 3: Overview

    Smart system with integrated microcon- 1.3 Sample Applications • troller of 80C32-family Directly integrated into connector The application area of CPC-PP is very wide. • Small size for use in low-space condi- Some sample applications are detailed in the •...
  • Page 4: Software

    PC. One part is executed by the microproces- program and clearly arranged pro- sor inside CPC-PP and can not be changed by grams with sequential flow. It the user. The application program runs on the command is suitable mainly for simple PC and makes use of the interface library.
  • Page 5: Data Structures And Library Functions

    { unsigned char genericmsg[]; Description: CPC_CAN_PARAMS defines initialization va- unsigned char textmsg[]; lues for the CAN controller in CPC-PP (type char versionmsg[]; PCA82C200). char serialmsg[]; struct CPC_CAN_MSG canmsg; unsigned char canstatemsg; struct CPC_CAN_PARAMS can_params_msg;...
  • Page 6 CPC_Control() serves for set up of the com- void interrupt (far * inthandler)(); munication object types to be transmitted from CPC-PP to the PC. The upper 6 bits select the type of communication object, the lower 2 bits Description: The global variable CPC_Init_Params, which determine the transmission.
  • Page 7 Description: CPC_Init() initialises the communication with the connected CPC-PP module. CPC-PP. CPC-PP is initialised to standard pa- rameters, which are stored in the global struc- Return value: Pointer to a string with the serial number or ture CPC_Init_Params (declaration in cpc.h).
  • Page 8 CPC-PP message. If the handler Return value: - is contained more than once, the last occuren- ce is removed.
  • Page 9: Ms-Windows Driver Additional Information

    Description: CPC_Handle() checks for availability of a new One additional function is necessary to com- message from CPC-PP. If a message is avai- pensate the fact that the initialisation structure lable, all asynchronous handlers are called in is not directly accessible to the application: the sequence of their entry position with the new message as parameter.
  • Page 10: Electrical Characteristics

    (EX version) 1000 Current across ground – others connection Throughput to – – * Extended temperature range on demand PC486/DX2-66 at CAN bitrate 125kBit/s Throughput to 12,5 – PC486/DX2-66 at CAN bitrate 1MBit/s EMS Dr. Thomas Wünsche EMS Dr. Thomas Wünsche...
  • Page 11: Operating Instructions

    The CAN-interface-connector (D-Sub 9 male) connector type, permanent damage to complies to CiA Standard DS 102-1. The pin CPC-PP as well as to the other device or inter- usage is detailed in the following table. face may result. The installation has to be done with the necessary care.

Table of Contents