background image

Attention!

Strictly follow the installation notes!

(See chapt. 2 of the hardware manual).

The order of the individual steps of the hardware installation as specified in the

installation notes must be followed at any rate, because otherwise serious damage can

be caused to PC or laptop, or to the CAN-PCC module!

Especially the low-voltage connector has to be connected to the CAN-PCC module 

first

and only 

after that

 the module is to be connected to the PC/laptop! Otherwise live parts

of the low-voltage connector (+5V between the middle contact) could come into contact

with earthed metal parts of the cases and cause a short circuit!

Содержание CAN - PCC

Страница 1: ...ate because otherwise serious damage can be caused to PC or laptop or to the CAN PCC module Especially the low voltage connector has to be connected to the CAN PCC module first and only after that the...

Страница 2: ...CAN PCC Hardware Manual Rev 1 2 esd gmbh CAN PCC CAN Interface For One Parallel Interface Hardware Manual...

Страница 3: ...hout notice to this or any of its products to improve reliability performance or design esd assumes no responsibility for the use of any circuitry other than circuitry which is part of a product of es...

Страница 4: ...d CANPP 2 Version Designation of Circuit Diagrams CANPP02 Rev 1 1 Changes in the chapters The changes in the manual listed below affect changes in the hardware as well as changes in the description of...

Страница 5: ...ollowed at any rate because otherwise serious damage can be caused to PC or laptop or to the CAN PCC module Especially the low voltage connector has to be connected to the CAN PCC module first and onl...

Страница 6: ...d Controller Units 8 1 6 Software Support 9 1 7 Order Information 11 2 Installation Notes 13 3 Unit Description 15 3 1 CAN Interface 15 3 1 1 Bitrate 15 3 1 2 Transmit and Receive Circuit of the CAN I...

Страница 7: ...CAN PCC Hardware Manual Rev 1 2 2...

Страница 8: ...etween CENTRONICS and CAN and therefore an easy and inexpensive coupling of a PC laptop or something similar to the CAN By means of the CAN PCC module other CAN modules can be controlled or monitored...

Страница 9: ...fered in a minimum 512 bytes sized FIFO so that no data is lost at larger data rates The CENTRONICS is connected by means of a 25 pole male DSUB connector The CAN is connected via a 9 pole male DSUB c...

Страница 10: ...tud status LED green P3 CAN 9 pole DSUB connector P1 CENTRONICS 25 pole DSUB connector inner thread 4 40 UNC outer thread 4 40 UNC Overview CAN PCC Hardware Manual Rev 1 2 5 1 2 Case View Fig 1 2 1 Di...

Страница 11: ...condensing Supply voltage permissible residual ripple U 100 mV f 100 kHz input voltage range 5 0 V DC 9 V DC power consumption I 150 mA typical for U 9 V 20 EC VCC VCC Connectors P2 DC power socket 1...

Страница 12: ...t package Temperature range permissible ambient temperature 0 50 EC Humidity max 90 non condensing Mains voltage U 230 V 10 IN f 45 60 Hz Output voltage U 6 V 10 OUT Connectors 6 V DC low voltage conn...

Страница 13: ...the module supports 2048 CAN identifiers controller 87C592 16 Mhz EEPROM memory for CAN parameters not yet supported LED display green LED for status display of the controller Electrical separation of...

Страница 14: ...package The firmware contains the local driver software which is stored in the EPROM of the CAN controller and a user interface which can be found on 3 5 disks as a Microsoft C Library This library c...

Страница 15: ...CAN PCC Hardware Manual Rev 1 2 10...

Страница 16: ...age supply via laptop or notebook CAN PCC ADPT DIN keyboard cable via DIN connectors is needed C 2422 13 Adaptor cable for voltage tapping from for voltage supply via PC CAN PCC NT C 2422 14 Miniature...

Страница 17: ...CAN PCC Hardware Manual Rev 1 2 12...

Страница 18: ...socket or via a connector power pack The low voltage connector must always be plugged into the CAN PCC module first and then the module has to be connected to the PC laptop Otherwise voltage carrying...

Страница 19: ...CAN PCC Hardware Manual Rev 1 2 14...

Страница 20: ...data on the CAN Further information on this can be found in the software manual of the module 3 1 2 Transmit and Receive Circuit of the CAN Interface Physical Layer The physical interface of the esd C...

Страница 21: ...HC244 The data signals and the control signals AUTOFEED RESET and SELECT_IN have 4 7 kS pull up resistors at 5 V The control signal STROBE has a 1 kS pull up resistor at 5 V Data bytes coming from the...

Страница 22: ...trate has occurred LED flashes 40 ms green Current CAN error LED flashes Status after switching on or RESET bitrate has not yet been set or 50 ms green module has detected a temporary CAN error which...

Страница 23: ...CAN PCC Hardware Manual Rev 1 2 18...

Страница 24: ...tor Assignments 4 1 1 CENTRONICS Connector P1 Signal Pin Signal STROBE 1 D0 2 D1 3 D2 4 D3 5 D4 6 D5 7 D6 8 D7 9 ACK_IRQ 10 BUSY 11 PE 12 SLCT 13 14 AUTOFEED 15 ERROR 16 RESET 17 SELEC_IN 18 GND 19 GN...

Страница 25: ...rdware Manual Rev 1 2 20 4 1 2 CAN Connector P3 9 pole male DSUB connector Pin Orientation Pin Assignment Signal Pin Signal 1 reserviert CAN_GND 6 2 CAN_L CAN_H 7 3 CAN_GND reserviert 8 4 reserviert r...

