Home
CAN Key Docu
Contents
1. 2 2 PC connection via USB If the so called Sleep mo de is activated on the PC problems may arise when attaching or detatching the adapter see Problem survival guide on page 16 It does not matter if STP is installed before or after the initial connection of the CANKey to the PC Never theless the CANKey must be installed before the first activation of STP 8 e Setup for Operation This is the preferred method of attaching the adapter to the PC Only if your PC has no available USB port the serial interface option should be chosen see PC connection via RS 232 on page 12 The USB interface provides a feature called Plug amp Play i e the adap ter can be attached without shutting down the PC for first time installa tion we recommend to shut down the PC anyway see below If the adapter has been attached successfully it should remain connected to the PC permanently LPT1 USB E COM1 COM2 Fig 5 CANKey connection via USB For the first time connection of the CANKey adapter to the USB port a driver software has to be installed This happens right after the attach ment of the adapter to the PC i e no software has to be installed before this action To do this simply follow the steps given below the setup dialogues differ depending on the Windows version you are using the ge
2. Users Manual for PC CAN Adapter CANKey Installation and Setup CE 2004 2011 by Dipl Ing Ewald Sperrer Software Entwicklung License agreement Note Revisions Author Trademarks Copyright By the purchase of the CANKey adapter the buyer or user of this product does not obtain any copyrights patent rights or duplication rights on this product and on any accompanying accessories including software and documentation Software that is part of this product as well as this documentation may be passed to others only in its original condition When passing this product to others all parts of 1t including this manual has to be included All rights software and documentation remains in any case with the author The sale and commercial use of this software and documentation without written permission of the author is prohibited The use of the software contained or supplied with this product either stored on data media or programmed in CPU s is only allowed in conjunction with the product itself This manual as well as the hardware module CANKey also called adapter was produced with great care Should you have any comments corrections or suggestions to the manual or the adapter please forward them to the address given below When operating this unit please follow the relevant safety rules No guarrantee or restitution for damage or subsequent damage caused by this product will be made The use of this pro
3. as featured in the Zimo price list is not necessary nor suitable for the CANKey adapter 6 e General Notes User manual for PC CAN adapter CANKey 2 Setup for Operation 2 1 Connectors and indicators The CANKey adapter features three connectors and three visual indica tors LEDs On the front side there is the connector for the serial inter face RS 232 9 pole SUB D socket on the sidepiece there is the USB connector type A and on the back side the connector for the Zimo CAN bus 6 pole Western socket is located Status and error LED Data reception from PC Data reception from CAN bus Fig 4 Connectors and indicators of the CANKey adapter Note The adapter can only by attached to either a serial or an USB port of a PC If both connections are available on the computer the USB in terface should be preferred On the top side of the adapter three light emitting diodes LEDs are present to indicate its state They have the following meaning Color Type Meaning e O red blinking gt 10 sec Adapter is waiting for interface selection USB or serial blinking 1 sec Adapter ready CAN bus comm deactivated blinking 3 4 sec Adapter ready CAN bus comm activated MN CET ET MN CN CET The following chapter will explain the connection options using serial and USB port in more detail User manual for PC CAN adapter CANKey Setup for Operation e 7
4. 20 CSA 32 4 15 D data traffic 14 detection 13 driver 4 5 8 11 13 19 K keyboard connector 3 5 12 L LED 8 10 12 15 18 P plug 3 5 7 12 19 20 power supply 3 5 12 17 20 power supply cable 5 12 20 Program Key 15 17 S setup 7 16 7 16 sleep mode 8 12 18 19 software 4 5 8 11 13 15 STP 4 5 8 U uninstall 11 Ww warranty 22 Western plug 5 6 9 11 12 19 User manual for PC CAN adapter CANKey Windows XP 9 Z Zimo 3 9 12 15 17 19 Index e 23
5. 2E 2E 2E 2E Initialization request PC answers 2A lt BR gt Initialization BR divisor for CAN baudrate 0x10 125 kBit sec 0x08 250 kBit sec 0x00 und OxFF are not allowed CANKey answers 2A Online mode CAN communication active this message will also be sent if the adapter has been in online Mode before 2F Unrecognized command protocol error User manual for PC CAN adapter CANKey Addendum e 21 3 3 Operating environment When operating the CANKey the following conditions and prerequisites should be observed e An outdoor operation or operation in humid environment is not allowed e Contact with splashing water or other liquids has to be avoided e The adaptor should not be used in an environment containing combustible gases or fumes e Ifthe adapter has been in contact with moisture i e condensed water after drying it has to be checked by a qualified techni cian before it can be operated again e When operating the adapter the nominal voltage ranges for the power supply as well as for input and output signal levels have to be adhered to e The ambient temperature must be in the range of 0 to 40 C 32 F 100 F e Operation of the adapter by a minor has to be supervised by an knowledged adult or a technician Please note that by not obeying these notes the implied limited warranty for the product will be void 3 4 Limited warranty conditions 22 e Addendum We provide a limited wa
6. as well as the reception of data from the CAN bus and the transmission of commands from the PC are indicated by differently colored light emmiting diodes LEDs on the case of the adapter 1 3 Areas of usage The main usage of the CANKey is the connection of the Zimo Digital Command Control system to railroad dispatching software on a PC such as STP Although the base unit of the Zimo system is equipped with a serial interface for the connection to a PC specific command types and messages are only available via CAN bus Additionally the CAN bus data transfer speed of 125 kBit sec is faster than the serial interface and data transmission over the CAN bus is handled in a more secure way Additional information for Also the connection of CSA 32 modules which allow in conjunction the CSA 32 modules can be with the lamp driver module PLV 32 and the pushbutton module PTP found in the STP manual 64 the connection of an external dispatcher table is handled over the and the CSA 32 instruc CAN bus tions Before the CANKey was avaialble STP was delivered with a program protection device Program Key to be attached to the PCs parallel printer port This functionality is now also covered by the CANKey which implies that the CANKey has to be attached properly to the PC before STP can be activated for details see Setup for Operation on page 7 Ther serial number of the For the usage with STP the CANKey is required to have a serial n
7. circumstances 1 5 Package contents The CANKey adapter is delivered as fully assembled module with the following accessories depending on the module type Count Description Remark fr fomo OOOO Power supply cable only for serial version 1 USB connection cable 2 x only for USB version plug type A 1 STP update CD or driver CD contains the driver software and a depending on the order test program For easier identification of the items here an image of the supplied con nection cables Fig 2 Power supply connector for operation via serial PC port RS 232 The power supply cable is only necessary if the CANKey is attached to the serial interface COMx of the PC It will be inserted between the keyboard plug and the PS 2 keyboard connector of the PC If the PC employs a DIN socket for the keyboard connection an adapter has to used not included Note The USB plug of the power supply cable only serves to provide electrical power to the module it furnishes no USB data connection User manual for PC CAN adapter CANKey General Notes e 5 Fig 3 USB connection cable Please note also that no specific connection cable to the Zimo CAN bus is delivered with the adapter The standard Zimo CAN bus cables as used to connect the Zimo components among each other featuring the 6 pole Western plug can be used Note The connection cable for the attachment of the Zimo system to CAN adapters produced by Peak System
8. is slower than when the adapter is just attached to the PC When data from the CAN bus is re ceived the green LED should blink when data from the PC is sent the yellow LED should blink When the online mode is deactivated the red LED should blink with a very low frequency 1x sec 2 6 Problem survival guide 16 e Setup for Operation If the adapter does not work as expected here some tips to make the location of troubles somewhat easier If the red LED does not light up flash when powering up the adapter detach the adapter from the PC immediately shut down the PC turn it off and execute the following checks e Is the module correctly connected to the PC see PC connection via USB on page 8 resp PC connection via RS 232 on page 12 e When connecting the adapter via USB it is possible that the CANKey does not always start up correctly i e all LEDs remain dark but an acoustical sign reports that an USB device User manual for PC CAN adapter CANKey has been attached to the computer in this case detach the adapter from the PC wait 3 seconds and then re attach it again the computer does not have to be shut down in this case e Is the Zimo CAN bus disconnected from the adapter when do ing a first time installation e If connecting the adapter to an USB hub Is the power supply of the hub turned on e Does the problem also occur if the adapter is connected to a different port i e COML instead
9. of USB COM2 instead of COMI etc F A Q Frequently Asked Questions F STP does not start and the message Program Key not detected comes up A Check if the CANKey adapter is connected and working properly If yes try to start STP with an old Program Key if available and follow the steps given in chapter Integration with STP on page 15 If you have connected the CANKey to a serial port using an extension cable check if all 9 wires of the cable are connected 1 1 F After powering up the adapter for the first time the LED does not flash but is constantly on and or the yellow or green LED is lit blinks A Shut down the computer and disconnect the module Check all con nections and restart the computer Remove on a trial basis the Zimo CAN bus cable If the problem persists contact the manufacturer with an exact explanation of the problem F The adapter seems to work properly according to the LED indica tors but no data is transmitted over the CAN bus A Check if the CAN bus cable to the Zimo system is attached properly and that it shows no defects Shut down the computer and the Zimo system and restart both without attaching the CAN bus cable to the CANKey Attach the CAN cable just before activating Online mode in STP It could also be necessary to remove the ground connection within the the CAN cable to the adapter see Technical specifications on page 19 F When starting STP I get an error me
10. or the software integrated into or delivered with the product for commercial use without written permission of the author is prohibited Contents 1 General NOS aaa a 3 TL Safety IMStTUCHONS usina 3 1 2 Functionality of the adapter isc irrita diese 3 13 Ave as OF USAR itv ia 4 14 PrerequisileS ida ias 4 a RA E aemi dasa oa E raS RA E A 5 2 Setup for Opera A lis 7 2 1 sConnectors ADO MIC A A A A As 7 22 PC COMMECHON Via USB A A dile a thon ds 8 2 3 PE conection via RO 2 Li A ia 12 2 4 First time operation test using CANTIgUrAtOT ooooocnocnnonnnoncnoncnnnoononononnnonn nono nnnn cnn nn nono no non ran cnn cnn enn n enano nn ncnccnnccnnins 13 2 3 Integration WIth STP tii diia ai 15 2 0 Problem survival g lden eoo erar eara rE A le aud 16 Ee Kood aTo IUT a Aea TT T A T 19 3 Technical SpeciticatOns dt ad ld sd o o as ld e T 19 3 24 Data transmission protocol a 20 AS RA n A A E cones desssedeavachaubaueuGaeed se vasteava neviseey EEE A 22 zA Limited Warranty OO OS E A A A A EE ESETA 22 O AAA 23 User manual for PC CAN adapter CANKey Contents e i This page was left blank intentionally ii e Contents User manual for PC CAN adapter CANKey 1 General Notes 1 1 Safety instructions For other countries their respective regulations and safety guidelines apply When working with products that can come in contact with electric vol tage the applicable safety regulations have to be obeyed For Austria these are in
11. particular VDE 0100 VDE 0550 0351 VDE 0700 VDE 0711 and VDE 0860 resp OVE EN 1 OVE E 8001 OVE EN 60 742 Please keep this instruction manual in a safe place for future reference If you hand over this CANKey also called adapter in the following con text to other persons make sure to include this manual Additionally please note the following safety guidelines e Only use the module for the purpose for which it is intended and check that it has been installed correctly If in doubt consult a professional expert or ask the manufacturer of the adapter e Operation of the adapter is only admissable in the supplied case The adapter is not suitable for open air operation e Examine all external wiring before attaching for breaks or insu lation failure Repair all defects immediately before connecting to the adaptor e Opening of the adapter is only admissable for trained experts with appropriate specialized knowledge Opening the adaptor by the use will void the waranty e When setting up electronic components install them according to the specifications given in the manual supplied with the equipment e Please note that operation or connection errors are out of our scope of influence and we cannot take over any liability for resulting damages e All semiconductors especially ICs are susceptible to static dis charge Make sure your body is not electrically charged by tou ching a metal body first e g a copper water p
12. the CD has laready been inserted 12 Now the Zimo CAN bus can be attached by inserting the Wes tern plug of the CAN bus cable into the proper socket of the adapter User manual for PC CAN adapter CANKey Setup for Operation e 9 10 e Setup for Operation Setup for Windows 7 64 bit 1 2 Shut down your computer and turn it off mains switch Switch on the computer and start the Windows operating system Connect the CANKey to a free USB port of the PC or an USB switch hub using the supplied USB interface cable the Zimo CAN bus should not yet be connected The red LED of the CANKey should start flickering right after the startup of the PC if this is not the case shut down the com puter and repeat the last three steps A window appears notifying of a newly detected device STP USB CANKey for which no driver software has been installed click on Close ee a yt ae A are ee ee ae AS wer LL Driver Software Installation a Device driver software was not successfully installed STP USB CANKey J No driver found You can change your setting to automatically search Windows Update for drivers Change setting What can I do if my device did not install properly Close Open the Windows Device Manager Start Control Panel Hardware and Sound Device Manager SSSR SBT SSS TTT OT Es Device Manager olas Elle Action View Help 9 SIDI te ero 2 WIN OSOES41B08K Y Batteries
13. to pin 1 and 4 of the USB connector see also PC connection via RS 232 on page 12 3 2 Data transmission protocol 20 e Addendum All data telegrams with the exception of the initialization telgram have the structure lt command byte gt lt data byte gt where the command byte can be recognized by a hexadecimal 2 in the upper half byte Data bytes must not contain command bytes so all data bytes in the range 0x20 Ox2F are prefixed by an 0x2E byte escape and the 5 bit of the data byte will be set to 0 After reception the 0x2E byte is removed and the 5 bit will be set again The 0x2E byte is not considered for all length calculations Note For data sent from the CAN Key to the PC this is only true for CAN data telegrams not for other answers to the PC The data communication is initiated from the PC i e the PC sends the CANKey answers except for received CAN telegrams in Online mode in this mode the CANKey sends every received telegram to the PC im mediately and after a reset of the CANKey the adapter then sends an INIT request to the PC Online mode CAN active PC sends 2E 2E 2E 2E 2A lt BR gt Initialization BR divisor for CAN baud rate 0x10 125 kBit sec 0x08 250 kBit sec 0x00 and OxFF are not allowed CANKey answers 2A Online mode CAN communication is active this message will also be sent if the adapter has been in Online mode before 2F Unrecognized command protoco
14. A in sleep mode Ambient temperature 0 60 C 32 F 140 F Max rel humidity 85 PIC controller Microchip PIC18F248 CAN line driver PCA82C250 or 82C251 Serial line driver ICL3222 Clock frequency controller 32 MHz 8 Mhz Quartz x 4 PLL HS4 USB interface chip FTDI FT232BM Pin layout for Zimo CAN bus plug Pin 123456 Fig 7 Pin layout for Western plug Zimo CAN bus Power supply from base unit approx 40V Ground shield CAN_L CAN_H Ground SS signal for old Zimo data format 2 Pin not connected inside of CANKey adapter Pin assignment of serial CANKey connector Pin CANKey assignment RxD serial data reception TxD serial data transmission DTR Data Terminal Ready PC notifies CANKey to use the User manual for PC CAN adapter CANKey Addendum e 19 serial interface and not USB GND ground RTS Request To Send data synchronisation line 8 CTS Clear To Send data synchronisation line Important To indicate the CANKey whether to use the USB or the serial interface the PC has to set the DTR line pin 4 to logical 1 if the data transmission should be done using the serial connection RS 232 Pin layout for CANKey USB connector 1 left i e facing toward the RS 232 conn 5V supply The power supply cable which is used when connecting the CANKey to the serial port RS 232 of the PC gets the 5V supply and ground from the keyboard feed and connects it
15. J Computer ca Disk drives EX Display adapters 3 DVD CD ROM drives i Floppy disk drives eE Floppy drive controllers 5 Human Interface Devices Gq IDE ATA ATAPI controllers Keyboards PY Mice and other pointing devices W Monitors a Network adapters 4 jp Other devices lj STP USB CANKey 17 Ports COM amp LPT B Processors x Sound video and game controllers lt gt Storage controllers MS System devices Universal Serial Bus controllers Click on the STP USB CANKey entry using the right mouse button and select Update Driver Software from the menu which will appear Select Browse my computer for driver software in the next window select your CD DVD drive letter in the following window insert the setup CD of your software product i e the STP installation or update CD into your CD DVD drive and click at Next if the STP installation procedure should be starting in the background you can simply close it A note will appear that the driver to be installed is not signed Click at Install this driver software anyway User manual for PC CAN adapter CANKey E Windows can t verify the publisher of this driver software Don t install this driver software You should check your manufacturer s website for updated driver software for your device Y Install this driver software anyway i Only install driver software obtained from your manufacturer s website or disc
16. P CANKey is also used for license verification it has to be installed and operational before STP can be started see also under First time operation test using CANfigurator on page 13 STP checks during program start if the CANKey is present and will show an error message Program Key not detected if this is not the case STP has to be configured properly to access the CANKey at all If STP is installed from scratch and the CANKey is attached to the USB port this is not a problem because this matches with the defaults of STP after a fresh installation If an update from a previous version has been made STP should first be started with the old Program Key as before After proper setup explained below and saving of the configuration the Pro gram Key can be removed the PC should be shut down before Important nore for a fresh installation of STP When the CANKey is attached to a serial PC port i e not using USB you must set up the CANKey before using the CANfigurator software see Saving of the configuration on page 14 To configure an already existing updated version of STP for usage of the CANKey proceed as follows 1 Install the CANKey in an availabe USB or serial port of your PC see previous chapter the red LED on the CANKey should flicker rapidly User manual for PC CAN adapter CANKey Setup for Operation e 15 2 Install the new STP version delivered with the CANKey if newer than your current ve
17. Unsigned software from other sources may harm your computer or steal information v See details 10 After some time a message about the end of the installation pro cess will be shown click at Close 11 The Windows Device Manager will now show a second new device USB Serial Port which has to be installed in the same way repeat steps 7 10 for step 8 the CD is already inserted Es Device Manager coef is File Action View Help A meP N5 A Display adapters E DVD CD ROM drives ce Floppy disk drives 3 Floppy drive controllers 1 Human Interface Devices Gq IDE ATA ATAPI controllers Keyboards Fl Mice and other pointing devices W Monitors KP Network adapters 4 b Other devices Lin USB Serial Port 17 Ports COM amp LPT B Processors x Sound video and game controllers lt Storage controllers l System devices 4 Universal Serial Bus controllers Generic USB Hub Intel R 82371AB EB PCI to USB Universal Host Controller Standard Enhanced PCI to USB Host Controller STP USB CANKey USB Composite Device USB Root Hub USB Root Hub m 12 Now the Zimo CAN bus can be attached by inserting the Wes tern plug of the CAN bus cable into the proper socket of the adapter Unistallation of the STP CANKey driver To uninstall the driver which normally should not be necessary open the software inventory of the PC Start Settings Control panel and then click at the So
18. duct is done at one s own risk Any warranty will be void if this manual isn t strictly followed We cannot guarrantee that this module works with every hardware and software combination due to the large number of possibilities After inspecting this product you as end user or licensee respectivly will accept it as is Nevertheless the manu facturer grants a two years limited warranty for the adapter and the data media for parts and labour starting with the purchase date Any deficiencies that do not reduce the suitability or usability of this product remain out of scope of this warranty The manufacturer is liable only for errors due to gross negligence or intent In any case the liability is limited to the value of the product itself The manufacturer reserves the right to change the product as well as the accom panying software and documentation at any time and to deliver modified products First edition V1 0 November 2004 First english version V1 0 March 2005 First revision V1 1 November 2006 Second revision V1 2 April 2007 Third revision V1 3 January 2011 Dipl Ing Ewald Sperrer Software Entwicklung Weifienberg 23 A 4053 HAID OSTERREICH WINDOWS MS WINDOWS Vista and MS DOS are brand names of Microsoft Corp All other product or company names are brand names or copyright protected by the respective manufacturer 2004 2011 by E Sperrer All rights reserved The copying of this documentation
19. ection the adapter type along with version informa tion of the firmware as well as the driver will be shown User manual for PC CAN adapter CANKey Setup for Operation e 13 The PCAN ISA adapter by Peak System has to be con figured manually in any case because an auto detec tion is not possible for this adapter type 14 e Setup for Operation w Progress xj CAN adapter detected CANKey USB CANKey driver rel 1 0 firmware rel 1 0 Click at OK to close this window If the adapter was not recognized au tomatically the configuration can also be done manually as described in the next step Saving of the configuration for usage with STP Now open the Options dialog window by selecting Tools Options from the menu In the Options window the detected adapter type will already be pre selected is CAN Adapter Options E x CAN Adapter Configuration CAN adapter type PCAN ISA adpater Comm port 0 C PCAN Dongle 1 0 address 0000 C PCAN Dongle Pro Baudrate PCAN PCI adapter 115 KBit sec PCAN USB adapter 5G KBit sec C CANKey serial G Save CANKey USB configuration Cancel If the adapter has not been detected automatically in the previous step you now can select the proper adapter type manually Depending on this adapter type it may be necessary to enter additional information at the right side of the window e g for the serially connected CANKey the numbe
20. ftware icon and look for the entry FTDI FTD2XX xxx Drivers xxx is a different text depending on the current driver version Click at Change Remove and in the window that will appear at Continue and then Finish Note that the CANKey has to be detached from the PC before performing this operation Alternatively the driver can be removed by uninstalling the STP CAN Key device from the Windows Device Manager under Ports and under USB devices When attaching the CANKey the next time a new driver setup accor ding to the procedure given above has to be done User manual for PC CAN adapter CANKey Setup for Operation e 11 The verify the functionality of the CANKey please follow the steps given under First time operation test using CANfigurator on page 13 2 3 PC connection via RS 232 When using this connection For the installation of the CANKey adapter to a serial interface no driver type no sleep mode should setup has to be done However the adapter should only by attached and be activated on the PC detached when the PC is shut off completely Fig 6 CANKey connection via serial PC port The connection of the adapter to the seriel port should be done in the fol lowing manner 1 2 Shut down your computer and turn it off mains swi
21. ipe Wearing a ground strap or working on a ground mat is highly recommen ded 1 2 Functionality of the adapter The Zimo digital command control system is equipment for operating a model rail road It uses the CAN bus for communication with throttles accessory and track section modules etc The CANKey adapter serves as connection between a PC and the com ponents of the Zimo digital command control system using Zimo s CAN bus It can be attached to any usual PC using the serial or the USB port USB V1 1 V2 0 or V3 0 In the first case the power supply of the adapter is done via the PC s keyboard connector using the supplied splitter cable in the second case power is obtained directly from USB The adapter is the same for both options only the connecting cables differ User manual for PC CAN adapter CANKey General Notes e 3 CAN bus Dispatcher HH H MX9 MX8 panel conn MX1 MEN E Computer MXDS MX8 Radio Infrared Fig 1 Context of the CANKey adapter in the Zimo DCC system The adapter transfers all commands sent over the CAN bus telegrams to the PC and can also transmit commands coming from the PC to the CAN bus The proper operation of the device
22. ke correctly after sleep mode it should be sufficient to unplug the adapter for a short period and to re connect it again Please note that the CANKey will be uninitialized after sleep mode so if Online mode was active before entering sleep mode the Online mode has to be stopped and re entered after awaking from sleep mode because otherwise the CAN bus communication will not work properly It is recommended not to put the PC in sleep mode while STP Online mode is active F When attaching the Zimo CAN bus cable to the CANKey the red status LED goes off and the CANKey cannot be accessed any more A The CANKey is susceptible to static electricity ground loops and voltage differences between PC and digital command system Unplug the CANKey from the power supply in this case remove the plug from the USB socket of the adapter and re insert it again The red LED should start flickering again if not repeat the process If the problem should appear more frequently it is recommended to start up the digital command system before turning on the PC and to establish the connec tion PC CANKey and CANKey Zimo CAN bus before switching on these systems User manual for PC CAN adapter CANKey 3 Addendum 3 1 Technical specifications Adapter dimensions approx 80 x 42 x 20 mm 1 4 x 1 8 x 13 16 without socket extensions else 85 x 50 mm Supply voltage SV DC via USB or PC keyboard connector Power consumption 90mA 400u
23. l error Offline mode CAN inactive PC sends 2A 00 User manual for PC CAN adapter CANKey CANKey answers 29 CANKey is now in Offline mode i e no more data is send to the PC spontaneously 2F Unrecognized command protocol error Status request PC sends 2A FF CANKey answers 2A Online mode CAN communication active 29 Offline mode CAN communication inactive 2F Unrecognized command protocol error Send CAN telegram only in Online mode PC sends 2 lt x gt lt IDH gt lt IDL gt lt D0O gt lt x gt Length of the remaining bytes 0 8 without ID lt IDH gt lt IDL gt High byte bit 11 8 and low Byte bit 7 0 of the CAN Id lt D0 gt data byte 0 lt D1 7 gt data byte 1 7 Ex CAN telegram ID 78 DO 12 D2 34 PC command 24 00 78 12 34 CANKey answers 2F Command not recognized serial overflow or unable to send CAN command even after retry 8x 29 CAN command has been sent CAN telegram received only in Online mode spontaneous CANKey sends 2 lt x gt lt IDH gt lt IDL gt lt DO gt lt x gt Length of the remaining bytes 0 8 without ID lt IDH gt lt IDL gt High byte bit 11 8 and low Byte bit 7 0 of the CAN Id lt D0 gt data byte 0 lt D1 7 gt data byte 1 7 Ex CAN telegram ID 123 DO 00 PC command 23 01 23 00 2C CAN overflow telegrams have been lost Init request from CANKey only in Online mode spontan CANKey sends
24. neral sequence is the same though The installation for Windows 7 64 bit is different it is described in the chapter afterwards Setup for Windows ME NT 2000 XP Vista and Windows 7 32 bit 1 Shut down your computer and turn it off mains switch 2 Connect the CANKey to a free USB port of the PC or an USB switch hub using the supplied USB interface cable the Zimo CAN bus should not yet be connected 3 Start the computer and activate the Windows operating system 4 The red LED of the CANKey should start flickering right after the startup of the PC if this is not the case shut down the computer and repeat the last two steps 5 During the startup of Windows a window will appear and notify you that a new hardware device was detected STP USB CAN Key 6 With some operatings systems Windows XP Vista Windows 7 if an internet connection is established a dialog will appear asking if a new driver should be loaded via internet In this case select the option No not this time and click at Next gt User manual for PC CAN adapter CANKey Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for STP USB CANKey k If your hardware came with an installation CD 42 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended O Install from a list or specific location Advanced Click Next to con
25. r of the COM port has to be entered i e 1 for COM1 etc if the detection was done automatically this information is already present To take over the settings shown here into the CAN adapter configura tion of STP click at the Save configuration button When doing so there is no need for the CAN adapter setup in STP Configuration Global interface setup The options shown here will then also be present again when the CANfigurator is started the next time Display of CAN bus data traffic The CANfigurator also allows you to monitor the data traffic on the CAN bus To do so click with properly configured adapter see pre vious steps at the Open CAN button zeit ID Len Daten 13 21 20 927 610 13 21 23 060 137 13 21 23 090 618 13 21 26 445 _ 13F 13 21 26 946 608 13 21 27 216 610 13 21 29 409 618 13 21 29 840 13F 13 21 33 215 _ 137 13 21 33 235 608 13 21 33 495 610 13 21 35 738 618 13 21 36 590 137 40 00 00 3E 40 43 03 3D 00 00 00 40 O0O00rno0o0o0Nno ro 40 After that all CAN bus data telegrams which are sent on the bus will be shown in the right part of the program window including their corres User manual for PC CAN adapter CANKey Only use this function when you are familiar with the internas of the Zimo CAN bus or you have detailled instructions what to do e g from the CSA 32 manual ponding time stamp The list will store the last 100 data telegrams Using the scrollbar at the righ
26. rranty for this product for two years The war ranty includes remedying of faults which can be unambiguously attri buted to faulty material or production faults We guarantee an operation of the adapter according to its characteristic quantities when installation as well as operation of the adapter is done according to the rules given in this instruction booklet Additional claims are excluded We do not assume any liability in excess to legal rules given by the national legislation We reserve to do a repair improvement substitute delivery or refund of the payment The right to claim under guarantee is void under the following conditi ons e for damages caused by non obeying the instructions or the con nection plan e when modifying or attempting to repair the adapter e when unauthorizedly changing the circuitry e for damages caused by overload of the adapter e when connecting the adapter to invalid voltage levels or current types or to unintendted interface ports even if they allow a mechanical and electrical connection with the adapter e for damages caused by manipulation from third parties e for invalid operation or damages caused by negligence or misuse e for damages caused by electrostatic discharge when touching parts of the adapter User manual for PC CAN adapter CANKey 4 Index A accessory 3 assignment 12 15 C CANfigurator 17 configuration 14 17 connection cable 5 6 12 connector 3 5 7 12 19
27. rsion and if you have not done so yet the CANKey is supported from STP V5 06 upward 3 Start the newly installed STP version do not forget that the STP Program Key should also be left attached 4 Open the Global Interface Setup dialog window Configu ration Global interface setup Global Interface Setup E xj Base Unit Ser computer connection yes no Base unit type M1000 MX1 N MX1 Z General stop on short circ yes no m CAN Bus Interface CC 4 aes enn Le CAN Dongle i COMA CAN Dongle Pro COM2 PCI card Double send C USB adapter no C only MX STPCANKey always Parallel Port Interface PS4 32 wire calibr constant fo Initialization PGA modules yes no Serial Port Interface Daten wait time fi 000 Data delay 2000 nterrupt fo fo fo fo Vector hex 10000 nitialization hex oo Max errors fc Save Cancel 5 Under CAN Bus Interface select the STP CANKey entry and on the right the port to which the adapter is connected USB COM1 COM2 COM3 or COM4 6 Click at Save If you previously have used the Program Key you may remove it after the next shut down of the computer Note that now the CANKey has to be attached to the PC before STP can be started To test if the adapter is working properly under STP activate STP s on line mode Control Online The red LED on the adapter now should blink with a frequency of 3 4 times sec this
28. s included with the CANKey After successful connection of the CANKey to a serial or a USB port you should check if the adapter works as intended For this purpose the CANfigurator software has been installed together with your model railroad control software If you should not have STP already installed on your computer or the version you are using is earlier than STP V5 06 please now insert the STP setup CD into the optical drive of your PC and install the software Instructions for the installation will be shown on screen or can be found in the STP manual Important note Because two programs are not allowed to access the CANKey simultaneously the model railroad control software and the CANfigurator software cannot be active at the same time If you then start the CANfigurator program when using STP this is Start Programs STP CANfigurator the following window will be shown a CANfigurator E iS 0 x File Tools Help _Find CAN Adapter CAN _Find CAN Adapter Open CAN eee A 12 04 2005 08 13 Detection of the CAN adapter First you should allow the program to detect any attached CAN adapter automatically Click at the button Find CAN Adapter and wait until the adapter is detected This auto detection functionality also works for CAN adapters from Peak System except for the Peak ISA card You may interrupt the detection process anytime by clicking at the Close button After successful det
29. ssage that the Program Key cannot be detected A Start the CANfigurator program and set the options for the CANKey properly or do an automatical adapter recognition Then click at Save configuration in the Tools Options dialog window For persistent errors the following procedure is recommended e Switch off computer e Switch off Zimo system e Remove connection between CANKey and Zimo system i e the CANKey remains connected to the PC via the USB or serial cable e Start PC e The red LED should blink now in a quick sequence e Attach CAN cable from the Zimo system e The red LED should continue to blink quickly e Startup STP e The red LED should now blink in a slower manner e STP has started User manual for PC CAN adapter CANKey Setup for Operation e 17 18 e Setup for Operation e Switch on the Zimo system e The red LED should continue to blink in a slow manner e Activate STP Online mode F When my PC restarts from sleep mode the CANKey does no longer operate properly there are problems when putting the PC into sleep mode What can I do A Unfortunately some computer operating system combinations have problems putting USB devices into sleep mode properly or restarting them after sleep mode If this problem should appear on your system it normally is best to deactivate sleep mode completely in the Windows System Management at least while using the PC for model railroad control If the CANKey does not awa
30. t you can browse through the list By clicking on the Close CAN button the protocol feature will be dis abled the recently received information will still remain visible though The list will be cleared when Open CAN is activated the next time Transmission of user defined CAN data telegrams To send data telegrams of your own e g for testing and parametrization of CSA 32 modules the CAN adapter must be accessible see previous step Open CAN Now click at the Send button to open the dialogue window shown below 10 E Len fa Data aa aa aa aa Send Cancel Enter the CAN telegram ID under ID and under Len the number of data bytes 0 8 to be transmitted In the data entry fields after Data the va lues for each byte of the telegram have to be entered all in hexadecimal notation By clicking on Send a CAN telegram with the given infor mation will be transmitted Telegrams that have been sent will be shown in a blue font in the protocol list see previous step The protocol func tions remain active also when the Send CAN Telegram window is present in the foreground If no further CAN telegram should be sent close the transmission win dow by clicking on Cancel 2 5 Integration with STP STP can also be started with the previously supplied STP Program Key This step may be omitted if the setup of the CANKey has been done using the CAN figurator software and the result has been saved Because the ST
31. tch Remove the keyboard plug from the PC and attach the power supply cable which was delivered with the CANKey instead of it to the keyboard connector PS 2 of the PC Connect the keyboard to the power supply cable Attach the power supply cable to the USB connector on the si depiece of the CANKey this only provides the power supply to the adapter Plug the CANKey with its RS 232 socket to an available serial port of the PC COM1 COM2 COM3 or COMA4 Turn on the PC the red status LED on the CANKey should start flickering 1f not turn off the PC immediately and check the connection cables Now the Zimo CAN bus can be attached by inserting the Wes tern plug of the CAN bus cable into the proper socket of the adapter You can leave the adapter permanently connected to the com puter Alternatively instead of the keyboard also the mouse can be connec ted via the power supply cable if it also uses a PS 2 plug for the con nection to the PC For all connecting and disconnecting operations of the CANKey the computer should be shut down and turned off before 12 e Setup for Operation User manual for PC CAN adapter CANKey 2 4 First time operation test using CANfigurator If the CANKey is to be used with another software product than STP the follo wing steps may be different If you should have ordered the CANKey together with STP or as supplement to an already existing STP ver sion a STP setup CD i
32. tinue 7 Now insert the setup CD of your software product i e the STP installation or update CD into your CD DVD drive and click at Next possibly the installation process will continue automa tically after the CD has been inserted in case no proper driver has been detected enter X as installation path X should reflect the drive letter of your CD ROM DVD drive 8 If Windows XP Vista or Windows 7 is used a note about an unverified driver will be shown this is OK so click at Continue Anyway Hardware Installation A The software you are installing for this hardware STP USB CANKey has not passed Windows Logo testing to verify its compatibility with Windows lt P Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing STOP Installation 9 After some time a message about the end of the installation pro cess will be shown click at Finish 10 On some Windows versions a message will be displayed that the new device can be used now 11 When newer Windows versions are used XP Vista 7 now a second new device will have to be installed Serial USB dri ver so the steps 6 10 have to be repeated step 7 is skipped as
33. umber CANKey is printed on the lower than 9500 higher serial numbers are intented for usage with soft enclosure ware products of other manufacturers Generally the CANKey is suitable to all types of CAN bus connectivity also outside of model railroading A brief documentation of the soft ware interface can be found in the addendum see under Data transmission protocol on page 20 1 4 Prerequisites To be able to use the CANKey the following prerequisites are neces sary e APC with an available serial port COM1 COM4 or available USB port USB V1 1 2 0 3 0 a low power port is sufficient i e max 100mA of power drain 4 e General Notes User manual for PC CAN adapter CANKey e PS 2 keyboard connector when attaching the CANKey via serial port e Windows ME NT 2000 XP Vista or Windows 7 e CD ROM or DVD drive e STP release 5 06 or higher or another software product with CANKey support for Windows Vista STP V5 11 or higher for Windows 7 or any 64 bit operating system STP 5 19 or higher e 6 pole Zimo CAN bus interface cable with Western plugs D This operating systems need special drivers to be able to connect USB equipment to the PC which are not part of this delivery An operation of the CANKey under Windows 95 and Windows 98 is not intended 2 These operating systems are supported in their 32 and 64 bit editions Note that 64 bit support is a new feature and has not yet been tested under all
Download Pdf Manuals
Related Search
Related Contents
x-OSC User Manual - x Mostrar - Service, Support DOCTERsight 00_Front Cover and Front Matters.fm Biostar I915P-A7 PCI-ED Owner's Manual HP L1940 User's Manual User Manual - e-Competence Management Makita AN611 Use and Care Manual Agilent E8311/12A 165/330 MHz Pulse and Pattern Generators Copyright © All rights reserved.
Failed to retrieve file