Home

PCAN-Diag 2 - User Manual

image

Contents

1. File Help Source File Info Version 3 0 Destination File Info Path I PCAN Diag Projects FW Test_148 trc00045 btr Select Source File y Format PCAN Router Binary Trace E Path IAPCAN Diag Projects FW Test_148 Select Destination Path File Name Options Include Date and Time Name Converted _trc00045 Format PCAN Trace Version v1 1 Single Channel Ready To Convert User interface of the PEAK Converter Possible conversion targets Target format File Explanation usage extension PCAN Trace sere Text based trace format by PEAK System viewing of the data in the PCAN Explorer or playback of the CAN messages with the PCAN Trace program Tip In connection with the trace files of the PCAN Diag we recommend using the format version 1 1 because the recordings of the PCAN Diag only have one channel and because this format version is usable in all programs from PEAK System 32 PCAN Diag 2 CAN Traffic n System Target format File Explanation usage extension Vector ASC Trace asc Text based trace format by the Vector com pany that also can be used by some third party programs Character Separated csv Common text based format for import into a Values CSV spreadsheet semicolon as separator For further use of the trace data proceed as follows 1 Connect the PCAN Diag to the PC with the provided USB cable The PCAN Diag
2. l PCAN Diag 2 Setting Up the Device Pp System a Note If the device is equipped with a Low speed or a Single wire CAN transceiver GND must always be connected reference potential for the auxiliary supply otherwise the CAN communication does not work For separate ground connection to other CAN nodes or measuring objects an additional 4 millimeter GND socket is provided on the rear of the device GND socket 4 mm on the rear of the device 2 2 Power Supply The PCAN Diag can be supplied in two ways externally via the supply socket section 2 2 1 temporarily by rechargeable batteries section 2 2 2 While operation supply status is shown on the screen s upper status bar Symbol Meaning The device is connected to an external voltage source e g AC adaptor The device is supplied by the inserted rechargeable batteries An estimation on the remaining capacity is given DUDU 4 Note Inserted rechargeable batteries are not charged during external supply j 25 PCAN Diag 2 Setting Up the Device PEAK System 2 2 1 Supply Socket Supplying the PCAN Diag via the designated socket can be done using the enclosed AC adaptor or another DC source Supply socket on the rear of the device for the connection by a barrel connector 9 z Supply voltage Diameter of barrel connector 12 V DC 8 50 V possible a 5 5 mm b 2 1 mm minimum length 11 mm 2 2 2 Batteries
3. For mobile use the PCAN Diag can be supplied by rechargeable batteries Size AA Quantity 4 Single voltage nominal 1 2 V or 1 5 V The battery compartment is located on the device s bottom side The lid is fixed with two screws 16 l PCAN Diag 2 Setting Up the Device PEAK System Positions of the screws for the lid of the battery compartment second screw is located beneath the rubber sleeve If an external supply is connected to the device it will be used as primary source Batteries can stay in the device ea Note Inserted rechargeable batteries are not charged during external supply For charging please remove the empty rechar geable batteries and use a separate charger not in the scope of supply 17 PCAN Diag 2 Setting Up the Device a System 2 3 Operation with the Push Dial Operating the PCAN Diag is solely done by a push dial Dial Push Move selection Power up device alter value execute selected function exit current function 2 3 1 Powering Up the PCAN Diag Hold down the push dial for at least half a second A splash screen appears for a short moment then it s replaced by the main menu PCAN Diag V1 4 7 Turning off the device is done by selecting BEE from the main menu 2 3 2 Switch Interlock Powering up the device can be blocked by a small knob on the rear in order to prevent the batteries from accidental discharging e g during transp
4. enum Switches 0 Off 1 0n RECEIVE TestSymA D 223h DLC 2 Var Speed unsigned 0 8 u km h Var Temperature signed 8 8 u c TestSymB ID 224h DLC 1 Var Switchl bit 0 1 e Switches 4 3 2 Using Multiplexers in Symbol Files With multiplexers different symbol definitions are used for the display of CAN data from a single message An area of the CAN data is defined as multiplexer The contained value indicates the symbolic display to be used for the rest of the data in the CAN message With the aid of an example this section shows how to create a symbol file with multiplexers Symbol Multiplexer Multiplexer Data Variable unit Bits CAN ID area bit value length count count MuxSym 0 1 00h 2 bytes Speed km h 1 7 7 200h Temperature C 8 15 8 01h 2 bytes Engine Speed rpm 1 7 7 Temperature C 8 15 8 D Do the following to create a symbol file with multiplexers 1 On a PC start the supplied Windows program PCAN Symbol Editor PcanSEdt exe You can find the program for 38 System l PCAN Diag 2 CAN Traffic PEAK System example on the supplied CD in the following directory Tools PCAN Diag PCAN DiagV2 Tools eo oa Start 0D E Open x 2 a Pearch Add Enum E 14 Add Multiplexer DContents Seve E Preview dh Add Value S Add Variable O Index New Close Import Export j x Ed Save as Bh Print Delete Value Symbol ley Add Vi
5. v 9 Chooses the Symbols files Active File name nExample sym TestSymB sym Q a delete Q vove up EJ move Down output Device PCAN Diag E inserted Device IS 1 device s connected 2 Click on Transfer to and check the PCAN Diag device in the dialog box Select Devices Please select the target devices 1d PCAN Diag I 14 80 GB free of total 14 82 GB Select All Select None Co conce X oc Q Tip You can transfer the same configuration to several PCAN 2 Diag devices at the same time if those are connected to the PC Select all devices with Select All 82 PCAN Diag 2 Configuring the Device with Projects n j System 3 Click on OK The project file dpf and the affiliated symbol files sym syb are transferred to the PCAN Diag progress indicator Transfer data The used directory on the internal memory card is PCAN Diag Projects lt project name gt 4 Disconnect the USB connection between the PC and the PCAN Diag DB Do the following to load the project in the PCAN Diag 1 Inthe PCAN Diag select Rete gt RRES A list with projects available on the internal memory card is shown 2 Click on the project that has been transferred before The project is now loaded and is shown as active project The active project is also indicated in the main menu x c Tip You can get further i
6. 10 2 ch2 source 3 Trigger 4 If Trigger CAN ID 5 Auto offset 10 6 Separate offsets Ch1 2 7 Show cursors 8 Sample rate 10 9 Pretrigger 10 10 Sample buffer size 10 11 Zoom 10 12 Show decoded segments 10 13 Trigger output delay 10 14 Function key F1 10 15 Enable data readback DAMNAAAAAAAAAARAIAAY e oO 7 Configuring the Device with Projects 7 1 Creating and Loading a Project 7 2 Integrating an Alternative Splash Screen 8 Maintenance Functions for the Device 9 Browsing the Internal Memory Card 10 BNC Connector 10 1 Trigger Output 10 2 External Signal 10 2 1 Probe 10 3 Ground Socket 11 USB Connection with a PC 11 1 Unplugging the USB Connection 11 2 Purposes of the USB connection 11 3 Restriction for Diag Functions 85 86 87 87 89 89 90 91 91 92 92 PCAN Diag 2 User Manual 11 4 PCAN Diag Files on the Internal Memory Card 12 Technical Specifications Appendix A CE Certificate Appendix B Dimension Drawing Appendix C Index System 93 95 98 99 100 PCAN Diag 2 User Manual LS System Menu Tree Device Settings 21 Scope 60 Silent startup 21 Zoom 62 Detect CAN bitrate 22 Delay 62 CAN bitrate 22 T 0 62 User CAN bitrates 22 Level 62 CAN termination 23 Ci C2 64 Transceiver mode 25 Offsl Offs2 65 Listen only mode 26 Single 66 D Sub GND connection 26 Run Stop 66 Shutdown time battery 26 Decode 66 Screensaver timeout 26 Fl 68 Beeper 26 Setting 70 Date amp
7. Setting Ch2 Function BNC Description in section Trigger output 10 1 below Input for an external signal for 10 2 on page 89 inspection and trigger purposes A Attention The voltage of an external signal may have a maximum of 50 V Higher voltages can lead to a defect of the device 10 1 Trigger Output Other measuring devices or oscilloscopes e g not capable of CAN specific measurements can pick off a trigger signal that is evoked by the internal oscilloscope function of the PCAN Diag 87 PCAN Diag 2 BNC Connector System The trigger output is active if the measuring channel 2 Ch2 of the oscilloscope function is set to the CAN input ScopefgsettingpMch2 sourcepycan Ligcan L cAN Dise can Diee When a trigger event occurs in the oscilloscope function a trigger signal is output on the BNC connector with the following properties Trigger output Idle state Trigger event Pulse duration Delay to the internal trigger 3 3 V 0 V falling edge 4 CAN bit timings actual duration depending on the set CAN bitrate at 500 kbit s 4 2 us 8 us 140 CAN bit timings actual duration depending on the set CAN bitrate is displayed in the scope settings at Scope gt Setting gt PEE Re ofS oris eiks CA S A Course of the trigger signal 20 us div 88 PCAN Diag 2 BNC Connector System 10 2 External Signal Instead of the CAN signal CAN_Low the measuring channel 2 Ch2 of the o
8. Diag s CAN socket 9 pin D Sub has different pin assignments o Not connected o CAN_L gt GND switchable o Not connected GND switchable CAN_H o Not connected Aux transceiver supply Nai isd o Not connecte Pin assignment for equipment with High speed CAN transceiver standard or Low speed CAN transceiver according to specification Ci A 102 additional notes in the following subsections OB PCAN Diag 2 Setting Up the Device m System GND GND Aux transceiver supply CAN SW Pin assignment for equipment with Single wire CAN transceiver additional notes in the following subsections 2 1 1 Auxiliary Supply for CAN Transceiver If the PCAN Diag is equipped with a Low speed or a Single wire CAN transceiver a supply for the CAN transceiver must be set up via pin 9 of the D Sub connector in addition to the common voltage supply section 2 2 otherwise the CAN communication does not work Equipped with Standard Voltage range aux supply transceiver type Low speed CAN ISO 11898 3 5 27V DC Single wire CAN SAE J2411 6 18V DC Attention Risk of electronics destruction by reverse polarity Make sure that the auxiliary supply is connected with the correct polarity 2 1 2 Ground Connection The D Sub connector s shield is internally connected to voltage ground GND The connection of voltage ground GND to pins 3 and 6 can be switched via Device Settings D Sub GND connection 14
9. Enabled CAN ID Extended RTR DLC __Data 1 8 Offset ms Information Yo 432h al m 2 O1h F8h 0 7 4433h m v 8 0 Qa Q Qvo Ov 4 On the Symbols tab select the symbol files that shall be available for the project For adding use the plus button 80 l PCAN Diag 2 Configuring the Device with Projects PEAK System E Untitled PCAN D DSU amp New Open Save Saveas Transfer to Symbol Editor Help About B Device Settings 24 Scope Settings i D Sub Connector af CAN Transmit te a Symbor 9 Chooses the Symbols files Acti File name TestSymA sym TestSymB sym Q add Q veee Q Move up EY Move Down Save the created project on a data carrier with the Save button H The given file name is from now on used as project name Do the following to transfer the project to the PCAN Diag 1 Connect the PCAN Diag to the PC with the provided USB cable The PCAN Diag does not need to be switched on The Transfer to button in the PCAN Diag Editor is not dimmed anymore but blue indicating the possibility for transfer A text note in the lower Output panel indicates that the PCAN Diag has been recognized l PCAN Diag 2 Configuring the Device with Projects PEAK System FB Testroj PCAN DEBU a 9 0 New Open Save Saveas ransferto SymbolEditor Help About D Sub Connector a CAN Transmit Lists i Symbols
10. Screen dimmer oscilloscope view Setting Scope Settings device oscilloscope function Signal display of measuring channels external set source Single Scope Single wire CAN set busload resistor set operation mode Splash screen Status indication Supply Supply socket Switch interlock for push dial Switch on Switch off function Switch on lock Symbol file create T status indication T 0 Scope Technical specifications Termination measure set internal System 20 28 31 16 16 66 68 73 60 12 26 61 70 21 70 61 89 70 66 25 25 84 20 15 16 18 18 26 18 34 20 62 95 56 23 Thresholds for D Sub measurement 59 PCAN Diag 2 Appendix Time determining the device s time 19 set 19 Time measurement signal course 64 Trace play back 51 record 49 use on PC 52 Trace Messages menu item 49 Transceiver auxiliary supply 14 Transceiver type display 27 Transfer rate Bitrate 102 System Transmit list creation in PCAN Diag 47 Transmit Messages menuitem 45 Trigger adjust level 62 external 89 output BNC 87 set event 72 USB connection with a PC 91 Vector trace format 52 Voltage measurement D Sub 58 Voltage supply 15 Wake up mode Single wire CAN 25 Zoom Scope 62
11. by the L in the top line If the device s bitrate matches the listen only mode is deactivated after a short period else it stays active 21 PCAN Diag 2 Device Settings m System You can activate or deactivate the listen only mode manually with the corresponding device setting PAEA 0e t KAE els C 3 1 2 Detect CAN bitrate If the bitrate of the CAN bus connected to the PCAN Diag is un known the PCAN Diag can automatically detect it This requires data traffic on the CAN bus Bitrates from the following series are recognized kbit s 1000 800 500 250 200 125 100 95 2 83 3 50 0 47 6 33 3 20 0 10 0 3 1 3 CAN bitrate Selection from a series of CAN bitrates in order to correspond to the one on the connected CAN bus Besides the fixed bitrate values the list contains eight user defined bitrates They are managed in the following setting If using the PCAN Diag with a Low speed CAN or Single wire CAN transceiver actually higher bitrates as the standards provide see following table can be selected However this leads to a warning and a non working CAN communication CAN transmission type Standard Maximum bitrate High speed CAN ISO 11898 2 1 Mbit s Low speed CAN ISO 11898 3 125 kbit s Single wire CAN SAE J2411 100 kbit s 3 1 4 user CAN bitrates To adapt to specific conditions experts may directly access the bus timing registers BTR of the integrated CAN controller The register settings are
12. display after assigning the symbol file in the PCAN Diag 43 PCAN Diag 2 CAN Traffic System 4 3 3 Reducing a Symbol File s Size Because of the limited working memory in the PCAN Diag symbol files can only be read up to a specific size see also beginning of section 4 3 on page 32 One possibility to reduce the size of a symbol file is using the Display Mode property You can find Display Mode in the properties of symbols multiplexers and variables Name TestSymB CAN ID Hex 224h Type Standard X Paused Trace Direction Bi Directional v Send Period 0 ms x Display Mode On Standard Timeout 0 ms Data Length 1 Color J Default X Multipacket Valid for all Data Lengths Comment Display Mode property in a symbol definition The default for this property is On If Off the element is not pro cessed by the PCAN Diag Editor anymore When transferring a project to the PCAN Diag elements with Display Mode Off are not compiled into the binary symbol file syb Using this method you can reduce a symbol file s size without deleting symbols multiplexers or variables 44 PCAN Diag 2 CAN Traffic 4 4 Transmitting CAN Messages Menu item SEXIER gt EEEE The transmission of CAN messages is done with transmit lists that have been created either with the menu command see following section or with the Windows program PCAN Diag Editor The enabled lists are listed her
13. for XER WEE Ye bhi ao Eei RMR eR below the transmit list This indicates the lowest cycle time for the transmit list resulting from the sum of all transmit offsets You ll set the cycle time for a transmit list later in the overview of all transmit lists 7 Confirm your modifications to the transmit list with My The overview of transmit lists is shown again 8 Set the Arst for each transmit list in the correspon ding column The value 0 ms means that the transmit list is only initiated manually a Note The cycle time of a transmit list should not be lower than the sum of all offsets in the transmit list The PCAN Diag fini shes the transmission cycle of a transmit list even if the defined cycle time is exceeded 9 Having created and enabled the desired transmit lists click on E or EERE 4 6 Recording CAN Traffic Menu item CAN Datal gt Trace Messages from firmware 1 5 0 With this function the whole incoming CAN traffic including RTR frames and error frames is recorded to a trace file on the internal memory card of the PCAN Diag Also the timing is regarded 49 PCAN Diag 2 CAN Traffic System Note When invoking the function and during the recording of the incoming CAN traffic the transmission of CAN messages is suspended a Note In order to record also at a high bit rate together with high CAN bus load a hardware upgrade is available for devices that had been delivered until January 2012 If
14. software PCAN Diag Editor and then are transferred to the internal memory card of the PCAN Diag Any number of projects can be saved to the internal memory card During work with the PCAN Diag a project can be loaded from the internal memory card If a new version of the active project is available on the internal memory card the project is automatically loaded during startup of the PCAN Diag Device internal changes of the settings or of CAN transmit lists do not alter the affiliated project on the internal memory card N 7 PCAN Diag 2 Configuring the Device with Projects n System A project is selected from the internal memory card the project s elements are loaded into the PCAN Diag Click on the name of the desired project in order to load it Q Note When loading a project from the memory card all current settings transmit lists and symbol files in the PCAN Diag are overwritten The Default project contains basic settings for the PCAN Diag Shows the name of the active project The active project is also indicated in the main menu At startup the PCAN Diag checks if the project file on the internal memory card with the same name is newer than the initially loaded version An updated project is automatically loaded Indication Description Ino local modifications No permanent changes have been made in the loaded project local modifications One of the project elements listed above has been changed and
15. the CAN bus is ok in terms of measure ment Make sure that the termination resistors are positioned at each end of the bus and not for example at taps in the middle of the bus missing The CAN bus is missing any termination resistor or the used resistor is too large Set up a correct termination as described above 120 Ohm Only one termination resistor is present Install a further 120 Ohms resistor at the opposite bus end lt 45 Ohm Too many termination resistors are present at the CAN bus A reason may be that on one bus end both a separate termi nation resistor as well as a CAN node with internal termination are installed Ohm The measurement was not successful The measurement facility is not calibrated meaning that the after the indicated measuring value may have a larger deviation from resistance value the actual resistance value Please contact our support about a calibration see address on page 2 Internal termination If RB the internal termination resistor 124 Q is activated Altering the setting at this place is only temporary until switching off the device The internal termination can be set permanently in the The measurement is repeated This may be useful after doing changes on the CAN bus 57 PCAN Diag 2 Measuring Functions for the CAN Bus System 5 3 Voltages on the D Sub Connector Menu item SESS gt SEEN The voltage levels for each pin of the D Sub conne
16. time 27 Chl source 70 Reset file index 0 27 Ch2 source 71 CAN Data 28 Trigger 72 Receive Messages 28 If Trigger CAN ID 72 Receive Msgs as Symbols 31 Auto offset 73 Manage Symbol Files 32 Separate offsets Ch1 2 73 SelectFile 33 Show cursors 13 EditFile 33 Sample rate 73 SortOrder 34 Pretrigger 73 Transmit Messages 45 Sample buffer size 74 Reset 45 Zoom 74 Manage Transmit Lists 47 Show decoded segments 74 Trace Messages 49 Trigger output delay 75 Play Back Trace op Function key F1 76 Measurements 54 Enable data readback 76 Bus Load 54 Projects 77 Save as BMP 55 Load Project 78 CAN Termination 56 Internal Statistics 85 Start 57 Update Firmware 85 D Sub Connector 58 Factory Defaults 85 Settings 59 Bootloader 85 Memory Card 86 Show Directory 86 View Bitmap 86 PCAN Diag 2 User Manual PEAK System Elements on the Rear PC connection USB on page 91 CAN connection D Sub on page 13 BNC connector for trigger output or for measuring channel 2 on page 87 Ground socket on page 90 Switch interlock for push dial Supply socket on page 18 on page 16 PCAN Diag 2 Introduction E System 1 Introduction The PCAN Diag 2 is a handheld diagnostics unit with functions to allow investigation of a CAN bus such as detection of the CAN bitrate bus load measurement and termination measurement As well as receiving CAN messages it can transmit either individual messages or entire sequences of them I
17. you are interested and for further information please contact us contact data see on page 2 Later a trace file can be used for playback of the recorded CAN messages on the CAN bus see following section 4 7 on page 51 As alternative it is possible to convert the recording on a PC to another format for further use and for evaluation see section 4 8 on page 52 DB Do the following to record 1 Make sure that no USB connection is present between the PCAN Diag and a PC 2 Press Start The recording is done to the indicated FERS 3 End the recording with BESSE Indication Meaning Name of the trace file for the current recording The file name is automatically put together with a sequential number Neer eR eee Current and maximum fill level of the receive queue latter in parentheses If the queue has reached a fill level of 100 percent most likely some incoming CAN messages were not recorded CAN messages total Number of CAN messages that are already recorded to the trace file Current size of the trace file in kByte and already used storage space in percent of the maximum possible file size 50 PCAN Diag 2 CAN Traffic 4 7 System Playing Back Recorded CAN Traffic Menu item CERA gt Play Back Trace from firmware 1 5 0 The PCAN Diag can play back CAN messages from a binary trace file btr onto the connected CAN bus The timing of the CAN messages as it occurred originally during recordin
18. 23h to 223h X Direction Receive Send Period 0 ms Display Mode On Standard v Timeout 0 ms Y Data Length 2 Eal Color Default m Multipacket Valid for all Data Lengths Comment ee eT Adjustments are done for the marked items i 35 System PCAN Diag 2 CAN Traffic PEAK System Click on Add Variable As before with the symbol adjust the items according to the given values for the Speed variable d Name Speed X Unit km h Output Format Decimal LA Data Type Minimum 0 Facto 1 Maximum 255 Offset 0 E Automatic min max calculation Bit Start 0 Default Value XBitLength g B Enum lt None gt x Data Format Intel Z l Trace l Standard Display Mode All Standard v Custom Decimal Places Decimal Places fe Long Name Comment 5 Repeat the previous step for the Temperature variable Variable properties Name Temperature X Unit C Output Format Decimal y yd Data Type Minimum 128 Factor 1 00 Maximum 127 Offset 0 E Automatic min max calculation X Bit Start 8 a Default Value X Bit Length B Enum lt None gt X Data Format Intel be Standard Custom Decimal Places Trace Display Mode All Standard v Decimal Places 0 Long Name i i E Comment In order to display negative value
19. 68 File names reset index 27 Files on the memory card 93 Firmware update 85 Ground disconnect at CAN connector 26 Ground Socket 15 Internal Statistics menu item 85 Interval measurement signal course 64 L status indication 21 Level Scope 62 PCAN Diag 2 Appendix Listen only mode activate indicator Low speed CAN set termination Low voltage socket 26 20 24 16 Manage Symbol Files menu item 32 Manage Transmit Lists menu item 47 Measurements menu item Measures Measuring channels set source Memory card browse contents Memory Card menu item Multiplexers symbol file Observation mode activate off status indication Offs1 Offs2 Scope Offset vertical for curve display Operation Oscilloscope function buffer size external signal overview record length settings pas status indication PC connection USB PEAK Converter Play Back Trace menu item Plug icon Power saver Pretrigger Probe Project configure device create Windows Projects menu item Push button on rear of device push dial Push dial 54 99 70 86 93 86 38 21 20 65 65 18 74 89 60 74 70 20 91 52 51 20 26 73 89 77 79 77 18 18 18 101 R status indication Receive Messages menu item Receive Msgs as Symbols menu item Rechargeable batteries insert recharge externally Run Scope Sample buffer save contents Sample rate adjust Scope menu item Scope of Supply
20. A CAN ID is identified with a name by using a Symbol Bit sequences in a CAN message representing individual quantities are given a name by variables Data can either be displayed in decimal in hexadecimal or in binary format The binary display in the PCAN Diag is done with a maximum of 16 digits If more binary digits are necessary the value is automatically displayed decimally instead of binary Variables can convert raw data transmitted via CAN and display it as physical quantity with a unit Specific variable values can be displayed alphanumerically by using enums value lists Multiplexers define different symbol definitions for data output of a single CAN ID 31 PCAN Diag 2 CAN Traffic n System ata Count Symbol Variables Symbolic display of CAN messages to be reached with gt The symbol file being active is indicated in the lower status bar A different symbol file can be selected with the menu command Furthermore symbols or variables can be omitted from display see following section 4 3 Managing Symbol Files Menu item SEE gt EEE With a symbol file the symbolic display of CAN messages is determined Using symbol files One or more symbol files are made available in the PCAN Diag by a project more about projects in chapter 7 on page 77 For symbolic display in the PCAN Diag a single symbol file is used 32 PCAN Diag 2 CAN Traffic n System Symbol files can be cr
21. AT32 Name of the USB device PCAN DIAG The memory card can also be accessed if the PCAN Diag is switched off At startup of the device the USB connection is briefly interrupted 11 1 Unplugging the USB Connection Before unplugging the USB cable from the PC or the PCAN Diag the device should be logged out of the operating system This procedure ensures that the operating system has correctly finished a write process to the internal memory card of the PCAN Diag Windows Safely remove hardware icon in the taskbar notification area 91 PCAN Diag 2 USB Connection with a PC m System 11 2 Purposes of the USB connection Transferring projects onto the memory card of the PCAN Diag with the provided Windows program PCAN Diag Editor 7 1 Creating and Loading a Projecton page 79 Access to the trace bitmap or CSV files created by the PCAN Diag Storing an alternative splash screen in a project directory 7 2 Integrating an Alternative Splash Screen on page 84 Placing a bin file for a firmware update into the directory PCAN Diag Firmware Storage space at your disposal 11 3 Restriction for Diag Functions During a USB connection to a PC some functions of the PCAN Diag are limited because the device cannot access the internal memory card at the same time as the connected PC At startup no splash screen is shown A project cannot be loaded A symbol file cannot be loaded At startup the active project cannot be ch
22. PCAN Diag 2 Handheld Device for CAN Bus Diagnostics User Manual v2 3 1 PCAN Diag 2 User Manual LS System Products taken into account Product name Model Firmware Part number PCAN Diag 2 High speed CAN transceiver V1 5 0 IPEH 002069 V2 On request from ser no 150 Low speed CAN transceiver Single wire CAN transceiver CANopen and CiA are registered community trade marks of CAN in Automation e V All other product names mentioned in this document may be the trademarks or registered trademarks of their respective companies They are not explicitly marked by and 2012 PEAK System Technik GmbH PEAK System Technik GmbH Otto Roehm Strasse 69 64293 Darmstadt Germany Phone 49 0 6151 8173 20 Fax 49 0 6151 8173 29 www peak system com info peak system com Document version 2 3 1 2012 03 05 PCAN Diag 2 User Manual _ System Contents 1 Introduction 9 1 1 Properties at a Glance 9 1 2 Scope of Supply 12 2 Setting Up the Device 13 2 1 CAN Connection D Sub 13 2 1 1 Auxiliary Supply for CAN Transceiver 14 2 1 2 Ground Connection 14 2 2 Power Supply 15 2 2 1 Supply Socket 16 2 2 2 Batteries 16 2 3 Operation with the Push Dial 18 2 3 1 Powering Up the PCAN Diag 18 2 3 2 Switch Interlock 18 2 4 Setting Date and Time 19 2 5 Status Display 20 3 Device Settings 21 3 1 1 Silent startup 21 3 1 2 Detect CAN bitrate 22 3 1 3 CAN bitrate 22 3 1 4 User CAN bitrates 22 3 1 5 CAN ter
23. analog to those of a SJA1000 CAN controller operating at 16 MHz clock frequency 22 PCAN Diag 2 Device Settings System Eight user defined entries can be edited Each entry contains a 2 byte value 4 hexadecimal digits for the bus timing registers and an arbitrary name User defined bitrates appear later with their name in the list below the fixed bitrate values r KQ Tip For easier determination of the register values the provi 2 ded CD contains a Windows program Tools BRCAN exe For each entry the table for editing shows the parameters that result from the given register values the bitrate the sample point SP and the synchronization jump width SJW Bitrates Name i co Q Tip To reset an entry Name UserX Bitrate undef set the 2 BTR value to 0000 3 1 5 CAN termination The internal CAN termination can be switched The type of termina tion is depending on the CAN transceiver that is integrated in the PCAN Diag Please refer to the corresponding subsection 23 PCAN Diag 2 Device Settings High speed CAN Display EERSTE EEE A High speed CAN bus needs to be electrically terminated on both ends using resistors of 120 Q If the PCAN Diag is connected to an un terminated end of a CAN bus the internal terminating resistor of 124 Q can be engaged here Setting Resistor Description off none Termination is already correctly applied to the High speed CAN bus and the device is connec
24. art 1 l i 5 x Bit Length 7 Display Mode All Standard SPN Output Format Minimum Maximum Default Value Enum Decimal Places Decimal oA 0 5080 Y Automatic min max calculation lt None gt BA Trace Standard 1 Custom Decimal Places 0 Long Name Comment 41 System l PCAN Diag 2 CAN Traffic System 6 Add the variable Temperature to each of the two multiplexers by using Add Variable and adjust the entries according to the shown example Variable properties 00y S xX Name Temperature en Unit Deg C Output Format Decimal x Data Type Minimum 128 1 Factor Maximum 127 Offset 0 7 Automatic min max calculation Bit start 8 Default Value x Bit Length 8 Enum lt None gt Z Data Format E Trace E Standard Display Mode E Custom Decimal Places 0 Long Name Comment 7 Use Save as to save the symbol file with the name MuxSymExample sym When the final symbol file is used in the PCAN Diag the multiplexer names given in the PCAN Symbol Editor are dismissed The multi plexers are integrated in the signal Mux Afterwards the variables of both multiplexers are listed where the common variable Temperature is listed only once because the given name and all parameters are identical 42 PCAN Diag 2 CAN Traffic System Name Data
25. cribed briefly in the following Important note Misapplication of these functions can lead to the unavailability of the device Use the functions only on request of PEAK System s technical support Firmware updates bin can be placed in the PCAN Diag Firmware directory on the internal memory card With the update function a file is selected Thereupon the update procedure is starting All settings are reset to their default states defined by the current firmware Starts the boot loader for a firmware update via CAN The screen also shows the serial number of the PCAN Diag 85 PCAN Diag 2 Browsing the Internal Memory Card a System 9 Browsing the Internal Memory Card Main menu item SSSR The PCAN Diag has functions to show directories and bitmaps from the internal memory card Q Note The PCAN Diag cannot access the memory card as long as a USB connection to a PC is established Shows the directories on the memory card in order to see which files exist Only bitmap files bmp are shown in the directories e g screen shots from the scope screen which have been created with the F1 function Click on a bitmap to view it click again to leave the bitmap view 86 PCAN Diag 2 BNC Connector E System 10 BNC Connector L BNC connector on the rear of the device The function of the BNC connector depends on the setting for mea suring channel 2 SS gt SESE gt CEE
26. ction Configuration of trigger to frame start frame end CAN errors CAN ID or signal edges External measurement devices can be triggered using the BNC connector Depiction of raw CAN frames Decoding of CAN frames from the recorded signal course Current view can be saved as bitmap screenshot Saving the recorded sample data as CSV file PCAN Diag Editor Windows software included in scope of supply Convenient configuration of all available device settings Compilation of transmit lists Configuration of up to 8 bitrates per project 11 PCAN Diag 2 Introduction E System Device configuration transmit lists and associated symbol files can be saved in projects Projects can be transferred to the internal memory card of the PCAN Diag 2 using a USB connection 1 2 Scope of Supply PCAN Diag 2 Configuration software PCAN Diag Editor for Windows PCAN Symbol Editor for Windows Conversion software PEAK Converter for Windows Batteries 4 x 1 5 V AA Micro USB connector cable AC adaptor with changeable plugs for Euro U S and UK Manual in PDF format Printed quick start guide Plastic case for the device and accessories 12 l PCAN Diag 2 Setting Up the Device PEAK System 2 Setting Up the Device For operation of the PCAN Diag go through the sections of this chapter in order 2 1 CAN Connection D Sub CAN connector D Sub on the rear of the device Depending on the equipped CAN transceiver PCAN
27. ctor are mea sured and listed under in the table On the basis of the voltage levels on the pins conclusions can be made about the correct installation or function of the CAN bus Voltage measurement on the D Sub connector Example When a High speed CAN transceiver is idling no CAN traffic the signal lines CAN_High and CAN_Low have about 2 5 Volts If the measured voltage differs significantly the CAN transceiver of a CAN node may be defect Q Note Because of a delay at voltage measurement due to tech nical reasons transient voltage fluctuations cannot be detected reliably Supply voltage Displays the measured supply voltage The used voltage source is shown in the top line 58 PCAN Diag 2 Measuring Functions for the CAN Bus Symbol DUDU 4 Voltage source System Externally via supply socket e g with the supplied AC adaptor Inserted rechargeable batteries Customize the view for each pin Element Function Arbitrary pin name Measurement and display of the pin s voltage value on or off Valid voltage range for that pin designation in mV 32000 32000 Alarm sound when exceeding the valid voltage range on or off Resets the whole measurement display to defaults 59 Comment The measurements at the pins are done in succession If only a few pins are enabled the measurements for an individual pin are happening more often This designation is only for display a
28. d Erroneous traffic Informs about the bus status active passive bus off When entering bus off state due to high transmission error rate no further CAN messages are transmitted or received In this case after fixing the bus problem e g a wrong CAN bitrate a reset of the CAN controller should be performed You have the following possibilities to do so EED E The device operates in observation mode listen only It is automatically activated if the silent startup function detects a difference between the bitrates of the device and on the bus Device Settings The observation mode can also be enabled or disabled manually see section 3 1 7 on page 26 20 PCAN Diag 2 Device Settings System 3 Device Settings w tim t file index Having changed any settings on this page make them permanent by clicking Savesok If you want to use the changed settings only temporarily during the current session click Ga A subsequent session after an off on cycle uses the initial settings again i co Q Tip You can adjust the device settings quickly to different 2 applications by means of projects see chapter 7 on page 77 3 1 1 Silent startup If this function is activated at each device start the set CAN bitrate is checked in relation to the data traffic on the connected CAN bus During this sequence the listen only mode is active in order to avoid impact on the CAN traffic by the PCAN Diag This is indicated
29. d in the PCAN Diag the multi plexers are treated as a single signal named Mux The names given in the PCAN Symbol Editor are dismissed Therefore for both multiplexers only the value must be indicated for which a multiplexer comes into effect Q Note If a symbol contains a multiplexer with dynamic data length setting Valid for all Data Lengths only this single multiplexer is used for the PCAN Diag Further multiplexers in the corresponding symbol are ignored The data length yields from the contained variables 40 l PCAN Diag 2 CAN Traffic PEAK Add the variable Speed to Multiplexer1 by using Add Variable and adjust the entries according to the shown example Variable properties _ e Name Speed X Unit kmh Data Type 5 Unsigned Factor 1 Offset 0 X bit start 1 x Bit Length 7 Data Format Intel nA oA Pl Display Mode All Standard v SPN Output Format Minimum Maximum Default Value Enum Decimal Places Decimal zi 0 127 Y Automatic min max calculation lt None gt _ Standard V Trace l Custorn Decimal Places fi Long Name Comment Add the variable Engine to Multiplexer2 by using Add Variable and adjust the entries according to the shown example Variable properties x Name Engine Speed YM unit em Data Type 5 Unsigned x Facto 40000 Offset 0 bit St
30. ded from the signal course Setting Description No The scope screen only shows the data of the decoded CAN frame above the grid I us div 74 PCAN Diag 2 Oscilloscope Function Setting Segment label purple id dic d0 d7 crc ack eof ERROR 6 10 13 Description System In addition to the data of the CAN frame the segments of the CAN frame are displayed with markers in the signal course Designation in the CAN specification 2 0 SOF bit Arbitration field Control field Data field CRC field ACK field EOF field Error flag Description Frame start dominant bit CAN ID and RTR bit Number of data bytes Data bytes Check sum Reception control Frame end 7 recessive bits Error frame Trigger output delay The internal trigger signal is also available externally on the BNC connector not with SEES SE SRT Due to technical reasons the output is delayed The delay time is indicated here You can find details about the delay in section 10 1 7rigger Output on page 87 75 PCAN Diag 2 Oscilloscope Function n System 6 10 14 Function key F1 Determines the action when F1 is selected on the scope screen Setting Description A bitmap screenshot of the scope screen is saved on the internal memory card file name pict000 bmp with sequential number The contents of the sample buffer is saved to the internal memory card in CSV format file name data000 csv w
31. does not need to be switched on 2 Under Windows start the PEAK Converter exe program from the internal memory card of the PCAN Diag which resides in the PCAN Diag Tools directory 3 Select a trace file trc00000 btr as source You can find the trace files in a project directory PCAN Diag Projects lt Project Name gt 4 Specify a destination file and select the desired target format see above 53 PCAN Diag 2 Measuring Functions for the CAN Bus System 5 Measuring Functions for the CAN Bus Main menu item ESE This chapter describes the measurement functions of the PCAN Diag The oscilloscope function is covered in the following chapter 6 on page 60 5 1 Bus Load Menu item ESSER gt EERE The percentage utilization of the CAN bus with CAN messages is shown in a graph over a period of time and is continuously updated 400ns Sample interval Current avg bus load 100 Bus load diagram The graph is put together out of sampling intervals whose duration results from the set CAN bitrate and the given number of ERSEN 54 PCAN Diag 2 Measuring Functions for the CAN Bus System Per sample value an average and a maximum value of the bus load are calculated and shown as bars You can counter a high bus load with the following measures Raise the bitrate of all CAN nodes on the bus Increase the cycle time of specific messages in the CAN net in order to reduce their emergence less CAN m
32. e a Note The selection is depending on the CAN transceiver that is integrated in the PCAN Diag Setting Description CAN H CAN_High signal from the D Sub connector High speed CAN Low speed CAN ICAN SW low Single wire CAN signal from the D Sub connector ICAN SW high The view can be adjusted according to the operating mode low normal or high speed mode high wake up mode higher voltage swing o Measuring channel 1 is not shown 70 PCAN Diag 2 Oscilloscope Function n System 6 10 2 Ch2 source Selection of the signal source for the display of measuring channel 2 white course a Note The selection is depending on the CAN transceiver that is integrated in the PCAN Diag Setting Description CAN_Low signal from the D Sub connector High speed CAN Low speed CAN External signal from the BNC connector voltage range 3 to 15 V External signal from the BNC connector voltage range 10 to 50 V Difference of CAN_High and CAN_Low High speed CAN Low speed CAN display as blue course on the scope screen either in addition to the CAN_Low signal or alone Display of the difference of CAN_High and CAN_Low with indicator for the zero line marker o Measuring channel 2 is not shown A Attention The voltage of an external signal may have a maximum of 50 V Higher voltages can lead to a defect of the device Depending on this setting the BNC connection is either used as trig
33. e Display Color Meaning Name brown inactive transmit lists with defined cycle time Cycle time gt 0 IName orange __ transmit list transmitted periodically or transmit list is ready for manual transmission Cycle time 0 Activate a transmit list for single or cyclic transmission by clicking on the desired entry in the list only for transmit lists with a single CAN message If the transmit list only contains a single CAN message the data bytes of that message can be changed on the fly by this function meaning changes have an immediate effect also during periodic transmission of the list 45 PCAN Diag 2 CAN Traffic n System There are columns for hexadecimal decimal and binary represen tation for each data byte of the CAN message where the values can be altered You alter the value of a data byte by clicking on the value in either the or column turning the push dial and clicking again afterwards to apply the set value or clicking on a binary digit in the column to toggle its status and moving the marker afterwards With J the value changes are kept until switching off the device with BEM the changes are discarded In both cases the setting field is quit Resets the counters for the transmit lists column Count to 0 and resets the CAN controller Latter is useful after fault maintenance on the CAN bus 46 PCAN Diag 2 CAN Traffic System 4 5 Managing Transmit Lists Menu ite
34. e Additionally to the data in the CAN frame the segments of the CAN frame can be displayed with markers in the signal course REESEN gt Bako Me Cololo Yo MT Ye uC Feit gt Fes Additional segment indication at decoding Triggers a manual decode action This function is intended for cases where no automatic decoding happens e g after shifting the cur rent view to another CAN frame in the sample buffer 67 PCAN Diag 2 Oscilloscope Function n System 6 8 1 Troubleshooting at Decoding Decoding Meaning Possible measure s display Red data Faulty CAN frame Set the device s CAN bitrate to the one on the connected CAN bus Bevice Settings eer gt No remote CAN Running more than one active node on the CAN node transmitting bus an acknowledge Running PCAN Diag without listen only mode Empty No CAN frame Shift the current view with Delay until the detected beginning of a CAN frame is shown execute Decode afterwards If the frame segments are displayed at decoding the error noack appears at the end of the frame 6 9 Saving Recorded Data With the special function jf the screen contents is saved as bitmap or the current sample buffer is saved as CSV file both to the inter nal memory card The actual function is depending on REEE gt Function F1 Q Note The saving can take several seconds On the memory card the files are written to the directory of the active project Proj
35. e g in spreadsheets numbering by the internal counter Binary coded trace data from the recording function usable for playback or otherwise after conversion on the PC numbering by the internal counter Files with the device help Software tools to be used with the PCAN Diag the following only lists the executables Windows program PCAN Diag Editor for creating projects Windows program PCAN Symbol Editor for creating symbol files Windows program PEAK Converter for converting of a recorded binary trace file btr into another format File s for updating the firmware 93 PCAN Diag 2 USB Connection with a PC System Directory file Function Documentation Documentation about the PCAN Diag e g this manual The PCAN Diag is operational even without the directory branch PCAN Diag on the internal memory card However no splash screen and no help texts are displayed Furthermore saving of screenshots of data from the sample buffer or of traces is not possible x f c Q Tip If the directory branch PCAN Diag is missing on the Z internal memory card you can copy it from the supplied CD Tools PCAN Diag PCAN DiagvV2 Alternatively a ZIP package is available for download from the support area of our website www peak system com 94 PCAN Diag 2 Technical Specifications B System 12 Technical Specifications Power supply Supply voltage Current consumption Voltage auxiliary supply fo
36. e humidity 15 90 not condensing EMC EN 61326 1 2006 10 EC directive 2004 108 EG EN 55011 Ingress protection IP20 IEC 60529 97 PCAN Diag 2 Appendix n System Appendix A CE Certificate PCAN Diag 2 IPEH 002069 EC Declaration of Conformity PEAK System Technik GmbH System Notes on the CE Symbol The following applies to the PCAN Diag 2 product IPEH 002069 EC Directive This product fulfills the requirements of EC directive 2004 108 EG on Electromagnetic Compatibility and is designed for the following fields of application as per the CE marking Electromagnetic Immunity Emission DIN EN 61326 1 publication date 2006 10 Electrical equipment for measurement control and laboratory use EMC requirements Part 1 General requirements IEC 61326 1 2005 German version EN 61326 1 2006 Declarations of In accordance with the above mentioned EU directives Conformity the EC declarations of conformity and the associated documentation are held at the disposal of the competent authorities at the address below PEAK System Technik GmbH Mr Wilhelm Otto Roehm Strasse 69 64293 Darmstadt Germany Phone 49 0 6151 8173 20 Fax 49 0 6151 8173 29 info peak system com Ved Signed this 16 day of December 2010 PCAN Diag 2 Appendix n System Appendix B Dimension Drawing 208 5 mm 794m 98 0 mm 53 1 mm l T
37. eated and altered in different ways only externally on a PC e with the provided Windows program PCAN Symbol Editor see the following section 4 3 1 on page 34 e in a text editor e by importing a CANdb data base only with licensed Windows program PCAN Explorer 5 with CANdb Add in both available from PEAK System Symbol files sym already existing on a PC can be used for a project A symbol file to be used in the PCAN Diag may contain a maximum number of the following elements e 450 receive symbols e 40 variables per symbol e 900 variables in all e 400 enums In the PCAN Diag the symbol file to be used is selected and it is determined which elements of this symbol file are displayed Shows a list of symbol files that are provided by the current project Select a symbol file that shall be used for display in FBRSERg Shows a preview with the current symbol file Select the elements to be displayed in case showing CAN messages in symbolic form Click on an entry to alter its status Reactivate all entries for display with RESE or vice versa with 33 PCAN Diag 2 CAN Traffic System Determines the element that is used for sorting when the Sort command is used at the symbolic display of incoming messages 4 3 1 Creating a Symbol File with the PCAN Symbol Editor With the aid of an example this section shows how to create a sym bol file with the supplied Windows program PCAN Symbol Editor The example takes
38. ecked for an update The recording and playback of CAN traffic trace do not work The commands in the Memory Card menu do not work On the scope screen the F1 function for saving screenshots and or sample buffer data cannot be used The bus load diagram cannot be saved as bitmap Help texts are not shown 92 PCAN Diag 2 USB Connection with a PC m System 11 4 PCAN Diag Files on the Internal Memory Card Directory file PCAN Diag Projects lt project name gt dpf sym syb Intro bmp pict000 bmp data000 csv trc00000 btr Help dhp Tools PcanDiagEdt exe PcanSEdt exe PEAK Converter exe Firmware bin Function Fixed storage branch for files that are accessed by the PCAN Diag or that are related to the device Projects a subdirectory with the project name for each project Default project with default settings Project file is created with the supplied Windows program PCAN Diag Editor a file contains settings CAN transmit lists links to symbol files Symbol file in text format can be created with the supplied Windows program PCAN Symbol Editor Symbol file in binary format affiliated to the sym file with the same name used by the PCAN Diag for symbolic display Splash screen at startup of the device 320 x 240 pixels Screenshots of the scope screen and of the bus load diagram numbering by the internal counter Data from the sample buffer CSV format used
39. ects gt lt project name gt and can be read later from a connected PC via USB Get the name of the active project from the lower status bar in the main menu a Note As long as a USB connection to a PC is established recorded data cannot be saved with the F1 function 68 PCAN Diag 2 Oscilloscope Function B System 6 9 1 Structure of the csv File A CSV file contains data in lines in text format As separator the semicolon is used For further use the file can be taken into an arbitrary spread sheet for example Row Contents Structure 1 Device name and firmware version string 2 Transceiver type string 3 4 Signal source measuring channels 1 and 2 string 5 Number of samples name count 6 7 Voltage scale measuring channels 1 and 2 name value 8 9 Voltage offset measuring channels 1 and 2 name value 10 Time scale samples values s name value 11 Time offset samples values s name value 12 Column name for the following sample values name name name 13 Numbered sample values number value value Calculations for a sample value in brackets row Time Time 13 Timebase 10 Time Offset 11 Voltage for measuring channels 1 and 2 each Channel 13 Scale Channel 6 7 Offset Channel 8 9 69 PCAN Diag 2 Oscilloscope Function n System 6 10 Settings for the oscilloscope Function nple om 6 10 1 Chl source Selection of the signal source for the display of measuring channel 1 green cours
40. essages per time A bitmap screenshot of the bus load screen is saved on the internal memory card file name pict000 bmp with sequential number On the memory card the files are written to the directory of the active project Projects gt lt project name gt Get the name of the active project from the lower status bar in the main menu Access to the saved files is achieved from a PC via a USB connection See chapter 11 on page 91 55 PCAN Diag 2 Measuring Functions for the CAN Bus n 5 2 CAN Bus Termination Menu item SSS gt EEEE Note This function is only available if the PCAN Diag is equipped with a High speed CAN transceiver display at mTransceiver High speed The function measures the resistance value between the CAN_L and CAN_H lines While doing so the CAN traffic is not affected A High speed CAN bus ISO 11898 2 must be terminated with 120 Q on both ends between the CAN lines CAN_L and CAN_H This measure will prevent signal reflections at the cable ends and a correct function of CAN transceivers attached to the CAN bus is assured The two termination resistors in parallel result in a total resistance of 60 Q The measurement of the total resistance provides informa tion about a correct CAN bus termination 56 PCAN Diag 2 Measuring Functions for the CAN Bus m System CAN termination Indicates the measured resistance value Measurement Interpretation 60 Ohm The termination at
41. f symbol files that convert the CAN data into a more readable form sections 4 2 4 3 on page 31 The other way it is possible to transmit prepared CAN messages periodically or manually sections 4 4 4 5 on page 45 In addition there s the possibility to record incoming CAN traffic to files on the internal memory card The recorded data can later be played back 1 1 or on a PC can be converted to various output for mats and evaluated section 4 6 on page 49 4 1 Displaying Incoming CAN Messages Menu item SEES gt SEREEReerrerres Incoming CAN messages are displayed as a list sorted by CAN ID column fi The representation of the CAN data bytes 09 89 is in hexadecimal format Each occurrence of a CAN message incre ments its counter AAAA The counting starts with the invocation of the CAN message view The REH column indicates the period between the last two occurrences of a CAN message Indicated units for time Indication Unit Display if Time ha us 0 999 us ms 1 999 ms g s from 1s 28 PCAN Diag 2 CAN Traffic n System CAN Dat Simple view of incoming CAN messages You can manipulate sorting in the table by clicking on CAN messa ges By doing so these messages are moved to the top of the list and marked orange Clicking on an orange CAN message takes back the emphasis meaning that is sorted by CAN ID again Emphasized display of CAN messages orange Red list entries indicate CAN e
42. g cursors CAN data decoded from the signal course Signal course measuring Displayed voltage range channel 1 green upper boundary A Display of triggering level for edge trigger Trigger position Signal course measuring channel 2 white Measuring cursors C1 yellow us div grid resolution time axis hor and C2 orange for time period T view position measurement V div grid resolution voltage axis vert t time period from measurement C1 C2 61 PCAN Diag 2 Oscilloscope Function System 6 3 Adjusting the view With the following functions the current view on the horizontal axis time axis is adjusted Element Function Zoom Zooming in or out horizontally The reference point for zooming left middle right can be set under RERE gt Delay Shifting the view horizontally The indicator jag in the lower status bar shows the position of the view related to the trigger T 0 Aligns the view centered to the trigger position The trigger position is always the origin of the time axis The position bar on the top of the scope screen gives an overview Creer current view whole contents of the sample buffer Red Yellow orange position of the trigger T measuring cursors C1 C2 6 4 Adjusting the Trigger Level If the oscilloscope trigger is set to a rising or falling edge RRAS gt ERTS EEEE the voltage level for triggering can be adjusted with R This is done by moving the oran
43. g of the trace file is maintained a Note When invoking the function and during the playback of the trace file the transmission of CAN messages from transmit lists is suspended Do the following to play back a trace file 1 When invoking the function the playback type is set to a single pass of the trace file selection Ewes In order to set up a continuous playback of the trace file with repetition click on the field to switch to Make sure that no USB connection is present between the PCAN Diag and a PC Click on lSelectFile and select the trace file btr for playback from the list The playback starts directly after selecting the file Click on ESRI to do so Now you have the following options Function Executed action Exit Ends the playback Restart Restarts the playback from the beginning of the trace file Continue Continues the playback from the point where the interruption occurred before 51 l PCAN Diag 2 CAN Traffic System 4 8 Using the Recorded CAN Traffic on the PC The recorded CAN traffic can be read by a PC via an USB connec tion from the internal memory card of the PCAN Diag It is stored in binary coded trace files trc00000 btr sequential numbers For further use you must convert the data in an appropriate format The Windows program PEAK Converter is on the supplied CD and on the internal memory card of PCAN Diag for this purpose ii i LL Lin
44. ge horizontal line a Note The level triggering always refers to the measuring channel 2 white signal course on the scope screen 62 PCAN Diag 2 Oscilloscope Function n System SHEET 40us div T 13 Adjustment of the trigger level line During measurement operation the currently set trigger level is indicated by an orange arrow on the right screen border Indication of the trigger level on the right 63 PCAN Diag 2 Oscilloscope Function n System 6 5 Measuring a Time Period A section of the time axis can be marked on the screen with the two cursors C1 and C2 vertical lines in order to measure a time period DB Do the following to measure a time period 5 Ifthe menu entries c1 and ic2 are not available brown activate the cursor display by setting RESSE gt oS 6 Select c1 and set the desired start point of the time period by dialing and finally pushing the button Tipp You can measure a large time period with the highest possible time resolution by zooming in RJZ before positio ning the cursor Then the cursor can be positioned with a finer time resolution that will not be lost when zooming out afterwards wz 7 Repeat the procedure with H in order to set the end point of the time period This must be positioned to the right of the start point 8 Inthe lower status bar read the length of the time period from t 64 PCAN Diag 2 Oscilloscope Function n Syste
45. ger output or as signal input More information in chapter 10 on page 87 71 PCAN Diag 2 Oscilloscope Function n System 6 10 3 Trigger Selection of the event that triggers the sampling of the signals trigger event Description Start of a recognized CAN frame End of a recognized CAN frame Free running sampling without trigger the sample buffer is filled repeatedly CAN frame with the CAN ID being indicated in the following setting item 6 10 4 A faulty CAN frame Rising or falling edge of the signal from measuring channel 2 The trigger level is adjusted with Leve1 on the scope screen p n 4 3 ae d Tip The edge control can also be used for triggering by an external source if is either set to RRE OF to iGs Triggering runs independently from the setting of the signal source for the two measuring channels eeWMte teaely VATE e 6 10 4 If Trigger CAN ID gt is selected as trigger event the CAN ID indicated here is used Via RASANE you get to the corresponding settings Setting Description Length of the CAN ID 11 bit or 29 bit Frame type Data frame or remote frame RTR 07 aan 8 Enter the CAN ID in hexadecimal format 72 PCAN Diag 2 Oscilloscope Function n System 6 10 5 Auto offset Setting Description zes Automatic vertical offset for the measuring channels 1 and 2 No Manual adjustment of the offset on the scope screen with and Note W
46. he figure does not show the original size dimensions for case without rubber sleeve 99 PCAN Diag 2 Appendix Appendix C Index Acoustic feedback Chimes act status indication 20 Auxiliary supply transceiver 14 Batteries indicator for remaining capacity 20 insert 16 Battery icon 20 Beeper Chimes Bitrate adjust 22 determine automatically 22 set up user defined 22 BNC connector 87 Bootloader 85 Bus Load menu item 54 Bus load measurement 54 Bus status indication 20 Button on rear of device 18 push dial 18 C1 C2 Scope 64 CAN connector 13 decode signal course 66 display transceiver type 27 set termination 23 CAN Data menu item 28 CAN frame mark structure scope 74 CAN messages display incoming hex 28 symbolic display 31 transmit 45 CAN Termination menu item 56 CAN traffic play back 51 record 49 CE certificate 98 Chimes D Sub measurement 59 switch off 26 100 System Configuration with a project 77 Connector BNC 87 CAN D Sub 13 ground 15 Conversion binary trace file 52 Counter for file names explanation files 93 reset 27 CSV file convert from trace 52 structure sample dump 69 Date determining the device s date 19 set 19 Decode Scope 66 Default settings 85 Delay Scope 62 Device settings 21 Device Settings menu entry 21 Dimensions 99 D Sub connector measure voltages 58 D Sub Connector menu item 58 External Signal inspection 89 F1 Scope
47. hen adjusting manually with GA or GA an activated auto offset function is deactivated 6 10 6 Separate offsets ch1 2 Setting Description zes Separate vertical offsets for the measuring channels 1 and 2 No Common offset for both measuring channels The manual adjustment on the scope screen is done with of fs1 for both measuring channels o s2 is not available 6 10 7 Show cursors Activates cursors for measurement of a time period The cursors are moved on the scope screen with and A 6 10 8 Sample rate Sets the oscilloscope s sample rate for both measuring channels Lower sample rates than 20 MS s may be useful if you want to monitor a broader signal course However the resolution also decreases 6 10 9 Pretrigger A part of the signal course is shown before the trigger point The percentage indicates the part of the whole course Possible ratios 10 90 50 50 90 10 73 PCAN Diag 2 Oscilloscope Function n 6 10 10 Sample buffer size Changes the buffer size and with this the record length Smaller buffer sizes are useful if the repetition of the sampling run shall be faster The record length results from the quotient of the sample buffer size and the sample rate Example 64 kSamples 20 MS s 3 2 ms 6 10 11 Zoom Selects the fixpoint for zooming left border right border or center 6 10 12 Show decoded segments Determines the type of display on the scope screen for CAN data being deco
48. ith sequential number A screenshot as well as the contents of the sample buffer are saved to the internal memory card Both file names get the same number Access to the saved files is achieved from a PC via a USB connection See chapter 11 on page 91 6 10 15 Enable data readback A screenshot of the scope screen and or the contents of the sample buffer can be read and saved by a PC through a CAN connection Note The CAN IDs 7E8h and 7E9h are used by this function and should not be assigned otherwise in the CAN net You can get more details about this function on request at our customer support see address on page 2 Note Use preferably the function fj on the Scope screen for saving scope data see above The possibility to transfer via CAN is available for compatibility reasons to prior applications 76 PCAN Diag 2 Configuring the Device with Projects n System 7 Configuring the Device with Projects Main menu item Projects With projects the PCAN Diag can quickly be adapted to different applications A project contains the following elements Project element Assigned area in the PCAN Diag Device settings Oscilloscope settings Display settings for the D Sub measurement CAN transmit lists Symbol files Vv Alternative splash screen Intro bmp Shown when device is started see section 7 2 on page 84 Using projects Projects are created and altered on a PC with the provided Windows
49. m Time period measurement with cursors C1 and C2 6 6 Vertically Moving Curves The vertical offset for the display of the signal courses of both measuring channels is either determined automatically EERE gt Mises Bee or can be adjusted manually with GEZ and QAFA The vertical shifting is either done together or separately for the two measuring channels Setting paSeparate offsets Ch1 2 5 Note When adjusting manually with E or zee an activated auto offset function is deactivated 65 PCAN Diag 2 Oscilloscope Function n 6 7 Recording Signals Waiting for the set trigger event and single recording of the signal filling the sample buffer Repeated waiting for the set trigger event and recording of the signal until RJJ is clicked The trigger event to be used is selected with HERET gt ELGA Settings related to the recording sampling are adjusted with Setting gt Sample ratef PretriggerflesSample buffer size 6 8 Decoding the CAN Signal Course A CAN frame detected in the signal course is automatically deco ded The start of a CAN frame must lie in the current view If several CAN frames are shown the first one is used The following information is displayed above the grid in white letters CAN ID ID data length L data in hexadecimal format or RTR Remote Transmission Request 66 PCAN Diag 2 Oscilloscope Function n System I uszdiv T 25 0us 1V div Decoded signal cours
50. m SEXIER gt EEEE This function shows an overview of all available transmit lists e time ms An enabled entry is marked with a cross This means that the entry s properties can be modified and that the list is available for transmission under ENERET gt EEEE BD Do the following to create one or more transmit lists 1 Enable an entry below by checking the corresponding box 2 Click on the list entry s name in order to edit the properties If the entry hasn t been used yet the name is An edit view is shown 47 PCAN Diag 2 CAN Traffic n System x sts Edit list amp Min required 3 Modify the list s name by clicking on it Manage Tx Lists Edit list Characters are deleted with Z Keep the push dial pushed for automatic repetition 4 By default the list already contains one entry With the mnemonics on the right you can do following actions Mnemonic Action Description z Edit Shows a CAN message s properties to be modified 8 Insert Adds a new CAN message to the list at the given position Content is taken from the current CAN message D Delete Removes this CAN message from the transmit list 48 PCAN Diag 2 CAN Traffic n System 5 The value in the column is indicating a duration in milliseconds whereafter the CAN message is transmitted The offset refers to the previously transmitted CAN message thus this is a relative designation 6 Note the given value
51. mination 23 3 1 6 Transceiver mode 25 3 1 7 Listen only mode 26 3 1 8 D Sub GND connection 26 3 1 9 Shutdown time battery 26 3 1 10 Screensaver timeout 26 3 1 11 Beeper 26 3 1 12 Date amp time 27 3 1 13 Reset file index 27 3 1 14 Transceiver 27 uno a o gt A SL Ff RAB HHA DAADAAIAAAD SO DMD AN DMAP WNE PCAN Diag 2 User Manual 1 2 3 4 CON OU A A AR CAN Traffic Displaying Incoming CAN Messages Displaying CAN Messages in Symbolic Form Managing Symbol Files 3 1 Creating a Symbol File with the PCAN Symbol Editor 3 2 Using Multiplexers in Symbol Files 3 3 Reducing a Symbol File s Size Transmitting CAN Messages Managing Transmit Lists Recording CAN Traffic Playing Back Recorded CAN Traffic Using the Recorded CAN Traffic on the PC Measuring Functions for the CAN Bus aL 2 3 Bus Load CAN Bus Termination Voltages on the D Sub Connector Oscilloscope Function Properties of the Oscilloscope Function Elements of the Scope Screen Adjusting the view Adjusting the Trigger Level Measuring a Time Period Vertically Moving Curves Recording Signals Decoding the CAN Signal Course 8 1 Troubleshooting at Decoding Saving Recorded Data 9 1 Structure of the CSV File System 28 28 31 32 34 44 45 47 49 51 52 54 54 56 58 60 60 61 62 62 64 65 66 66 68 68 69 PCAN Diag 2 User Manual 6 10 Settings for the Oscilloscope Function 10 1 ch1 source
52. n addition the internal memory card allows tracing and playback of the CAN traffic The integrated two channel oscilloscope enables visualization of CAN signals Single CAN IDs and various events can be used as triggers The CAN frames are decoded from the recorded signal course for example to detect errors in the frame Incoming CAN messages can be displayed as symbols for clear and easy allocation The PCAN Symbol Editor software supplied with this product enables convenient creation of the symbol files needed for this feature Output is through a color display with OLED technology The device is operated with a push dial Alternatively to High speed CAN the PCAN Diag 2 is also available with connectivity to Low speed or Single wire CAN 1 1 Properties at a Glance General High speed CAN ISO 11898 2 available on request with CAN transceiver module for Low speed CAN ISO 11898 3 or Single wire CAN SAE J2411 CAN connection D Sub 9 pin Select from fixed and 8 user defined bitrates PCAN Diag 2 Introduction E OLED display with 320 x 240 pixel resolution Voltage supply with rechargeable batteries 4 x AA or with enclosed AC adaptor no charging function for inserted rechargeable batteries Internal memory card at least 1 GByte for saving projects can also be used as a mass storage device during a USB connection to a PC Operating temperature range of 0 to 50 C 32 to 122 F Functions Symbolic display of i
53. ncoming CAN messages using symbol files taking into account enums lists of values multiplexers and ID ranges Symbol files can be set up using the Windows software PCAN Symbol Editor supplied with this product Recording of incoming CAN messages to the internal memory card Playback of trace files Conversion of trace data to various output formats using a Windows program Transmission of CAN messages or message lists Decimal hexadecimal or binary entering of CAN data data change of a single transmission message during runtime Measurement of CAN bus load displayed by means of a time diagram A bus load time diagram can be saved as bitmap Measurement of CAN termination for High speed CAN bus even while the system is running Switchable CAN termination for the connected bus depending on the transceiver module used 10 PCAN Diag 2 Introduction E Voltage measurement for all pins of the CAN connector D Sub Management of the device configuration transmit lists symbol files and all recorded data screenshots and CSV files in projects oscilloscope function Two independent channels having a maximum sampling frequency of 20 MHz each Memory depth can be set to up to 64 kSamples Display of the CAN High and the CAN Low signal as well as the difference of both signals Time measurement with a resolution of up to 50 ns Inspection of external signals with frequencies up to 1 MHz with a probe via the BNC conne
54. nd does not have a functional background beside alarm Not at transient voltage fluctuations Device setting for beeps perice settings scenes E be activated PCAN Diag 2 Oscilloscope Function n System 6 oscilloscope Function Main menu item Scope The oscilloscope function is used for in depth diagnosis of the CAN signals on the connected lines The handling of the function is similar to a standard storage scope Recorded CAN signal in the oscilloscope function 6 1 Properties of the oscilloscope Function Two independent channels having a maximum sampling frequency of 20 MHz each Memory depth can be set to up to 64 kSamples Display of the CAN High and the CAN Low signal as well as the difference of both signals Time measurement with a resolution of up to 50 ns Inspection of external signals with frequencies up to 1 MHz with a probe via the BNC connection 60 PCAN Diag 2 Oscilloscope Function n System Configuration of trigger to frame start frame end CAN errors CAN ID or signal edges External measurement devices can be triggered using the BNC connector Depiction of raw CAN frames Decoding of CAN frames from the recorded signal course Current view can be saved as bitmap screenshot Saving the recorded sample data as CSV file 6 2 Elements of the Scope Screen Actions see the following Position bar for overview of the manual sections sample buffer current view trigger measurin
55. nformation about the use of the PCAN Diag Editor in the program s help which is invoked via the Help button or the F1 key wz 83 PCAN Diag 2 Configuring the Device with Projects System 7 2 Integrating an Alternative Splash Screen Each project can have an alternative splash screen in order to clarify already at startup which project is active A bitmap file must be put into the corresponding project directory on the internal memory card If it does not exist the default splash screen is shown Default project Properties of the splash screen File name Intro bmp Storage path on the PCAN Diag Projects lt project name gt internal memory card Format Windows bitmap Resolution 320 x 240 pixels Color depth 24 bit BD Do the following to integrate an alternative splash screen 1 Ona PC create a bitmap file with the key features from the table 2 Establish a USB connection between the PC and the PCAN Diag In the PC the PCAN Diag is handled as mass storage device 3 Copy the created file Intro bmp into the desired project directory see table 4 Disconnect the USB connection 84 PCAN Diag 2 Maintenance Functions for the Device n System 8 Maintenance Functions for the Device Main menu item SETET The page gives an overview about the device s internals The specifications are usually used for support Furthermore hardware functions are available for maintenance of the device They are des
56. ort 18 PCAN Diag 2 Setting Up the Device a System Knob on the rear of the device for switch interlock of the push dial In order to activate the switch interlock push the knob using a thin object The device now cannot be powered up with the push dial Unlocking is done likewise push the small knob again 2 4 Setting Date and Time The PCAN Diag has an integrated clock The time stamp is used when a file is saved to the internal memory card We recommend checking the current date and time after initial start of the device main menu item and setting it if required Do the following to set the date and time 1 In the main menu select PEYERESEEtaemeeey 2 At the entry click on Eg 3 At and at click on the digits to be adjusted and change the values by dialing 4 When all digits are adjusted click on setl 19 PCAN Diag 2 Setting Up the Device 2 5 System Status Display When operating the device in the upper status bar some symbols give information on the voltage supply status and about the CAN bus communication Their meanings are as follows Symbol Meaning m QUD 4 The device is connected to an external voltage source e g AC adaptor The device is supplied by the inserted rechargeable batteries An estimation on the remaining capacity is given CAN traffic T Transmit R Receive Blinking Outgoing incoming CAN messages Green Regular traffic Yellow re
57. r CAN transceiver D Sub pin 9 D Sub connector Function Number of pins Measurement CAN Standard transceiver Other transceivers on request Termination Externally via supply socket 12 V DC nominal 8 50 V possible Internally with 4 rechargeable batteries size AA 4x1 5Vor4x 1 2 VDC Note The device does not charge inserted rechargeable batteries External supply 8 V min 300 mA 12 V nom 200 mA 32 V 83 mA Operation with batteries 5V 400 mA High speed CAN no auxiliary supply Low speed CAN 5 27VDC Single wire CAN 6 18V DC CAN connector 9 Voltage measurement at each pin for verification purposes High speed CAN ISO 11898 2 PCA82C251 Low speed CAN ISO 11898 3 TJA1054 Single wire CAN SAE J2411 TH8056 High speed CAN ISO 11898 2 124 Q between CAN_L and CAN_H switchable Low speed CAN ISO 11898 3 1 1 KQ or 4 7 KQO for CAN_L and CAN_H Single wire CAN SAE J2411 2 1 kQ or 9 1 kQ bus load resistor 95 PCAN Diag 2 Technical Specifications B BNC connector Functions Trigger output Voltage idle state Voltage trigger event Pulse duration Delay to the internal trigger Signal input Use Input voltage ranges Maximum input voltage Maximum frequency input signal Probe usage Oscilloscope function Measuring channels Sampling frequency Capacity sample buffer Trigger types Pretrigger Resolution time measurement CAN specific functions Da
58. rrors that are reported by the CAN controller 29 PCAN Diag 2 CAN Traffic System Clears the list of incoming CAN messages and resets the CAN con troller Latter is useful after fault maintenance on the CAN bus These items represent the first seven transmit lists that are defined under CESS gt EEEE sc section 4 5 on page 47 The lower status line informs about the selected transmit list name of the transmit list defined cycle time Single standing for a trans mit list to be triggered manually A click activates the selected trans mit list for cyclic transmission or triggers a single transmission depending on the type of the transmit list Information about the first transmit list Display Color Meaning EE brown inactive transmit list with defined cycle time EEE orange transmit list transmitted periodically or transmit list is ready for manual transmission Single EEE dimmed no transmit list available for this item 30 PCAN Diag 2 CAN Traffic n System 4 2 Displaying CAN Messages in Symbolic Form Menu item SEES gt EEE In order to simplify the interpretation of CAN data it can be dis played in symbolic form The display is determined by a symbol file 0 Note Before you can display CAN messages in symbol form you must have loaded a symbol file being part of a project More in the following section 4 3 Managing Symbol Files on page 32 Properties of the symbolic display
59. rtual Variable Search File o Etem Other Enums Symbols l tem Navigator Symbols properties Enums Symbols Title Untitled Virtual Variables Symbols File Format or Point E Custom Decimal Places ex o z El Unique Variables Symbols Name CAN ID He CAN ID Hi Hex Direction Mux Count Var Count 2 Click on Add Symbol Adjust the items in the Symbol properties panel according to the given values for the MuxSym symbol symbol properties X Name MuxSym Y CANAD Hex 200h Type Standard X l Paused Trace Direction Bi Directional v Send Period 0 ms Display Mode On Standard Timeout 0 ms Data Length 1 Color J Default X Valid for all Data Lengths Multipacket Comment The data length is not relevant at this point It is determined later separately for each multiplexer 39 PCAN Diag 2 CAN Traffic System 3 Add two multiplexers to the symbol by using Add Multiplexer Name Multiplexerl Multiplexer Start 0 Multiplexer Length 1 Paused Trace Data Format Intel X Send Period 0 ms Display Mode an Standard v Timeout 0 ms S Data Length 2 dX Multiplexer Value 00h Valid for all Data Lengths Color J Default X Comment Multiplexer2 gets the value 01h field Multiplexer Value When the symbol file is use
60. s the Data Type must be set to Signed 6 With Add Enum create the Switches enum Later on this is used for the Switch1 variable 36 l PCAN Diag 2 CAN Traffic PEAK System A new entry appears in the Enums folder of the Item Navigator 7 Add the two states Off 0 and On 1 to the enum with Add Value 8 Create the TestSymB symbol with the Switch1 variable symbol properties w Name TestSymB YX CAN I Hex 224h to 224h Type Standard X Paused Trace X Direction Receive Send Period 0 ms Display Mode On Standard v Timeout 0 ms X Data Length 1 a Color E Default 7 X C Multipacket _ Valid for all Data Lengths Comment Variable properties g X Name Switchl Unit Output Format Decimal E Y Data Type 1 Bit a Minimum 0 actor 1 Maximum 1 set 0 E Automatic min max calculation Bit Start 0 E Default Value Bit Length 1 z X Enum Switches bA Data Format Intel x M Trace l Standard Display Mode AIl Standard v E Custom Decimal Places oo SPN Decimal Places Long Name Comment The variable uses the Switches enum 9 Use Save as to save the symbol file with the name SymExample sym L37 PCAN Diag 2 CAN Traffic The final symbol file has the following contents FormatVersion 5 0 Do not edit Title Example ENUMS
61. saved permanently with These changes do not alter the affiliated project on the internal memory card If you want to restore the initial project properties reload the project with SERS 78 l PCAN Diag 2 Configuring the Device with Projects p 7 1 Creating and Loading a Project The procedure from creation of a project to the use in the PCAN Diag is divided into three phases Creating a project ona Diag Editor Transferring the project to the internal memory card of the PC with the Windows program PCAN PCAN Diag via USB connection Loading the project in the PCAN Diag Do the following to create a project 1 On the PC start the PCAN Diag Editor PcanDiag You can find the program for example on the supplied CD in the following dir Tools PCAN Dia ectory g PCAN DiagV2 Tools The elements of a project are listed on the tabs D amp ee SCs D Adjust basic settings of the PCAN Diag device here Edt exe Name Value naa Bit rate 1 MBit s User Bit rate 001Ch CAN termination On Listen only mode Off D Sub GND connection On Shutdown time battery 5 minutes Screensaver timeout 1 minute On Information When On PCAN Diag comes up in listen only mode at first Spy mode Useful when connected to an unknown CAN bus that must not be disturbed Select CAN Bit rate from a list of predefined values or set a user specific Bit rate or switch to b
62. scilloscope function can sample an external signal for in spection and trigger purposes coming from the BNC connector A Attention The voltage of an external signal may have a maximum of 50 V Higher voltages can lead to a defect of the device The BNC connector is used as input if measuring channel 2 Ch2 of the oscilloscope function is set as follows Setting Measuring range Maximum frequency Probe Cow MENEE 1 MHz EERO o o In addition the external signal is used as trigger if the triggering of the oscilloscope function is set as follows Setting Triggering CEA isio coo EEEE iino cage 10 2 1 Probe A probe can be used for the external signal not in the scope of supply Suitable is a standard probe without additional electronics which is operated with setting x1 The x10 cannot be used 89 l PCAN Diag 2 BNC Connector PEAK System 10 3 Ground Socket In order to establish a separate voltage ground connection between the PCAN Diag and the measuring object a ground socket 4 mm is provided GND socket 4 mm on the rear of the device 90 PCAN Diag 2 USB Connection with a PC System 11 USB Connection with a PC A USB connection to a PC is used for access to the internal memory card of the PCAN Diag The PC s operating system binds the memo ry card into the file management e g under Windows as mass storage device Internal memory card Size at least 1 GByte File system F
63. sed AC adaptor this setting does not have any effect 3 1 10 Screensaver timeout The brightness of the display will be reduced whenever the device is not operated for a certain period This can prolong the lifetime of the OLED display 3 1 11 Beeper The PCAN Diag can give acoustic feedback to several events Among other a change of the CAN bus status is signalized The Q setting disables the acoustic signal function of the PCAN Diag 26 PCAN Diag 2 Device Settings E 3 1 12 Date amp time With BBJ the device date and time are adjusted Date and time are used when saving files to the internal memory card 3 1 13 Reset file index File names of bitmaps or scope data to be saved get a number co ming from a counter The current count is indicated in parentheses and can be set to 0 by clicking RERE 3 1 14 Transceiver Shows the type of the CAN transceiver integrated in the PCAN Diag and thus the standard of the CAN communication no setting option Indication CAN transmission type Standard High speed CAN ISO 11898 2 a ice Low speed CAN ISO 11898 3 Single wire Single wire CAN SAE J2411 Needs an auxiliary voltage supply via pin 9 of the D Sub connector see section 2 1 1 on page 14 27 PCAN Diag 2 CAN Traffic System 4 CAN Traffic Main menu item ICAN Data The PCAN Diag 2 can display the CAN data of incoming CAN mes sages either in a simple way in hexadecimal format section 4 1 or with the help o
64. ta transfer System Trigger output or measuring input 3 3 V 0 V falling edge 4 CAN bit timings actual duration depending on the set CAN bitrate at 500 kbit s 4 2 us 8 us 140 CAN bit timings actual duration depending on the set CAN bitrate is displayed in the scope settings Oscilloscope function measuring channel 2 Ch2 for inspection of signals 3 15 V low 10 50 V high 50 V 1 MHz Standard probe without additional electronics not in the scope of supply Setting x1 1 CAN_H 2 CAN_L or BNC connector max 1 MHz max 20 MS s per measuring channel max 64 000 samples CAN frame start end CAN ID CAN error rising falling edge measuring channel 2 alternatively free run mode 10 50 90 50 ns depending on zoom Decoding of the recorded signal course Screenshot of the current scope screen Contents of the sample buffer as CSV file 96 l PCAN Diag 2 Technical Specifications PEAK Internal memory card System Size at least 1 GByte File system FAT32 Name of the USB device PCAN DIAG Display Type OLED Resolution 320 x 240 pixels Measures Size 103 x 58 x 212 225 with BNC connector mm WxHxL See also dimension drawing Appendix B on page 99 Weight 400 g 14 1 oz without batteries Environment Operating temperature 0 50 C 32 122 F Temperature for storage and transport 40 80 C 40 176 F Relativ
65. ted to a tap within the CAN bus on 124 Q The device is connected to a CAN bus whose termination isn t complete yet i co P Tip If you want to check that a connected High speed CAN bus 2 is terminated correctly you can use the following function EN gt CEEE section 5 2 on page 56 Low speed CAN Display PEYI E AES ae Hoy Mi e ME T A otek oR at bel ot Every node on a Low speed CAN bus has a terminating resistor For optimum system conditions the whole bus should be terminated with 100 Q parallel connection of all terminating resistors A single node is terminated with at least 500 and at most 6 kQ Setting Resistor Description o 4 7 KQ If monitoring an existing already optimally terminated CAN bus The total termination is only slightly affected by the higher resistance lon 1 1 kQ If using few nodes on a CAN bus 24 PCAN Diag 2 Device Settings System Single wire CAN Display RERET TESTES The busload resistor at the Single wire CAN transceiver can be changed with this function Setting Resistor off 9 1 kQ lon 2 1 KQ For more information about the function of the busload resistor see the data sheet of the TH8056 CAN transceiver by Melexis www melexis com for example 3 1 6 Transceiver mode Only with integrated Single wire CAN transceiver M Transceiver Single wire The Single wire CAN transceiver can be operated in three different modes Mode Normal High speed Wake
66. the following CAN messages into account Symbol CAN ID Variable unit Bits count Enum data length TestSymA 223h Speed km h 0 7 8 2 bytes Temperature C 8 15 8 TestSymB 224h Switch1 0 1 Switches 1 byte 0 Off 1 On DB Do the following to create the symbol file 1 Ona PC start the supplied Windows program PCAN Symbol Editor PcanSEdt exe You can find the program for example on the supplied CD in the following directory Tools PCAN Diag PCAN DiagV2 Tools After starting the program the folders in the Item Navigator on the left hand side are still empty 34 l PCAN Diag 2 CAN Traffic PEAK Start Open PSearch Y Add Enum 4 Add Multiplexer Contents g D Hse x a p E Preview Add Value B la Add Variable 3 Index GJ a L eS S Print Delete Value rel gy Add Virtual Variable 3 Search Other Symbols l Save as File Enums DSmi Title Untitled Virtual Variables Symbols File Format ecimal Separator Point x El Custom Decimal Places 0 Unique Variables Symbols Name CAND He CAN IDHi Hex Direction Mux Count Var Count 2 Click on Add Symbol A new entry appears in the Symbols folder of the Item Navigator 3 Adjust the items in the Symbol properties panel according to the given values for the TestSymA symbol Symbol properties J X Name TestSymA lt CAN ID Hex 2
67. up Description Up to 40 kbit s with wave shaping Up to 100 kbit s without wave shaping Like Normal mode but with increased signal levels To prevent mistakes The term High speed mode refers to Single wire CAN and is not related to High speed CAN The Sleep mode defined in addition for Single wire CAN isn t supported This setting is not available for a project in the PCAN Diag Editor but can only be set in the PCAN Diag itself 25 PCAN Diag 2 Device Settings System 3 1 7 Listen only mode If the device shall silently watch traffic on the CAN bus without influencing it the observation mode listen only mode must be switched onf The device will neither acknowledge nor transmit CAN error frames Furthermore active transmit lists are deactivated 3 1 8 D Sub GND connection The device s voltage ground can be disconnected from the D Sub connector by software 89 This setting is relevant for pins 3 and 6 of the D Sub connector for assignment overview see on page 13 The connector shield is permanently connected to the device s voltage ground 3 1 9 Shutdown time battery If the PCAN Diag is run with rechargeable batteries battery sour ces can be preserved by switching off the device automatically after a set period as long as the push dial hasn t been used Setting to causes the device to stay alive all the time If operating the device with an external supply for example with the enclo
68. us off With above Bit rate set to User Experts may write a 2 byte hex value directly into the bit timing registers SJA 1000 compatible Switches the internal bus termination resistor on or off l Shows what s going on but doesn t affect traffic on the CAN bus Spy mode Connects the PCAN Diag s GND to pins 3 and 6 of the D Sub9 CAN connector Sets switchoff delay for when device is unoperated in battery mode Ineffective when device is supplied externally Sets display s dim delay for when device is unoperated May significantly prolong lifetime of the OLED screen Enables or disables acoustic signalling Files Device 0 device s connected 79 l PCAN Diag 2 Configuring the Device with Projects gt System 2 Adjust the settings for your application on the tabs Device Settings Scope Settings and D Sub Connector 3 If needed create one or more CAN Transmit Lists on the corresponding tab The left panel contains the transmit lists the right panel the CAN messages of a transmit list Add new entries with the plus button beneath each panel E Untitled PCAN D hens Oe 8 Open Save Saveas Transferto Symbol Editor Help _ About C Device Setings 2 Scope Settings i D Sub Connector G CAN Transmit Lists Jai Symbol Q Edits and manages transmission lists of the PCAN Diag D Demo Cycle time ms 100 alele F Enabled F Automatic start Omed

Download Pdf Manuals

image

Related Search

Related Contents

Utilisation du code 5 de la CCAM mode d`emploi CSMF  Bedienungsanleitung  BMW L.E.D. RING BULB  START 200 START 300  Manuel Plate-forme élévatrice ACT8  none 67110-7096H Instructions / Assembly  クリンパー(RJ-45 圧着工具)取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file