Страница 26: ...CAN PCC Hardware Manual Rev 1 2 21 Circuit Diagrams 4 2 Circuit Diagrams...

Страница 27: ...CAN PCC Software Manual Rev 1 4 CAN PCC Windows 3 11 API Software Manual...

Страница 28: ...ight to make changes without notice to this or any of its products to improve reliability performance or design esd assumes no responsibility for the use of any circuitry other than circuitry which is...

Страница 29: ...CANPP14S EN6 Date of Print 12 03 98 Described Software CAN PCC software Revision Date Rev 1 0 05 97 Changes in the software and or documentation Alterations in this manual versus version 1 3 Alteratio...

Страница 30: ...tions of the CAN PCC Library 9 5 1 Executable Functions 9 5 1 1 CANPC_reset_chip 9 5 1 2 CANPC_initialize_chip 10 5 1 3 CANPCC_inibit 12 5 1 4 CANPC_set_acceptance 14 5 1 5 CANPCC_enable_id and CANPCC...

Страница 31: ...CAN PCC Software Manual Rev 1 4 2...

Страница 32: ...ch can be used by the user The software requires further functions which are not to be used by the user however Still they will be explained shortly because they also appear in the header file Agreeme...

Страница 33: ...rogram generates CPCC INI file CPCC INI Configuration file for loader CPCC DLL CAN_AC2 H Include file with functional prototypes and structure definitions CAN_AC2 DLL Dynamical link libraries for Wind...

Страница 34: ...2 Check under Chip Set Features that the Parallel Port Mode is set as follows and adjust the setting if necessary Permissible settings 1 Normal or SPP Standard Parallel Port 2 EPP Enhanced Parallel Po...

Страница 35: ...irectory on your harddisk for the CAN PCC software and copy the desired files DLL from the disk into your new directory 3 Copy the libraries into the according directory of your compiler or adjust the...

Страница 36: ...object mode In this software version however only the FIFO mode is implemented 4 1 FIFO Mode Messages which have been received or which are to be transmitted are sequentially exchanged between the CAN...

Страница 37: ...CAN PCC Software Manual Rev 1 4 8...

Страница 38: ...eset_chip By means of this command a possibly running CAN transmission is terminated the CENTRONICS port is reset and the CPCC INI is read out of the program CANPC_reset_chip void Input parameter Outp...

Страница 39: ...eet of CAN controller 87C592 fcrystal Bitrate 2 presc 1 tseg1 tseg2 Clock frequency f 16 MHz crystal Examples for bitrate setting Bitrate kbit s Index Controller register Prescaler Time Time Sample pr...

Страница 40: ...esc CAN prescaler 1 32 sjw CAN synchronisation jump width 1 4 tseg1 CAN time segment 1 1 16 tseg2 CAN time segment 2 1 8 sam CAN sample mode 0 1 sample 1 3 samples Output parameters 0 Initialisation h...

Страница 41: ...n l m max min btr0 btr1 HEX HEX 0 00 14 1000 37 20 1 00 18 666 6 80 65 2 00 1C 500 130 110 3 01 18 333 3 180 160 4 01 1C 250 270 250 5 02 1C 166 420 400 6 03 1C 125 570 550 7 04 1C 100 710 700 8 45 2F...

Страница 42: ...index or for the two parameters btr0 and btr1 The meaning of these parameters is shown in the table above 0000 000E index see previous table 0010 FFFF evaluation in the form xxyy with xx btr0 see pre...

Страница 43: ...entifiers the identifiers are not checked The parameters AccCodeXtd and AccMaskXtd have to be transmitted anyhow The function CANPC_set_acceptance can be used parallel to the function CANESD_enable_id...

Страница 44: ...able_id int idfirst int idlast int CANPCC_disable_id int idfirst int idlast Input parameters idfirst first permitted Rx identifier 0000 07FF idlast last permitted Rx identifier 0000 07FF Output parame...

Страница 45: ...Identifier length 0 Standard identifier 1 Extended identifier is not being supported DataLength Number of data bytes to be transmitted 0 8 pData Pointer to the address field in which the data to be t...

Страница 46: ...emote unsigned long Ident int Xtd int DataLength Input parameters Ident Identifier 0000 07FF 00000000 1FFFFFFF Xtd Identifier length 0 Standard identifier 1 Extended identifier is not being supported...

Страница 47: ...RC12 int DataLength Number of received RC1 RC9 or transmitted RC3 RC10 data bytes int RecOverrun_flag The data received last has not been read by the PC and has been overwritten by new data RC1 RC2 RC...

Страница 48: ...ard data frame has been received 2 Standard remote frame has been received 3 Transmission of a standard data frame has been acknowledged 4 Not implemented 5 Bus status has changed 6 Not implemented 7...

Страница 49: ..._set_output CANPC_enable_fifo CANPC_enable_timestamps CANPC_optimize_rcv_speed CANPC_start_chip Furthermore some functions are listed with the ending 2 For these the same applies as mentioned above Th...

Страница 50: ...er component has to be reset by calling CANPC_reset_chip 2 By calling the command CANPC_inibit or CANPC initialize_chip the controller component is initialized bitrate 3 The identifier s can be select...

Страница 51: ...ANPC_initialize_chip CANPC_inibit alternatively CANPCC_enable_id CANPCC_disable_id alternatively CANPC_set_acceptance CANPC_send_data CANPC_send_remote CANPC_read_ac CAN PCC Software Manual Rev 1 4 22...

Страница 52: ...CAN PCC Software Manual Rev 1 4 23...

Отзывы: