Home
PCAN-MiniDisplay - User Manual
Contents
1. 40 PCAN MiniDisplay User Manual System Part of picture list entry Description lt index gt lt pic name gt lt transparency name gt Number of the picture Must be in the range 0 pictures 1 File name of the picture without path The picture must be stored in the same directory where the ins file is stored File name of the grayscale picture alpha channel If this picture does not exist an empty string must be provided File name without path like lt pic name gt lt xpos gt x position 0 319 Will be added to the parameter x Offset lt ypos gt y position 0 239 Will be added to the parameter y Offset lt low val gt Lowest value of data range lt high val gt Highest value of data range O arrow left _off bmp 20 100 0 3 Show picture arrow _left_off bmp at position x 20 y 100 if the variable is in the range of 0 to 3 1 arrow_left_on bmp 20 100 4 7 Show picture arrow _left_on bmp at position x 20 y 100 if the variable is in the range of 4 to 7 D 1 3 fontx Section Each used font is indicated by the fontX section delimiter where X is a consecutive number starting at 1 The number of fonts is defined by the fonts keyword in the global section fontl font Filename of the bitmap font The string must written with quotation marks Extension of a font file name is fon font arial_20 fon 41
2. Function Vb 7 30 V DC GND Dout1 Din4 Ain1 Ain2 not connected or CAN2 RxD CAN2_SW or CAN2 TxD CAN1_L CAN1_H Pin assignment System oo NI OI a A OJIN 2 3 J3 USB Access the memory card in the PCAN MiniDisplay from a PC via USB connection The memory card can also be accessed if the PCAN MiniDisplay is switched off At startup of the device the USB connection is briefly interrupted 1 TTL signal for optional external CAN transceiver PCAN MiniDisplay User Manual System J3 LI 1 Pin Function 1 5V USB 2 D 3 D 5 4 GND 5 GND Pin assignment USB 2 3 1 Unplugging the USB Connection Before unplugging the USB cable from the PC or the PCAN MiniDisplay 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 memory card of the PCAN MiniDisplay Windows Safely remove hardware icon in the taskbar notification area 2 3 2 Restriction for PCAN MiniDisplay Functions During a USB connection to a PC some functions of the PCAN MiniDisplay are limited because the device cannot access the memory card at the same time as the connected PC A scene definition instruments cannot be loaded The recording and playback of CAN traffic trace do not work The commands in the Memory Card menu do not work l PCAN MiniDisplay User Manual PEAK 2 4 J4 JTAG System Acc
3. plotterX line writer diagram A reference to the keywords to be used in those sections is located in appendix section D 1 on page 35 An example file is shown below A definition file can contain comments that are lead in by double slashes All characters in a line after a double slash are ignored as the ins file is interpreted by the PCAN MiniDisplay During load time the PCAN MiniDisplay generates a binary version of a screen definition inb That one is loaded much faster on 12 PCAN MiniDisplay User Manual z System future use because all conversions for panel internal use are already incorporated This is the default behavior but can be configured in the Global section Altering the definition of a scene can only be done in the text based file a Note If the definition of a scene is altered the previously generated binary file inb must be manually deleted on the memory card of the PCAN MiniDisplay so the loader sees that a new binary must be created from the text file If you do not delete the binary file your changes in the definition file will not have any effect 3 2 Example of an ins File global format 1 instruments 2 variables 1 labels 1 flashing _time 300 compress 0 instrument1l pictures 1 name Background no_restore 1 0 Background_ 320 240 bmp 0 0 0 0 instrument2 pictures 2 name turn_left no_restore 0 offset 0 0 var_name clig O empty 28 20
4. var_namel speed var_name2 acceleration ymi nx Minimum value of the vertical axis A value smaller than this is limited to this minimum yminl 10 ymaxX Maximum value of the vertical axis A value greater than this is limited to this maximum ymax2 250 52 PCAN MiniDisplay User Manual System D 2 Scenes Project File inp D 2 1 global Section version Version format Currently only 1 version 1 D 2 2 scenes Section scenes Count of used scenes scenes 4 startscene This scene will be used after startup as the default scene default 1 startscene 2 List of Scenes Format of a scenes list entry lt index gt lt filename gt The scenes are numbered consecutively starting with 1 As parameter the file name of the scene must be indicated If a scene is defined with the keyword parameter compress 1 and was already loaded before the compressed version will be used This helps to decrease the loading time scenes scenes 4 startscene 2 1 speedo0 ins 2 speedol ins 3 picturel ins 53 PCAN MiniDisplay User Manual System 4 picture2 ins D 3 CAN ID Filters f1t The use of a CAN ID filter 1t file is determined in the DERA menu of the PCAN MiniDisplay CAN IDs and ID ranges that are listed in a filter file can pass the filter others don t If the filter sections don t have any entries no CAN messages can pass the filter D 3 1 global
5. 0 6151 8173 20 Fax 49 0 6151 8173 29 E mail info peak system com ELE Signed this 26 day of January 2015 PCAN MiniDisplay User Manual System Appendix B Dimension Drawing 56 8 ft 3xDM3 2mm 34 4 Cmm 69 5 Cmm The figure does not show the original size _ gt 6 4 mm lt 36 7 mm 6 4 Cmm 33 PCAN MiniDisplay User Manual System Appendix C File Structure on the Memory Card The following table shows the structure of the MiniDisplay directory tree and explains the functions Directory file MiniDisplay Intro bmp Scenes lt scene name gt eens ean dnp Eon bmp Traces trc00000 btr Firmware bin Function Fixed storage branch for files that are accessed by the PCAN MiniDisplay or that are related to the device Screen at startup of the device 320 x 240 pixels A subdirectory with the scene name for each scene Scene definition file see 3 Scene Definition on page 12 Binary counterpart to a scene ins for faster loading see 3 Scene Definition on page 12 List of scenes for use of several scenes that are switched by digital inputs Bitmap font to be used in a scene Bitmap to be used in an instrument Fixed subdirectory for traces that are recorded by the PCAN MiniDisplay Binary coded trace data from the recording function usable for playback or otherwise after conversion on the PC con
6. 0 External input e g switch channel 0 Use first CAN channel source Type of source Available source types CAN AIN DIN source CAN 43 PCAN MiniDisplay User Manual canid 11 bit or 29 bit integer value decimal or hex canid 256 canid 0x100 position 1 parameter start bit position of the signal range 0 63 Note The bits are counted differently in Intel and Motorola format 2 parameter bit length of the signal range 1 32 position 0 8 First byte of the CAN data field position 8 16 Bytes 2 and 3 of the CAN data field frametype Defines the CAN frame type as Standard Frame or Extended Frame Value Description 0 Standard Frame 11 bit CAN ID 1 Extended Frame 29 bit CAN ID frametype 0 Standard Frame with 11 bit ID byteorder Defines the byte order of the CAN data Value Description 0 Intel Little Endian 1 Motorola Big Endian byteorder 0 Intel format muxtype Not yet supported muxval Not yet supported 44 PCAN MiniDisplay User Manual System scale Scale for an incoming signal value The value will be stored as a float 32 bit scale 2 5 offset Offset for an incoming signal value The value will be stored as a float 32 bit offset 5 2 maxraw Maximum raw value value from CAN bus before scale offset calculation with internal data type float 32 bit Any larger value than this is limited to this value Use eithe
7. 0 No background for this instrument 1 The instrument has an individual background picture which will be used if transparency 1 While loading the ins file the pictures is calculated in the background By default background 0 the instrumento0 is the global background picture Nevertheless for each instrument an individual background picture may be defined The individual background picture must be the last picture of the picture list The background picture does not have an alpha channel so it replaces the global background picture from instrument0 Typically an individual background pictures has the same size as the single pictures of the instrument background 1 update_rate Update rate of this instrument in milliseconds If not defined the default update rate of 50 ms is used An instrument may be updated with each new incoming CAN message However it could happen that the current value is not read because of a too high update rate This keyword limits the update rate to ensure that the update of the instrument stays reliable update _rate 500 Redraws the instrument two times a second at most Picture List The var_name keyword defines a CAN signal If this is received the value will be decoded The picture will be shown which is assigned to the decoded CAN signal Format of a picture list entry lt index gt lt pic name gt lt transparency name gt lt xpos gt lt ypos gt lt low val gt lt high val gt
8. Section This section is obligatory and must contain the following two keywords version Version format Currently only 1 is valid version 1 enable Enables the filter Currently only 1 is valid enable 1 D 3 2 single_llbit Section Defines 11 bit CAN IDs that can pass the filter An ID is indicated by a decimal or a hexadecimal value latter with prefix Ox It is recommended to list IDs in rising order 0x100 0x250 1023 54 PCAN MiniDisplay User Manual System D 3 3 range_11bit Section Defines 11 bit CAN ID ranges that can pass the filter An ID is indicated by a decimal or a hexadecimal value latter with prefix Ox It is recommended to list ID ranges in rising order 0x200 0x340 4 13 0x000 Ox7ff Full 11 bit range D 3 4 single_29bit Section Defines 29 bit CAN IDs that can pass the filter An ID is indicated by a decimal or a hexadecimal value latter with prefix Ox It is recommended to list IDs in rising order 0x123 0Ox11111 125000 D 3 5 range_29bit Section Defines 29 bit CAN ID ranges that can pass the filter An ID is indicated by a decimal or a hexadecimal value latter with prefix Ox It is recommended to list ID ranges in rising order 0x9000 0x10000 500 550 Ox1F80000 0x1FA0000 0x0000000 0x1FFFFFF Full 29 bit range D 3 6 Example of Filter flt global version 1 enable 1 single llbit 0x100 0x250 1023 55 l PCAN MiniDisplay User Manual PEAK
9. Traffic gt Menu item RENAE The PCAN MiniDisplay 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 recording of the trace file is maintained QO Note CAN tracing is only applicable to CAN channel 1 High speed CAN D 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 RIEBE In order to set up a continuous playback of the trace file with repetition click on the field to switch to RESER 2 Make sure that no USB connection is present between the PCAN MiniDisplay and a PC 22 PCAN MiniDisplay User Manual System 3 Click on lSelectFile and select the trace file btr for playback from the list The playback starts directly after selecting the file 4 Click on EE 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 5 3 Using the Recorded CAN Traffic on the PC The recorded CAN traffic can be read by a PC via a USB connection from the memory card of the PCAN MiniDisplay It is stored in binary coded trace files trc00000 btr file name with consecutive numbers in the following directory MiniDisplay P
10. bmp 0 0 0 0 1 turn_1 28 20 bmp 0 0 1 1 variablel name oiltemperature 13 PCAN MiniDisplay User Manual System canid 779 ID in decimal notation position 8 8 frametype 0 byteorder 0 scale 0 62745 offset 10 vartype 0 datatype 1 label11 name 0il Temperature position 0 106 font_idx 3 lucida_13_18 length 5 fmt_string 4d Special treatment for degree character 7 ASCII 127 initval fontcolor 200 200 0 green bgcolor 0 0 0 black sector 1 range 10 124 fontcolor 200 200 0 bgcolor 0 0 0 flashing 0 sector 1 range 125 150 fontcolor 255 0 0 offcolor 127 0 0 bgcolor 0 0 0 flashing 1 3 3 Using Several Scenes It is possible to use more than one scene on the PCAN MiniDisplay Scenes can be switched by using the digital inputs e g with push buttons To achieve this a list of scene definition files must be created in a scenes project file inp This list also defines which scene is used on startup 14 PCAN MiniDisplay User Manual System A reference to the keywords to be used in those sections is located in appendix section D 2 on page 53 An example file is shown below general version 1 scenes scenes 4 startscene 2 1 speedo0 ins 2 speedol ins 3 picturel ins 4 picture2 ins 15 PCAN MiniDisplay User Manual n System 4 Steps to Operation On power on the PCAN MiniDisplay looks for the internally
11. connector for mating spring terminal block J1 internally Pin Function 1 Down 2 Up 3 Enter 4 GND 10 pole connector for mating spring terminal block J2 internally Pin Function 1 Vb 7 30 V DC 2 GND 58 l PCAN MiniDisplay User Manual PEAK System Pin Function Dout1 Din4 Ain1 Ain2 not connected or CAN2 RxD CAN2_SW or CAN2 TxD CAN1_L 0 CAN1_H gt o o NI o AoA Ww 2 TTL signal for optional external CAN transceiver 39
12. if value in this range Background color if value in this range Once the keyword sector is used the parameters for fontcolor and bgcolor are assigned to a sector 50 PCAN MiniDisplay User Manual System D 1 6 plotterx Section Each plotter is indicated by the plotterX section delimiter where X is a consecutive number starting at 1 The number of plotters is defined by the plotter keyword in the global section name Name of the plotter for reference only name Vehicle Speed position X and Y position of plotter position 100 50 size Dimension of the plotter in pixels 1 parameter width 2 parameter height size 100 50 plotcolor Color of plot line in RGB plotcolor 255 0 0 Color is 100 red plotcolor 127 127 127 Color is mid gray bgcolor Background color for the area of the plotter in RGB bgcolor 255 255 255 white background enable Enables or disables this plotter 51 PCAN MiniDisplay User Manual System enable 1 channels Number of channels for this plotter diagram Up to 4 channels can be displayed in a plotter The channel indexes are used to specify name variable etc channels 2 timespan Time in milliseconds that the x axis should represent timespan 5000 5 s to draw the complete diagram var_namex Name of the data source X can be 1 2 3 or 4 for up to 4 variables in a plotter diagram See channels keyword
13. saved startup options An scene for display the tracer for CAN recording or both can be started automatically O Tip At delivery the PCAN MiniDisplay is configured to start a 7 scene called Default inp Therefore the device can be deployed without initial user interaction via push buttons This chapter describes the steps to put the PCAN MiniDisplay to operation Please go through each of the following sections 4 1 Prerequisites microSD memory card max 32 GByte not in scope of supply PC with SD card reader including adapter for microSD card or USB connection PC to PCAN MiniDisplay connected to J3 Power supply 7 to 30 V DC connected to J2 4 2 Preparing the Memory Card In order to start up properly the memory card must be formatted with the FAT or FAT32 file system and must contain a specific direc tory structure The provided DVD contains a prepared directory tree for copying to the memory card 16 PCAN MiniDisplay User Manual System Do the following to prepare the memory card 1 4 3 Insert the microSD memory card into the slot either of the PCAN MiniDisplay if a USB connection is available or of your PC The memory card appears as an separate mass storage device in your PC s operating system With the operating system format the memory card with the FAT or FAT32 file system Latter is mandatory if the capacity of the memory card is greater than 2 GByte Copy the MiniDis
14. the synchronization jump width SJW To reset an entry Name UserX Bitrate undef set the BTR value to 0000 7 1 5 Beeper The PCAN MiniDisplay can give acoustic feedback to several events Among other a change of the CAN bus status is signalized The offl setting disables the acoustic signal function of the device 28 PCAN MiniDisplay User Manual System 7 1 6 Show startscreen After power on the PCAN MiniDisplay shows a bitmap file for a few seconds as startscreen You can switch off this behavior here It is possible to replace the bitmap file with an own one Properties of the startscreen File name Intro bmp Storage path on the memory card MiniDisplay Format Windows bitmap Resolution 320 x 240 pixels Color depth 24 bits 7 1 7 Date amp time With R the device date and time are adjusted Date and time are used when saving files to the memory card 7 1 8 Reset file index File names of traces to be saved get a number coming from a counter The current count is indicated in parentheses and can be set to 0 by clicking RE 7 2 Internal Statistics The page gives an overview about the device s internals The specifications are usually used for support purposes Furthermore hardware functions are available for maintenance of the device They are described briefly in the following ea Important note Misapplication of these functions can lead to the unavailability of the device Use the function
15. trc00000 btr with consecutive num bers can be used for playback of the recorded CAN messages on the CAN bus see following section 5 2 on page 22 As alternative it is possible to convert the recording on a PC to another format for further use and for evaluation see section 5 3 on page 23 a Note A filter may be applied to incoming CAN traffic only letting through CAN messages with specific IDs See chapter 6 on page 26 for details about filtering BD Do the following to record 1 Make sure that no USB connection is present between the PCAN MiniDisplay and a PC 2 Click on BREE The recording is done to the indicated FRR 3 End the recording with BEE 21 PCAN MiniDisplay User Manual System Indication Meaning Name of the trace file for the current recording The file name trc00000 btr is automatically put together with a consecutive number Nema 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 During recording the trace file grows in 512 byte blocks each containing 25 CAN messages Thus 1 MByte can hold 51200 CAN messages 5 2 Playing Back Recorded CAN
16. An 8 bit unsigned variable has a value range of 0 to 255 When the value is within 0 to 10 the displayed value is shown in red and flashing In the range of 11 to 245 is displayed in green In the range of 245 to 255 it is displayed in red and flashing range A sector is defined for a certain range range 20 50 This sector is valid if the variable is in the range of 20 to 50 20 and 50 included 49 PCAN MiniDisplay User Manual offcolor System Each sector can have the flashing keyword In case the sector is active and the label is flashing the color toggles between fontcolor and offcolor offcolor 127 0 0 middle red Example of a Label label11 name odometer position 10 30 font_name font_idx 2 length 8 fmt_string 05d km var_name odomtr startval km fontcolor 0 255 0 bgcolor 127 0 0 sector 1 range 0 10 fontcolor 0 255 0 bgcolor 0 0 0 flashing 0 sector 1 range 1 20 fontcolor 255 0 0 offcolor 127 0 0 bgcolor 0 0 0 flashing 1 Name of label for reference x pos y pos in pixels 0 0 is top left corner Use either font_name OR font_idx Use integrated font 2 Number of characters of the label Format string for printf to convert variable into display value Reference to variable Initial value that will be displayed RGB value bright green RGB value mid red New sector 1 enabled Applicable for values within this range Font color
17. PCAN MiniDispla Visualization and Recording of Vehicle Data User Manual Document version 1 0 1 2015 04 21 PCAN MiniDisplay User Manual z System Products taken into account Product name Model Part number PCAN MiniDisplay Display with three mounting pegs IPEH 002262 PCAN MiniDisplay Display in casing with push buttons IPEH 002262 KSM1 with casing The front page shows the PCAN MiniDisplay with three mounting pegs microSD is a trademark or registered trademark of SD 3C LLC in the United States of America other countries or both 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 Copyright 2015 PEAK System Technik GmbH Duplication copying printing or other forms and the electronic distribution of this document is only allowed with explicit permission of PEAK System Technik GmbH PEAK System Technik GmbH reserves the right to change technical data without prior announcement The general business conditions and the regulations of the license agreement apply All rights are reserved 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 1 0 1 2015 04 21 PCAN MiniDisplay User Manual System Contents 1 Introduction 5 1 1 Pro
18. PCAN MiniDisplay User Manual System Currently the following fonts are available on the PCAN MiniDisplay lucida_13 18 fon century 13 16 fon century 16 18 numbers fon only numbers from 0 to 9 Palatino Linotype 12 14 fon Palatino Linotype 16 20 fon Palatino Linotype 24 28 fon Palatino Linotype 24 32 numbers fon only numbers from 0 to 9 Palatino Linotype 24 32 numbers bold fon only numbers from 0 to 9 Courier 13 18 bold fon bold characters gear 40 49 fon numbers from 0 to 7 are displayed as N 1 2 3 4 5 6 Rina size of 40 x 49 pixels name Name of the font as a reference for an element that uses a font name arial_20 type Type of the font Currently only single colored fonts with fixed size are available type 0 type 0 42 PCAN MiniDisplay User Manual D 1 4 variablex Section Each variable is indicated by the variableX section delimiter where X is a consecutive number starting at 1 The number of variables is defined by the variables keyword in the global section variablel name Name of the variable as a reference to be used with an instrument or a label name Speed channel The channel to be used count starts at 0 The number of supported channels depends on source type see source keyword below Source type Value Description CAN 0 High speed CAN 1 Single wire CAN AIN 0 Internal NTC 1 External input 2 External input DIN
19. System range_11bit 0x200 0x340 4 13 Ox7 0 Ox7fe single 29bit 0x123 0x11111 25000 range_29bit 0x9000 0x10000 500 550 0x1F80000 0x1FA0000 36 l PCAN MiniDisplay User Manual PEAK System Appendix E Model with Casing This section describes the peculiarities of the model with casing and push buttons IPEH 002262 KSM1 This product model provides an environment to facilitate the development of configurations for the PCAN MiniDisplay Model with casing and push buttons E 1 Scope of Supply j PCAN MiniDisplay in plastic casing with three push buttons 2 spring terminal blocks 10 pole 4 pole microSD memory card 512 MByte j This User Manual in PDF format L PCAN MiniDisplay User Manual System E 2 Push Buttons The three push buttons Up f Down and Enter are device inter nally connected to J1 of the PCAN MiniDisplay see 2 1 on page 7 for details The use depends on the current mode of the device Current Mode Up Down Enter Scene display Switch to the next scene if Leave the scene display and multiple scenes are defined show the main menu Menus Skip to previous or next entry Activate the selected entry of a menu or of a list Off supply voltage Start device applied Note that the digital inputs of J1 are also available on the 4 pole outlet E 3 Connectors The model with casing provides three connectors on its back side Mini USB socket 4 pole
20. aphic repre sentation of incoming CAN data is configured before using the unit and then is performed on a TFT display During operation the user can switch between different scenes The PCAN MiniDisplay can also be used for data logging The data traffic is recorded to a memory card and can be played back on the CAN bus as well as analyzed on a PC later on Important note In order to operate the PCAN MiniDisplay you need a microSD memory card This is not in the scope of supply This user manual refers to the PCAN MiniDisplay board to be used for mounting The peculiarities of the model with casing and but tons IPEH 002262 KSM1 are described in Appendix E on page 57 1 1 Properties at a Glance CAN connection via a High speed CAN channel ISO 11898 2 and a Single wire CAN channel SAE J2411 Wake up via CAN TFT display with 320 x 240 pixel resolution Freely configurable visualization of CAN data Switching between multiple display configurations via push buttons optional PCAN MiniDisplay User Manual z Slot for microSD memory card up to 32 GByte 512 MByte card enclosed High speed USB 2 0 port for access to the memory card using a PC Recording of incoming CAN messages to the memory card Playback of trace files Conversion of trace data to various output formats using Windows software Filtering of CAN IDs per CAN channel Dimensions 70 x 50 mm Voltage supply from 7 to 30 V DC 1 2 Scope of Supply PCAN Min
21. at usage like printf programming function fmt_string 02d km var_name Reference to a variable from section variables var_name speed initval Initial value that is output after startup before a relevant variable is received inityal tsssss fontcolor Defines the color of the font in red green blue fontcolor 255 255 255 white bgcolor Defines the color of the background in red green blue bgcolor 255 0 0 red update_rate Defines the update rate of a label in milliseconds Label is not redrawn earlier than this independent of the reception of a relevant variable 48 PCAN MiniDisplay User Manual System update_rate 100 update_rate 0 Redraw label not faster than every 100 ms Updates label as fast as possible each time the variable is received sector The numeric range of a variable can be divided in up to 5 sectors For each sector a different font color and background color can be defined Each sector can have the flashing keyword set to 1 or 0 A sector can be enabled 1 or disabled 0 sector 1 sector enabled range 0 10 fontcolor 255 0 0 bright red offcolor 127 0 0 light red bgcolor 0 0 0 black flashing 1 sector 1 sector enabled range 1 244 fontcolor 0 255 0 bgcolor 0 0 0 bright green black flashing 0 no flashing sector 1 sector enabled fontcolor 255 0 0 bright red offcolor 127 0 0 light red bgcolor 0 0 0 black flashing 1
22. datatype 1 CAN ID Start bit and bit length OF Ll bit Is 29 bit 0 Intel 1 Motorola Value raw scale offset Always float type Representation of CAN data 0 unsigned 1 signed 2 float Lower limit is 3 Any value gt 99999 is set to 99999 Representation of result 0 unsigned 1 signed 2 float 46 PCAN MiniDisplay User Manual System D 1 5 labelxX Section Each text label is indicated by the labelX section delimiter where X is a consecutive number starting at 1 The number of labels is defined by the labels keyword in the global section label1 name Name of label for documentation name odometer position X and Y position of label 1 parameter X position horizontal range 0 31 2 4 parameter Y position vertical range 0 239 position 10 30 font_name Name of font reference to a font from section fonts font_name Palatino Linotype 12 14 fon This selects a font with a width of 12 pixels and height of 14 pixels See list of available fonts font_idx Index of an embedded font Value Description 0 Courier_8_12 width 8 height 12 1 Courier_10_14 width 10 height 14 2 Courier_12_18 width 12 height 18 font_idx 2 47 PCAN MiniDisplay User Manual System length Length of the output string Number of characters length 5 fmt_string Format string to convert a value from a variable into the output string Form
23. ector J1 that can be equipped with push buttons for example See section 2 1 on page 7 for details about the connection i c O Tip The PCAN Display with casing has the mentioned buttons built in See Appendix E on page 57 for more information about this model Browsing through the menus and functions is done with the Up T and Down buttons a selected item is activated with the Enter button While displaying a scene pressing the Enter button brings you back to the main menu 18 PCAN MiniDisplay User Manual System A J Tip The use of the menus is not needed for pure display of a 2 scene because basic settings can be defined in the definition file Default inp which is automatically loaded with delivery settings Thus buttons can be omitted in that case 4 4 1 Status Indication While using the menus icons on the upper right of the screen indicate the status of the the CAN bus communication for CAN Channels 1 High speed CAN and 2 Single wire CAN Icon Meaning T R CAN traffic T Transmit R Receive Blinking Outgoing incoming CAN messages Green Regular traffic Yellow red Faulty traffic lact Informs about the CAN controller status active passive bus off When pas entering bus off state due to high transmission error rate no further ga CAN messages are transmitted or received In this case after fixing the bus problem e g a wrong CAN bitrate a power cycle off and on m
24. ess the microcontroller for debugging purposes J4 1 om mm 2 m os 9 m m 10 Pin assignment JTAG 2 5 J5 microSD Slot for a microSD memory card Pin Function GND GND Reset 3 3 V TCK TMS TDO TDI RTCK SP oO ADIN DA AJOI N gt fo TRST Location of the microSD card slot on the circuit board of the PCAN MiniDisplay bottom view 10 PCAN MiniDisplay User Manual Di s System 2 6 J6 Serial Provides serial signals for customer specific extensions Pin Function J6 r GND 5V TxD RS 232 2 1 Pin assignment Serial RxD RS 232 SCL Software 12C SDA Software 2C O B W NY j 11 PCAN MiniDisplay User Manual System 3 Scene Definition The PCAN MiniDisplay uses a so called scene for display of CAN data in graphical form 3 1 General Description of an ins File A scene is a collection of instruments labels fonts etc defined in a text file with the ins extension Scenes furthermore include bitmap graphic files bmp and font files fon The contents of a scene definition file is divided in different sections each containing definition entries global common definitions for the scene instrumentX used bitmaps labelX text based labels variableX CAN variables that are used by labels the plotter and instruments fontX fonts that are used by labels
25. heet semicolon as separator For further use of the trace data proceed as follows 1 Connect the PCAN MiniDisplay to the PC with the provided USB cable The PCAN MiniDisplay does not need to be powered on i PCAN MiniDisplay User Manual System 2 Under Windows start the PEAK Converter exe program from the memory card of the PCAN MiniDisplay which resides inthe MiniDispla y Tools directory 3 Select a trace file file name trc00000 btr with consecu tive numbers as source Yo project directory MiniDisplay Traces u can find the trace files in a 4 Specify a destination file and select the desired target format see above 25 PCAN MiniDisplay User Manual System 6 Filtering the CAN Traffic Usually all incoming CAN messages are used for a scene or a trace However the CAN traffic can be filtered by a list of CAN IDs This function is primarily intended for use with tracing A filter list is defined in a text file with the flt extension and loaded in the device settings of the PCAN MiniDisplay All mentioned IDs pass the filter others don t Do the following to apply a CAN ID filter 1 With a text editor create a filter file 1t listing the IDs that can pass the filter The format of the file is described in the appendix section D 3 on page 54 ron Tip On delivery the PCAN MiniDisplay is set to use a filter file 2 named Default flt 2 Copy the filte
26. iDisplay Connection cable assembly with open wire ends for peripherals power supply field busses digital inputs microSD memory card 512 MByte This User Manual in PDF format O Important note In order to operate the PCAN MiniDisplay you need a microSD memory card This is not in the scope of supply but available separately on request PCAN MiniDisplay User Manual System 2 Connectors The connectors on the circuit board are J1 External Buttons 2 1 below J2 System 2 2 on page 8 J3 USB 2 3 on page 8 J4 JTAG 2 4 on page 10 J5 microSD 2 5 on page 10 J6 Serial 2 6 on page 11 For basic use at least the power supply J2 a CAN connection J2 and a microSD memory card J5 are needed 2 1 J1 External Buttons 3 push buttons can be connected and used to navigate through the menus of the PCAN MiniDisplay user interface This is for mainte nance and debugging purposes For example a user of the PCAN MiniDisplay can be enabled to do communication configuration changes or CAN tracing Ji e4 Pin Function 1 Down o A 2 Up Tt ei L 3 Enter 4 GND Pin assignment External Buttons The 3 push buttons connect each function pin 1 to 3 to GND PCAN MiniDisplay User Manual System 2 2 J2 System Power supply 1 High speed CAN channel CAN1 1 Single wire CAN channel CAN2 alternative use of external transceiver with CAN2 1 digital output 1 digital input 2 analog inputs ay 5
27. icroSD 32 GByte FAT FAT32 if capacity gt 2 GByte PCAN MiniDisplay High speed CAN ISO 11898 2 not terminated Single wire CAN SAE J2411 69 5 x 49 5 mm W x L See also dimension drawings Appendix B on page 33 50g 20 70 C 4 158 F 30 80 C 22 176 F 15 90 not condensing EN 55024 2003 10 EN 55022 2007 04 EC directive 2004 108 EG 31 PCAN MiniDisplay User Manual System Appendix A CE Certificate PCAN MiniDisplay PEH 002262 EC Declaration of Conformity PEAK System Technik GmbH System Notes on the CE Symbol The following applies to the PCAN MiniDisplay product with the item number s IPEH 002262 EC Directive This product fulfills the requirements of EU EMC Directive 2004 108 EC Electromagnetic Compatibility and is designed for the following fields of application as for the CE marking Electromagnetic Immunity Emission DIN EN 61326 1 publication date 2013 07 Electrical equipment for measurement control and laboratory use EMC requirements Part 1 General requirements IEC 61326 1 2012 German version EN 61326 1 2013 Declarations of In accordance with the above mentioned EU directives the EC Conformity 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
28. lete the binary file your changes in the definition file will not have any effect D 1 2 instrumentx Section Each instrument is indicated by the instrumentX section delimiter where X is a consecutive number starting at 1 The number of instruments is defined by the instruments keyword in the global section instrument1 37 PCAN MiniDisplay User Manual System pictures Count of pictures per instrument range 1 99 pictures 4 name Name of the instrument Only for documentation The string must be written with quotation marks name turn_left var_name Name of the variable that controls the instrument The string must be written with quotation marks var_name speed initval Determines the initial value of the instrument until the first real CAN data for this instrument is received initval 267 no_restore Determines the handling of the background while drawing Value Description 0 default Before the instrument sequence will be drawn the background is saved Then the background could be restored before a new instrument sequence was drawn This can be useful if the sequences have different sizes 1 The picture sequence will be drawn without saving the background makes only sense if all pictures of the instrument have the same size and are drawn at the same position Used for optimization of CPU load no_restore 1 38 PCAN MiniDisplay User Manual System
29. ments in this scene range 1 32 instruments 4 labels Count of used labels range 1 64 labels 5 variables Count of used variables range 1 96 variables 7 plotter Count of used plotters range 1 4 plotter 1 fonts Count of additional fonts that are specified for this project range 1 27 There are 3 internal fonts available To use the internal fonts use font_idx instead of a font name For more information see D 1 3 fontX Section on page 41 36 PCAN MiniDisplay User Manual System fonts 2 flashing_time Flashing frequency for instruments with flashing keyword range 50 2500 default 500 The value is the time in milliseconds for the on time and the off time flashing time 250 250 ms on 250 ms off resulting in 2 Hz compress Determines if the compression function is called while the scene is loading Value Description 0 When the text based configuration file is loaded ins a compressed version is not generated 1 When the text based configuration file is loaded a binary version is generated inb If an inb file for this scene already exists this is loaded instead of the text based configuration a Note If the definition of a scene is altered the previously generated binary file inb must be deleted on the memory card of the PCAN MiniDisplay so the loader sees that a new binary must be created from the text file If you do not de
30. perties at a Glance 5 1 2 Scope of Supply 6 2 Connectors 7 2 1 jJ1 External Buttons 7 2 2 J2 System 8 2 3 J3 USB 8 2 4 J4 JTAG 10 2 5 J5 microSD 10 2 6 J6 Serial 11 3 Scene Definition 12 3 1 General Description of an ins File 12 3 2 Example of an ins File 13 3 3 Using Several Scenes 14 4 Steps to Operation 16 4 1 Prerequisites 16 4 2 Preparing the Memory Card 16 4 3 Powering On the Device 17 4 4 Menus 18 4 5 Setting the Startup Options 19 5 CAN Tracing 21 5 1 Recording CAN Traffic 21 5 2 Playing Back Recorded CAN Traffic 22 5 3 Using the Recorded CAN Traffic on the PC 23 6 Filtering the CAN Traffic 26 3 PCAN MiniDisplay User Manual Menu Reference for Settings and Maintenance 1 Device Settings 2 Internal Statistics 3 7 7 7 7 Memory Card 8 Technical Specifications Appendix A CE Certificate Appendix B Dimension Drawing Appendix C File Structure on the Memory Card Appendix D Definition Files Reference D 1 Scene Definition ins D 2 Scenes Project File inp D 3 CAN ID Filters f1t Appendix E Model with Casing E 1 Scope of Supply E 2 Push Buttons E 3 Connectors System 27 27 29 30 31 32 33 34 35 35 53 54 57 57 58 58 PCAN MiniDisplay User Manual System 1 Introduction The PCAN MiniDisplay is used as human machine interface for the visualization of CAN data For the connection to the CAN bus it has a High speed and a Single wire CAN connector The gr
31. play directory including all subdirecto ries and files from the provided DVD to the root directory of the memory card The MiniDisplay directory is located on the DVD under the following directory Tools PCAN MiniDisplay MemoryCard For additional information see Appendix C File Structure on the Memory Card on page 34 Copy one or several scenes that you have created previous ly see 3 Scene Definition on page 12 into the following directory MiniDisplay Scenes At delivery the PCAN MiniDisplay is configured to auto matically show the following scene at power on MiniDisplay Scenes Default Default inp If prepared in a PC remove the microSD memory card from it and insert it into the slot of the PCAN MiniDisplay Powering On the Device The PCAN MiniDisplay is powered on by applying a supply voltage in the range of 7 to 30 V DC to connector J2 The device starts up automatically If not altered after delivery the PCAN MiniDisplay shows the scene with the name Default inp 17 PCAN MiniDisplay User Manual Ls System If the supply voltage has been applied before and the device is off by using the corresponding menu entry it can be started again by activating the Down input on connector J1 For details about the connectors see chapter 2 on page 7 4 4 Menus The PCAN MiniDisplay provides a user interface with menus in order to change the setup of functions The navigation is done via the digital inputs of conn
32. r file to the memory card of the PCAN MiniDisplay into the MiniDisplay directory Use either a USB connection from your PC to the device don t forget to disconnect after copying or use a card reader with your PC 3 If you have named your filter file Default f 1t and use the device settings from delivery no further steps are needed Else go on with the next step 4 Onthe PCAN MiniDisplay navigate to and there select either filter for High speed CAN channel or filter for Single wire CAN channel 5 Select the previously created filter file 1t 6 Use i or BERBERA to apply the changed settings 26 PCAN MiniDisplay User Manual System 7 Menu Reference for Settings and Maintenance 7 1 Device Settings Here you specify the settings for the connection to a CAN bus and those for the use of the device When you have changed settings save them permanently with E f you want to use the changed settings only temporarily during the current session click lox A subsequent session after an off on cycle uses the initial settings again 7 1 1 Detect CAN bitrate If the bitrate of the CAN bus connected to the PCAN MiniDisplay is unknown the device 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 7 1 2 CAN bitrate Selection from a series of CAN bi
33. r maxraw OR maxval maxval Maximum physical value value from CAN bus after scale offset calculation with internal data type float 32 bit Any larger value is limited to this value Use either maxval OR maxraw minraw Minimum raw value value from CAN bus before scale offset calculation with internal data type float 32 bit Any smaller value than this is raised to this value Use either minraw OR minval minval Minimum physical value value from CAN bus after scale offset calculation with internal data type float 32 bit Any smaller value is raised to this value Use either minval OR minraw vartype Datatype of variable as extracted from the raw CAN data 45 PCAN MiniDisplay User Manual System Value Description 0 unsigned integer 1 signed integer 2 float 32 bits vartype 1 A signed integer variable with an assumed bit length of 8 has a value range from 128 to 127 datatype After reading a value from the raw CAN data and further calculation with scale offset the resulting value is stored according to this keyword Value Description 0 unsigned integer 1 signed integer 2 float 32 bits vartype 2 The value is internally stored as a float value This is useful if the value is to be displayed as a fractional number see labels Example of a variable variablel name odometer canid 0x250 position 8 16 frametype 0 byteorder 1 scale 1 5 offset 0 vartype 0 minval 3 maxval 99999
34. restore Same as no_restore above but with inverted logic transparency Defines whether transparency areas must be considered while drawing Value Description 0 A sequence will be drawn not regarding the background This is used when the background is part of the sequence 1 While loading the ins file every single picture is recalculated with the background Therefore instrumentO must be defined with a global background picture as only item with keyword no_restore 1 There are 2 options available for the recalculation a The picture has a transparency color RGB value 255 0 255 b The picture has an alpha channel The alpha channel is defined by a separate grayscale bitmap The grayscale values define the transparency of the foreground picture RGB value 255 255 255 foreground picture is available to 100 no part of the background can be seen RGB value 127 127 127 foreground is available to 50 and 50 of the background can be seen RGB value 0 0 0 no foreground picture is available 100 of the background picture can be seen transparency 1 offset All pictures from the picture list of this instrument will be moved in x and y direction offset 1 parameter x offset range 0 319 2 parameter y offset range 0 239 offset 100 50 39 PCAN MiniDisplay User Manual System background Defines an individual background picture for this instrument Value Description
35. rojects Traces For further use you must convert the data in an appropriate format The Windows program PEAK Converter is supplied on the DVD and on the memory card of PCAN MiniDisplay for this purpose 23 PCAN MiniDisplay User Manual z oe O_O File Help Source File Info Path IAPCAN Diag Projects FW Test_148 trc00045 btr Select Source File Format PCAN Router Binary Trace Version 3 0 Destination File Info Path I PCAN Diag Projects FW Test_148 Select Destination Path Name Converted tre00045 Pie Nme opiana Include Date and Time Format PCAN Trace x Version v1 1 Single Channel x Ready To Convert Possible conversion targets Target format User interface of the PEAK Converter File extension Explanation usage PCAN Trace Ern 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 MiniDisplay we recommend using the format version 1 1 because the recordings of the PCAN MiniDisplay only have one channel and because this format version is usable in all programs from PEAK System Vector ASC Trace aSc Text based trace format by the Vector company that also can be used by some third party programs Character Separated Values CSV CSV Common text based format for import into a spreads
36. s only on request of PEAK System s technical support 29 PCAN MiniDisplay User Manual System Firmware updates bin can be placed in the MiniDisplay Firmware directory on the 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 MiniDisplay 7 3 Memory Card The PCAN MiniDisplay has functions to show directories and bitmaps from the memory card Q Note The PCAN MiniDisplay 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 from instruments Click on a bitmap to view it click again to leave the bitmap view 30 PCAN MiniDisplay User Manual System 8 Technical Specifications Power supply Supply voltage Current consumption Display Type Resolution Active area Memory card Type Max capacity File system Name of the USB device CAN busses CAN 1 CAN 2 Measures Size Weight Environment Operating temperature Temperature for storage and transport Relative humidity EMC 7 30VDC 135 mA at 12 V typical a Si TFT active matrix 320 x 240 pixels 57 6 x 43 2 mm W x L m
37. secutive numbering by the internal counter Place files for updating the firmware here 34 PCAN MiniDisplay User Manual System Appendix D Definition Files Reference The keywords of the following definition files are described in this appendix D 1 Scene Definition ins below D 2 Scenes Project File inp on page 53 D 3 CAN ID Filters flt on page 54 D 1 Scene Definition ins The following describe all available keywords for a scene definition They are written into a ins file and structured in sections Section names are indicated by square brackets e g global Entries each are put into a line containing a keyword with an equal character no spaces and the assigned value D 1 1 global Section format At this time only type 1 is supported format 1 bitrateO bitratel Determines the bitrate of the High speed CAN channel bitrateO and the Single wire CAN channel bitrate1 If these keywords are omitted the bitrates defined in the DEARER IAETH Menu are valid RJ at delivery If a scene with a defined bitrate is closed that bitrate stays active 35 PCAN MiniDisplay User Manual System a Note During the device s startup the bitrate defined in the menu is active for a short time before the bitrate for the scene is enabled Possible bitrates in kbit s 1000 800 500 250 200 100 95 83 50 47 33 20 10 bitrate0 250 bitratel 20 instruments Count of instru
38. trates 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 Sse AVE r setting If using Single wire CAN channel A higher bitrates as the CAN standard provides max 100 kbit s can be selected However this leads to a warning and a non working CAN communication 27 PCAN MiniDisplay User Manual System 7 1 3 Listen only mode If you want the device to not affect the traffic on the CAN bus i e use it as pure monitoring tool the Listen only mode must be acti vated ee The device will neither acknowledge nor transmit CAN error frames 7 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 analog to those of a SJA1000 CAN controller operating at 16 MHz clock frequency 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 i ea Q Tip For easier determination of the register values the provi 2 ded DVD 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
39. ust be performed to reset the CAN controller z The CAN channel operates in listen only mode This is enabled in the device settings see section 7 1 3 on page 28 4 5 Setting the Startup Options The main menu entry BESSAN gives the possibility to set up the behavior on power on BD Do the following to display a scene at startup Note At delivery the PCAN MiniDisplay is configured to start a scene called Default inp 19 PCAN MiniDisplay User Manual 3 4 System Click SES From the displayed directory structure select a scene ins or a project inp that is to be shown at startup In the Startup menu the selected file is indicated in the bottom status line Select the checkbox on the right and set the marker i Click B8 DB Do the following to start tracing at startup 1 To the right of ittad Select the checkbox and set the marker Bi At OEN enter the period of time for stopping the tracer if no CAN message is received The RE entry leaves the tracer running Click By 20 PCAN MiniDisplay User Manual System 5 CAN Tracing 5 1 Recording CAN Traffic gt Menu item PERETE With this function the whole incoming CAN traffic including RTR frames and error frames is recorded to a trace file on the memory card of the PCAN MiniDisplay Also the timing is regarded a Note CAN tracing is only applicable to CAN channel 1 High speed CAN Later a trace file file name
Download Pdf Manuals
Related Search
Related Contents
Minka Lavery 8840-94 Installation Guide GDB-03 Demo Module User Manual - ZAM SERVICE MANUAL Catalogue installation entretien pompes série 2630 Valueline VLMP39900U mobile device charger Manuale di installazione di KFP-CX3 Samsung NP915S3GI User Manual (Windows8.1) Copyright © All rights reserved.
Failed to retrieve file