Home

User`s Manual - ICP DAS USA`s I

image

Contents

1. i USB Serial Driver Remover xj Remove driver successfully l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 18 4 Software Utility Users can download l 7565 Utility software from the ICP DAS web site http www icpdas com products Remote lO can_bus i 7565 htm or get this information from the ICP DAS companion CD ROM The l 7565 Utility tool can be used to configure the operation condition between the CAN and USB port communications Also it can be used to transmit or receive a CAN message for simple testing of the module s functions To start the l 7565 Utility please run the I17565 exe file The screenshot of the startup screen for this Utility is given in the below figure Connect the I 7565 s USB port with the PC s USB port via a USB cable Then the user can connect the CAN interface into the CAN network based on the CAN specifications For further information related to this please refer to section 2 3 of this manual on how to make a hardware connection 1 7565 Utility File Actions Help Tig Connect USB Parameters CAN Parameters Add Checksum gt CAN Specification Error Response CAN bus Baudrate o bit sec Acceptance Code Joooooo00 Hex Acceptance Mask Joooooo00 Hex ve Not connected Copyright c 2007 ICP DAS Co LTD Figure 11 l 7565 Utility l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _
2. 19 4 1 How to configure the module parameters The following procedure will guide you how to configure the communication parameters for the CAN and USB interface The configuration steps are depicted as below 1 Set the Init Normal switch to the Init position which is located at the back of the l 7565 module 2 Connect the USB cable into the l 7565 module 3 The l 7565 module s RUN LED will flash approximately once per second That means the l 7565 module is working in the configuration mode 4 The user must run the I 7565 s Utility software after they have made a wire connection between the PC and the l 7565 via the USB port 5 Click the Connect icon on the l 7565 Utility tool bar The setting frame will be popped up Select which virtual COM port will be used to connect to the l 7565 USB port as shown in the following figure Then click the OK button Settings PC s USB Settings Port COM1 X Timeout 500 ms Figure 12 virtual COM port setting 6 Then the l 7565 configuration window will be brought out The l 7565 Utility will show the communication information from the l 7565 module in the window as shown in the following figure l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 20 l 7565 Utility File Actions Help A Disconnect Exit About USB Parameters CAN Parameters Add Checksum No CAN Specification 204 l Error Response No CAN bus
3. 5 6 C CHK lt CR gt Description Clear the CAN USB FIFO overflows error flag on the module gt Syntax C CHK lt CR gt C Command character gt Response Valid Command No response This will turn the ERR LED off after the ERR LED was turned on as a result of the CAN USB FIFO overflow error flag Invalid command lt Error Code gt CHK lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command C lt CR gt l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 32 5 7 POOE3800SR CHK lt CR gt Description Change the USB configuration on the l 7565 module and then reboot the l 7565 module gt Syntax POOE300SR CHK lt CR gt POOE300 Command character S Checksum O No 1 Yes R Error Response O No 1 Yes gt Response A valid command will write the USB configuration parameters into the EEPROM and then reboot the l 7565 module Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command P00E30000 lt CR gt Set the USB no checksum and no error responses into the l 7565 module and then reboot the l 7565 module l 7565 USB CAN Converter User s M
4. The l 7565 USB CAN Converter User s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2007 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 1 Table of Contents T cee UT oid 9 9 Siesa ets ie ses ep rire E E ASEE NE 3 1 1 PS US ood esas etesscts ea nals ones AEA EANA EEA OENE teense 4 1 2 Specificato h Sos estates leet ba ci diaii aiii deine baat aii ia iaa 5 2 HardWa e er eee ra a Ee e Ea ape e Ee e Ee e Ea nape a aee eee 6 2 1 Block Dilaga E Batak ek E cee A 6 2 2 PINAsSSignmentasna na aa on a A A A A Aaa 7 2 3 Hardware COnMECH OMe seet areas esespetemaesateeien areas ane 7 2 4 Terminator resistor settings ccccsccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenaeees 8 2 5 Init Normal DIP SWIICN is
5. 5 Command list table Command Description tIIILDD CHK lt CR gt Send or receive a standard data frame TIIL CHK lt CR gt Send or receive a standard remote frame ell INNMILDD CHK lt CR gt Send or receive an extended data frame EIIIIININL CHK lt CR gt Send or receive an extended remote frame S CHK lt CR gt Read the status value of l 7565 C CHK lt CR gt Clear CAN USB FIFO error flag of overflow POOE300SR CHK lt CR gt Change the USB configuration P1B CHK lt CR gt Change the CAN configuration RA CHK lt CR gt Reboot the l 7565 module l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 25 5 1 tiIILDD CHK lt CR gt Description Send or receive a standard CAN data frame gt Syntax tilIILDD CHK lt CR gt t Represent a standard 2 0A data frame lll 11 bits Identifier 000 7FF L Data length 0 8 DD Input data frame value according to the data length 00 FF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command t03F6112233445566 lt CR gt Send a CAN message with a standard data frame ID 03F DLC 6 data1 11 data2 22 data3 33 data4 44 data5 55 and data6 66 l 7565 USB CAN Converter User
6. ae ee Pepe eee mer near ema ea 35 5 10 General Error code for all Command6 eeeeeeeeeeeeeeeeeteeeeeeees 35 Ds TROUDIES MOO GAG PEE dene detenehe nace nceedecenehe catenins sedevthecadesthesadeveietenen theres 36 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 2 1 Introduction CAN Controller Area Network is a serial bus system especially suited to structure intelligent industry devices networks and build smart automatic control systems The l 7565 is a cost efficient device for coupling the CAN bus to the PC using the standard USB interface Nowadays the interface is present in every new PC and is supported by the MS Windows 98 Me 2000 and XP operating systems If you establish the connection between the l 7565 and the PC during the runtime of the computer the PC automatically loads the relevant device driver hot plug amp play The following figure shows the application architecture for l 7565 modules The PC can be the CAN host monitor or HMI to access control the CAN device through the CAN network by the l 7565 Converter This module let you to communicate with CAN devices easily from PC with USB interface PC AS use U CAN NETWORK U T U Device Device Device Figure 1 Application of l 7565 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 3 1 Features RoHs Design Fully compliant with USB 1 1 2 0 Full
7. requires users to understand their CAN specifications And input the correct data in the CAN message format The second method uncheck Use CAN Message allows the use of the command string found in table 5 to transmit messages Both methods require the user to click the Send button to transmit the information into the CAN network The CAN message will then automatically be displayed in the Receive list box Besides user can press the Clear button to remove the messages on the list box and then the new CAN messages will be shown on the list box again l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 24 5 Command list For easy application we provide 9 command strings to allow users to send and receive commands and responses through the l 7565 It can cover most applications of different requests The general formats of the commands for the l 7565 are given below Command Format lt Command gt CHK lt CR gt lt Command gt The commands of the l 7565 Converter CHK 2 character checksum value It is effective only if the checksum mechanism is set to enable by using l 7565 Utility lt CR gt All commands of the l 7565 Converter must end with the character lt CR gt The ASCII value is 13 The 9 command formats are given in the following table More detailed information related to of the each command will be described in the following sub sections Table
8. s Manual Version 1 0 March 2007 _ 26 5 2 TIIL CHK lt CR gt Description Send or receive a standard CAN remote frame gt Syntax TIIL CHK lt CR gt T Represents a standard 2 0A remote frame lll 11 bits Identifier 000 7FF L Data length 0 8 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command T2E88 lt CR gt Send a CAN message with a standard remote frame ID 2E8 DLC 8 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 27 5 3 ellllllliLDD CHK lt CR gt Description Send or receive an extended CAN data frame gt Syntax elllIIIILDD CHK lt CR gt e Stands for the extended 2 0B data frame INI 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 DD Input data frame value according to the data length 00 FF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command e1234567851 122334455 lt CR gt Send a CAN message with an extended data frame ID 12345678 DLC 5 datal 11 data2 2
9. the CAN BUS network please refer to the following table 4 Figure 9 Un shielded Twisted Pair UTP Table 3 Cable selection Bus speed Cable type os Terminator Bus Length resistance m 50k bit s at 1000m Se 70 mOhm pies 600 1000m 100k bit s at 500m aye lt 60 mOhm P 300 600m 0 34 0 6mm2 500k bit s at 100m 22AWG lt 40 mOhm 127 Ohm 40 300m 20AWG 0 25 0 34mm2 1000k bit s at 40m 23AWG lt 40 mOhm 124 Ohm 0 40m 22AWG Note The AWG means a standard method used to measure wire The numbering system works backwards from what people would think the thicker heavier the wire the lower the number For example a 24AWG wire is thicker heavier than a 26AWG wire l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 11 3 Installing the Device This section will guide you on how to install the l 7565 converter under Windows XP Windows 2000 Windows ME and Windows 98 operating systems No support for WinNT Download driver files from 1 Package CD CAN Converter i 7565 driver 2 ftp ftp icodas com pub cd can_cd can converter i 7565 driver win2k_x The following steps will show how to install the device under Windows 2000 Basically the procedures are also somewhat the same for other Windows operating systems 1 Power on your computer and boot to Windows 2 Locate the USB port of your computer and plug in the I 7565 3 Windows will detect the new devi
10. 2 data3 33 data4 44 and data5 55 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 28 5 4 EMMHL CHK lt CR gt Description Send or receive an extended CAN remote frame gt Syntax ENMIMMNL CHK lt CR gt E Stands for the extended 2 0B CAN remote frame MTL 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command E010156786 lt CR gt Send a CAN message with an extended remote frame ID 01015678 DLC 6 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 29 5 5 S CHK lt CR gt Description Read the l 7565 CAN Baud Rate and error flag message gt Syntax S CHK lt CR gt S Command character gt Response Valid Command CFFTTRRO CHK lt CR gt c FF TT RR O gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC Furthermore all response results are shown in the ASCII format Users need to make an ASCII to hex format transformation in order to understand what the meaning is Invalid command lt Error Code gt CHK lt CR gt Del
11. Baudrate 125K v bit sec Acceptance Code ooo Hex Acceptance Mask 000 Hex Je Defaults q Setting Connected to COMS Configuration Mode Yer 1 00 Copyright c 2004 ICP DAS Co LTD Figure 13 Connect to the configuration mode of the l 7565 7 Choose the Settings tab to open the configuration window for the CAN and the USB communication parameters of the I 7565 Once users have finished changing the parameter settings please click the Setting button to store the communication parameters into the EEPROM on the l 7565 Note If users click the Defaults icon all of the CAN and USB communication parameters on the l 7565 will be set to the default values which are USB Add Checksum No Error Response No CAN CAN Specification 2 0A CAN bus Baudrate 125K Acceptance Code 000 Acceptance Mask 000 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 21 4 2 How to set the Acceptance Code and Mask The acceptance code and acceptance mask are used for filtering unnecessary CAN messages through USB port If users want to prevent the unnecessary CAN message through USB conversions they need to set the parameters of acceptance code and mask Acceptance Code The CAN ID bits that you want to get Acceptance Mask The CAN ID bits that you want to filter In the acceptance code the bit value 1 means that you want to get this CAN ID bit And in the acceptance mask t
12. N controller has been alerted the ERR LED will turn on In this case users can only reboot the l 7565 module in order to turn off the ERR LED If the CAN USB FIFO overflows the ERR LED will also be turned on Furthermore If users want to check what the error situation is they must send the command string S CHK lt CR gt Depending on the result users will need to either reboot the l 7565 or use the command string C CHK lt CR gt to clear the FIFO flag which will then turn off the ERR LED i 7565 RUN ERR Figure 8 LED position Table 2 LED indication LED Name l 7565 Condition LED Status Configuration Mode Flashes once per second RUN LED gt Operation Mode Always turned on ERR LED Some errors occurred Always turned on l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 10 2 7 Cable selection The CAN bus is a balanced differential 2 wire interface running over either a Shielded Twisted Pair STP Un shielded Twisted Pair UTP or Ribbon cable The CAN L and CAN H Wire start on one end of the total CAN network that a terminator of 120 Ohm is connected between CAN L and CAN H The cable is connected from CAN node to CAN node normally without or with short T connections On the other end of the cable again a 120Q Ohm terminator resistor is connected between the CAN lines How to decide a cable type cable length and terminator depends on the baud rate in
13. Speed Use USB power no external power is required Microprocessor inside with 2OMHz 82C250 CAN transceiver Built in converter firmware Transmission speed up to 1M bps for CAN and 921 6K bps for USB Software configurable CAN and USB communication parameters Max transmission distance over 1000m follow CAN specification Support both CAN 2 0A and CAN 2 0B Built in jumper to select 120 ohm terminal resister Mount easily on DIN rail Power data flow and error indicator for CAN and USB Watchdog inside Windows 98 ME 2000 XP drivers supported Free DLL for VC VB and BCB l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 4 1 2 Specifications USB specs e Input port USB Virtual COM baud rate 921 6K bps 8 n 1 e Compatibility USB 1 1 and 2 0 standard e Driver Supported Windows 98 ME 2000 XP Linux CAN specs e CAN interface connector D sub 9 pin male e CAN Baud Rate 10K 20K 50K 100K 125K 250K 500K 800K and 1M bps e Isolation voltage 3000Vrms on the CAN side Module specs e Dimensions 123mm x 72mm x 33mm e Operating temperature 25 to 75 C 14 to 185 F e Storage temperature 25 to 80 C 13 to 185 F e Humidity 5 to 95 non condensing e LEDs RUN LED for power and data flow ERR LED for error Software Utility tool e CAN bus Baud Rate configuration e CAN acceptance filter configuration e Setting for CAN 2 0A or 2 0B working mode e Provides a qui
14. anual Version 1 0 March 2007 _ 33 5 8 P1B CHK lt CR gt Description Change the CAN configuration of l 7565 module and then reboot the l 7565 module gt Syntax P1B CHK lt CR gt P1 Command character B CAN Baud rate Table 10 CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN 800K baud rate of CAN INIOIOJA OINI O W 1000K baud rate of CAN gt Response A valid command will write the CAN configuration baud rate into the EEPROM and then reboot the l 7565 module Invalid command lt Error Code gt lt CR gt gt Note Itis necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command P14 lt CR gt Set the CAN baud rate 125K into the l 7565 module and then reboot the l 7565 module l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 34 5 9 RA CHK lt CR gt Description Reboot the l 7565 module If the module is displaying on but the CAN bus is off users can use this command to reboot the module in order to allow it to work in order again gt Syntax RA CHK lt CR gt RA Command character gt Response Valid command will reboot the l 7565 module Inva
15. ce and will initiate the Found New Hardware Wizard prompting you to install the software for the detected USB Device Select to install from a list or specific location Click Next to continue Upgrade Device Driver Wizard Welcome to the Upgrade Device Driver Wizard This wizard helps you upgrade a device driver for a hardware device To continue click Next Cancel l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 12 4 An Install Hardware Device Drivers window is shown Click Next to initiate a search for a suitable driver for your device Upgrade Device Driver Wizard Install Hardware Device Drivers at 4 device driver is a software program that enables a hardware device to work with SY an operating system This wizard upgrades drivers for the following hardware device USB Device Uparading to a newer version of a device driver may add functionality to or improve the performance of this device What do you want the wizard to do Search for a suitable driver for my device recommended Display a list of the known drivers for this device so that can choose a specific driver lt Back Cancel 5 Select the Specify a location optional search locations If the CD ROM drives checkbox is selected please insert the driver CD Click Next to start the search Upgrade Device Driver Wizard Locate Driver Files ae Where do yo
16. ck testing function for transmitting receiving CAN messages Application Factory Automation Building Automation Home Automation Control system Monitor system Vehicle Automation l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 5 2 Hardware i 7565 RUN ERR USB to CAN Converter WSupports CAN 2 0A 2 0B WM Variable Baud Rate of CAN 10K 125K 1M 3000Y Isolation on CAN 2 1 Block Diagram Figure 2 is a block diagram illustrating the functions on the l 7565 module It provides the 3000Vrms Isolation in the CAN interface site Isolation Block Diagram of 1 7565 Figure 2 Block diagram of l 7565 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 6 2 2 Pin Assignment Table 1 CAN DB9 Male Connector CN1 Terminal 2 wire CAN 1 Not Connect 2 CAN Low 3 5 3 o7 9 4 06 5 Not Connect 2 o 6 6 7 CAN High Not Connect Figure 3 Pin Assignment on the l 7565 2 3 Hardware connection The pin assignment of the CAN port on the l 7565 DB9 male defined in both the CANopen DS102 profile and in appendix C of the DeviceNet specifications It is the standard pin assignment for CAN CAN LH 2 DEVICE CAN A 6 A Figure 4 CAN connection l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 7 2 4 Terminator resistor settings According t
17. click on Hardware tab and then click on the Device Manager button Double click on Ports COM amp LPT If the device was correctly installed you should now see the I 756X Converter device listing This also means that Windows has assigned the device to the COM port S Device Manager__ o File Action View Help 7 H r 2 a H E Floppy disk controllers 1 Floppy disk drives gy Human InterFace Devices H E IDE ATAJATAPI controllers 7 IEEE 1394 Bus host controllers P Infrared devices 5 gt Keyboards Mice and other pointing devices x Modems 2 Monitors ES Network adapters E PCMCIA adapters g Ports COM amp LPT F Communications Port COM6 AY ECP Printer Port LPT1 1 756 Converter COM8 MR Processors H S SCSI and RAID controllers Sound video and game controllers System devices Universal Serial Bus controllers lt a CO Ee BE TREERE l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 16 2 If you need to reassign the virtual COM Port name to another Port number you can double click on the device I 756X Converter to view the properties 2x General Port Settings Driver Details J 1 756 Converter COM8 es Device type Ports COM amp LPT Manufacturer Prolific Technology Inc Location Location 0 USB Serial Controller M Device status This device is working
18. dows found click Next E e can converter i 7565 driver win2k_xp ser2pl sys lt Back Cancei l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 14 8 Windows will then install the driver for the USB to Serial COM Port Once installation is complete Windows will notify you that it has finished installing the software Click Finish to continue Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for F 756 Converter Click Finish to close the wizard Cancel NOTE When you finish the driver installation please unplug the USB cable and then plug the USB cable again l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 15 3 1 Verifying the Installation This section will show you on how to verify whether the l 7565 was properly installed You will also need to determine the virtual COM port assignment made by Windows for the USB to CAN converter Note Before you connect the l 7565 for the first time ensure that you do not attach any serial devices to the converter You must only connect the l 7565 by itself To verify whether the device is properly installed and determine the COM port assignment for the device 1 Click Start gt Settings gt Control Panel then double click on the System icon Once the System Properties window is display
19. he I 7565 module 2 Connect the I 7565 s CAN port into the CAN network which must at least have one CAN device on the network 3 Connect l 7565 to PC USB port via a USB cable 4 The RUN LED on the I 7565 module will be turned on That means the l 7565 is working in the operation mode 5 Run the l 7565 Utility software after there is a wire connection 6 Select the Test tab and click the Connect icon on the tool bar in the l 7565 Utility to configure the PC s USB port which will be used to connect to the USB port of the l 7565 Settings PC s USB Settings Port COM1 X Timeout 500 ms Figure 14 USB port setting 7 Press the Ok button Then the l 7565 Utility will show the test tab in the window as can be seen in the below figure l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 23 l 7565 Utility File Actions Help A Disconnect Exit About Receive CAN Message ID Hex MODE ATR DLC joo fo fo fs D1 D2 D3 D4 DS DE DF OBB Joo foo foo foo foo foo foo foo Use CAN Message Interval 50 sa e D Auto s gt Send if Clear Connected to COM1 Operation Mode Yer 1 00 Copyright c 2007 ICP DAS Co LTD Figure 15 Connect to the operation mode of l 7565 8 Users will then be able to transmit or receive CAN messages via the l 7565 module There are two methods for communicating with their CAN The first method check Use CAN Message
20. he bit value 1 means that you want to filter this CAN ID bit For Examples 1 If users want to get all the messages on the CAN bus the setting must be as follow In CAN 2 0A Acceptance Code Don t care Acceptance Mask 000 2 If users want to get the message of CAN ID 123 Hex and filter all the other CAN message the setting must be as follow In CAN 2 0A Acceptance Code 123 001 0010 0011 bit Acceptance Mask 7FF 111 1111 1111 bit 3 If users want to get the message of CAN ID from 100 to 12F Hex and filter all the other CAN message the setting must be as follow In CAN 2 0A Acceptance Code 10X 001 OOXX XXXX bit X don t care Acceptance Mask 7CO 111 1100 0000 bit 4 The settings of CAN 2 0A and CAN 2 0B are the same The different between CAN 2 0A and CAN 2 0B is the CAN ID bits l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 22 In CAN 2 0A number of CAN ID bits is 11 In CAN 2 0B number of CAN ID bits is 29 4 3 How to test the module transmission performance The following procedure will guide you to learning how to transmit receive CAN messages to from other devices PCs by using the I 7565 converter Note that users can only employ this test function for the system if they are using the default communication parameters for the USB as provided above 1 Set the Init Normal switch to the Normal position which is found at the back of t
21. imiter for valid command current baud rate setting of CAN CAN register CAN transmit error counter CAN receive error counter CAN USB FIFO Overflow flag based on the following table Table 6 CAN baud rate list AsciiToHex C Description 0 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN 800K baud rate of CAN CO N O1 amp G P 1000K baud rate of CAN l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 30 Table 7 CAN register list Ascii ToHex FF Description Bit 7 Bus Off Mode Bit 6 Error Passive Mode Bit 5 Reserved Bit 4 Overrun Buffer Bit 3 Stuff Error General Bit 2 CRC Error General Bit 1 Form Error General Bit 0 Acknowledgment Error General Table 8 CAN USB FIFO overflow flag list AsciiToHex O Description Bit 3 Reserved Bit 2 Reserved Bit 1 USB FIFO Overflow Bit 0 CAN FIFO Overflow gt Example Command S lt CR gt Receive 50000000 lt CR gt Obtain some current information on the l 7565 module The response will show the following results CAN baud rate 250K CAN register normal CAN transmit error counter 0 CAN receive error counter 0 and CAN USB FIFO normal l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 31
22. lid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7565 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command RA lt CR gt The l 7565 module will reboot after it had received this command 5 10 General Error code for all commands Table 11 Error code table Ascii ToHex Error code Description 1 The head character of the command string is invalid 2 The length of the command string is invalid 3 The checksum of the command string is invalid 4 Reserved 5 The USB receiver is timeout l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 35 6 Troubleshooting If the Error response function on the l 7565 module is set to be Yes that means enable via the l 7565 Utility during the configuration period the l 7565 will send the error code to the host PC through the USB media when the l 7565 produces an error message automatically during the operation mode The meanings of these error codes are given below Table 12 Error code table mi Description Possible causes amp solutions code invalid Header The USB command string header is not PT e E S C POOE300 P1 nor RA The data byte of the CAN Message does not match the data length of the CAN Message For example 2 invalid leng
23. o the ISO 11898 specifications the CAN Bus network must be terminated by two termination resistances 120Q for proper operation as shown in the below figure Device Device 127 12002 f OO CAN_L Figure 5 Terminator resistor Therefore the l 7565 module supplies a jumper for users to connect the terminator resistor or not If users want to use this terminator resistor please open the l 7565 cover and use the JP4 jumper to activate the 1200 terminator resistor built in the system as in the following figure Note that the default setting is active Enable aah Activate W aaa Figure 6 JP4 positions l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 2 5 Init Normal Dip switch On the back of the l 7565 module there is a dip switch used for setting the operation or configuration mode of the module function In the normal situation the user needs to first make a configuration in order to provide the correct function when the module works in the operation mode The following steps show how to use this dip switch 1 Configuration mode Please first set the dip switch to the Init Initial position Then the l 7565 will work in the configuration mode after the power for the module has been turned on In this case users can configure the communication parameters of the l 7565 module by using the l 7565 Utility tool 2 Operation mode After the configuration users need to set the dip swi
24. properly If you are having problems with this device click Troubleshoot to start the troubleshooter zd Device usage Use this device enable Se 3 Once you have verified that the device has been properly installed you may now proceed to use the USB to CAN Converter to connect to CAN devices Attach the CAN device to the CAN port of the adapter and then connect the USB connector to the USB port of your computer Use the supplied driver for the serial device if needed l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 17 3 2 Uninstalling the Device Driver It is easy to uninstall the USB to Serial device driver 1 Run the DRemover98_2K exe Uninstall program which can be found on the Package CD CAN Converter l 7565 driver or at ftp ftp icodas com pub cd can_cd can converter i 7565 driver 2 The uninstall program will then prompt you whether you want to remove the utility program Click OK to continue i USB Serial Driver Remover xi Press OK to remove driver Cancel 3 After the uninstall is complete the program will prompt you to restart Windows Click Yes to continue Will you re boot Windows system immediately OK Cancel 4 Windows will show a dialog box to notify you that the driver was removed successfully Wait for Windows to restart your computer A If you want to mstall new driver you must re boot Windows system now
25. sis iiai ai ea ai baetedet eed eudsbecdket 9 2 6 LED Indication seeeeeeeeeeeennrneeeseeetnttnrrrreseerrrrnnnnnnsserrrnnnnnnneneee nnee 10 2 7 Cable selection ge caseicarie sar sess seemed aid tec ctl aria tld ede id ashe neds cee ad 11 3 Installing the DEViCe rar ec ewe ea con eeu a ewe aa a a nae eee eee eee 12 3 1 Verifying the INStallationssiceticceietivacccatdibteleiveretatdidtareiiieneigtteecietdigads 16 3 2 Uninstalling the Device Driver ccceeeecceeeeeeeeeeeeeeeeeeeeeeeeeeeeeneees 18 45 SoOnmwWare Utulity E 19 4 1 How to configure the module parameters eeeeseeeeeeeeeeeeeeeeeeees 20 4 2 How to set the Acceptance Code and Mask eeeeeeeeeeeeeees 22 4 3 How to test the module transmission performance ccceeeeee 23 E o aaao A TIS U iaicessta in Saies ns was es becca nen aan nica ence nn een aa ne aS 25 5 1 MERI USE Ee 5 A race hee Ne Ne Ne hed ee 26 5 2 ITE CHK AGRS scesccr tet enceceten be Steet oie bik Se cart sett ieee tags 27 5 3 SIIINMILDD KCK ACRS Aci aka ata aaa aaa adial aia 28 5 4 EMIIMLICHK KORS ee vawaa se ean See ae eee 29 5 5 SIGCHI SCR etre atin stat tt tadi ated leet ats netted teats EE latte tas 30 5 6 CCA Caso od a e a ittudi ba dsva ts se deeed valine cadet 32 5 7 POOE3800SR CHK lt CR2 gt ccccccceeeeeeeeeeeeecneeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 33 5 8 PUB CFG peliini diiine baanaat insu nih ii ii a 34 5 9 BANLE 1a EE one nee ere ne ae nee
26. tch to the Normal position Users need to turn the power off then on again so that they can use the l 7565 in the operation mode Once you have completed your configurations and switched to the operation mode then messages can pass between the CAN and the USB ports This transmission process depends on the configuration parameters that the users have configured That is the l 7565 functions as a USB CAN converter Normal Figure 7 Dip switch of l 7565 l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 9 2 6 LED Indication The l 7565 provides the Converter function between the USB port and the CAN port It can handle both an 11 bit and 29 bit ID format according to whether it is a CAN 2 0A or 2 0B In order to provide high performance when converting data the l 7565 has built in software FIFO queues which include 1000 CAN data frames It also provides two LEDs to indicate to users what situation the l 7565 is in The RUN LED indicator establishes the power and operation situation simultaneously If the module is working in the operation mode the RUN LED is always turned on However when the module is working in the configuration mode the RUN LED will flash approximately once per second The ERR LED is used for demonstrating an error that has occurred That is the ERR LED is normally turned off when the module works in a good condition On the other hand when the BUS OFF error indicator of the CA
27. th Error t001512345 lt CR gt Right t00150102030405 lt CR gt The checksum from the ommand string does not matched with the checksum calculated by the l 7565 3 Invalid checksum For example Error t0012112209 lt CR gt Right t00121122FD lt CR gt The ASCII command strings are sent incomplete For example 5 Timeout Error T0018 Right T0018 lt CR gt If the l 7565 CAN baud rate is not the same as the CAN baud rate on the CAN network the data flow LED on the I 7565 will be flash with a constant frequency because the l 7565 cannot send any CAN messages to the CAN network Therefore users will need to read the l 7565 status by using the command S CHK lt CR gt in the section 5 5 to help users understand what is going in the module In general the following errors could occur CAN media connection problem terminal resistor problem different baud rate configuration with CAN network and the like l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 36
28. u want Windows to search for driver files cy Search for driver files for the following hardware device USB Device The wizard searches for suitable drivers in its driver database on your computer and in any of the following optional search locations that you specify To start the search click Next If you are searching on a floppy disk or CD ROM drive insert the floppy disk or CD before clicking Next Optional search locations F Floppy disk drives CD ROM drives V Specify a location F Microsoft Windows Update lt Back Cancel l 7565 USB CAN Converter User s Manual Version 1 0 March 2007 _ 13 6 If the Specify a location is selected you much choose the correct path Enter E CAN Converter l 7565 driver win2k_xp The E is the Disk that Package CD put in Click OK to start the search II x The file ser2pl sys on USB Serial Cable Diskette is os needed Cancel Type the path where the file is located and then click OK Copy files from JE Can Converter l FS6S DriverhwinZk_xp ad Browse 7 Once Windows finds the correct driver click Next to install the driver Found New Hardware Wizard Driver Files Search Results ES The wizard has finished searching for driver files for your hardware device Sy The wizard found a driver for the following device o gt USB Device Windows found a driver for this device To install the driver Win

Download Pdf Manuals

image

Related Search

Related Contents

  Aufbauanleitung Pool - gartenfachmarkt24.de  WORKABOUT PRO Model WA3004-G1 Four  Inventory of Gambling Situations: User's Guide  Fisher VPC-CA6 Camcorder User Manual  Tripod Portable Screens User Manual  TOCアナライザー  NXP Semiconductors ISP1562 User's Manual  User Manual - Justec Networks  Bedienungsanleitung (deutsch)  

Copyright © All rights reserved.
Failed to retrieve file