Home
User`s Manual - ICP DAS USA`s I
Contents
1. 1 Click Start gt Settings gt Control Panel then double click on the System icon Once the System Properties window is display 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 l 756X Converter device listing This also means that Windows has assigned the device to the COMS port l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 55 E DeviceManager___ aod File Action View Help gt m fag H Floppy disk controllers Eee Floppy disk drives Big Human InterFace Devices IDE ATAJATAPI controllers Fy IEEE 1394 Bus host controllers sl Infrared devices Ei Keyboards H Mice and other pointing devices co Moderns E E Monitors E BS Wetwork adapters E PCMCIA adapters Er p Ports COM amp LPT E i dg Communications Pork COME EF ECP Printer Port ida B e ace E SCSI and RAID controllers p Sound videa and game controllers EI System devices 29 Universal Serial Bus controllers 2 If you need to reassign the virtual COM Port name to another Port number you can double click on the device 1 756X Converter to view the properties I 756 Converter COM8 Properties ajx General Part Settings Driver Details y 756 Converter COM Device type Ports COM amp LPT Manufacture
2. a gt AL Lp WY VY RS 232 Device RS 232 Device Devicel 1 753051 1 753082 Device2 Note All of CAN Converter modules like l 7530 I 7530 FT I 7530A l 7565 have pair connection function Using l 7565 with pair connection mode it just supports RS 232 baud rate 115200 bps or less Configurations To apply this application user need to configure the CAN Converter modules 1 and 2 as follows The RS 232 configurations of CAN Converter modules 1 and 2 are decided by the Device1 and Device2 RS 232 parameters CAN Pair Connection UART Settng CAN Pair Connection UART Setting CAN Specification C Repsonse with the CAN ID CAN Specification C Repsonse with the CAN ID CAN 2 04 CAN 2 0B 9 CAN 2 04 CAN 20B End Characters of UAR T Commands End Characters of UAR T Commands CAN Baud Rate 125K vi 9 None O User Defined CAN Baud Rate 125K v 9 None O User Defined User Defined CAN Baud Rate OCR User Defined User Defined CAN Baud Rate OCR User Defined Required Baud Rate OLF ERES 9 Required Baud Rate OLF T Calculated e Calculated CRLF e x CRLF Real Baud Rate O LF CR Real Baud Rate O LF CR 25000 p Set CAN ID Filter Pair Connection Command Timeout Set CAN ID Filter Pair Connection Command Timeout CAN Timeout 1 ms CAN Timeout 1 ms Communication UART Timeout 3 ms Communication UART Timeout 3 ms Mode Peir Connection v Mode Pair Connection v Fixed CAN I
3. ASCII code is OxOD and OxOA LF CR Set the end characters of the UART command to two characters LF and CR The hexadecimal value of the ASCII code is Ox0A and OxOD User defined This function allows users to define the special end characters and is only supported by the tM 7530 The UserDefined1 or UserDefined2 are used to configure one or two end characters Take followings figure for example select the item User Defined2 and set the hexadecimal value of the end characters to be the OxOD and Ox0A When the CAN converter get the UART messages with end characters OxOD and OxOA it is regarded as the ending of the UART message The CAN l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 26 converter will start to transfer the UART message to the CAN Bus End of UART Command None User Defined OCR User Defined CR LF LF CR Pair Connection Command Timeout Only the tM 7530 and Il 530A MHR supports this function The CAN timeout is used to decide the transformation timing of the CAN messages to the UART messages After the CAN converter receives the CAN message it will not transfer the CAN message to UART message until the time of the CAN timeout passes If users would like to transfer the CAN message to UART messages immediately set this value to 0 The function of the UART timeout is similar with the CAN timeout It is decide the transforma
4. Ascii ToHex FF Description Bit 7 Bus Off Mode Error Passive Mode Bit 5 Reserved Bit 4 l 7530 series Overrun Buffer tM 7530 Reserved Bt2 CRC Error General Table CAN or RS 232 RS 485 RS 422 USB FIFO overflow flag list Ascii ToHex O Description Bit3 Reserved Bit 1 RS 232 RS 485 RS 422 USB FIFO Overflow AN FIFO Overflow gt Example Command S lt CR gt Receive 50000000 lt CR gt Obtain some current information on the l 7530 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 RS232 FIFO normal l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 39 4 6 C CHK CR Description Clear the CAN Converter FIFO overflows error flag on the module Syntax C CHK CR C Command character 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 Converter FIFO overflow error flag Invalid command Error Code CHK CR Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC Example Command C lt CR gt l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 40 4 7 POBBDSPAE CHK CR gt Description Change the RS 232 RS 485 RS 422
5. TxD RxD GND GND N A for others RS 485 RS 422 Sub TxD RxD 9 pin female D USB Type B Virtual COM Connector PWR LED CAN LED UART LED Modbus slave functions GND N A for Data bit 5 6 7 8 ON LED ON LED Round LED ERR LED ERR LED Installation DIN Rail for the I 7530A MR others Baud Rate bps 110 230400 110 115200 110 460800 110 115200 110 921600 Stop bit 1 2 Parity bit None Odd Even Power reverse polarity protection Over voltage brown out protection Power Consumption 15W Dimensions 52mm x 86mm 72mm x 118mm x 33mm W x L x H x 32mm l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 7 25 75 30 80 C 10 90 RH non condensino Note 1 The CAN converters can t handle the data reception and transmission of the RS 232 interface at the same time That is to say that the full duplex communication mode of RS 232 devices is not supported 2 About more information of the I 7530A MR please refer to the web site as follows 530a mr html 3 Users need to Install the USB driver before using l 7565 for the first time Please refer to Appendix B Install l 7565 Driver l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 8 2 2 Pin Assignment The UART connector for 1 7530 1 7530FT 1 7530T tM 7530 Table RS 232 DB9 Female Connector CN1 3 wire RS 232 od NA Q J T o4 NA s
6. b E rate lt 125 Acceptance Mask 000 Hex Tpit Timing 30 Hex Fair Connection erae fi End of R5 232 Command BitTiming2 04 Hex e C 5 BitTimng3 7E Hex J a hn Calculate H baud rate 40 00 K hit sec Note 1 After setting down users must click Calculate button and calculate CAN Baud rate otherwise CAN Converter utility could not save the parameter 2 The function only supports on firmware version 3 00 or more If the users do not know how to fill those parameter values please feel free to contact us l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 62 Appendix D Filter setting The l 7530 series modules use acceptance code and acceptance mask for filter setting The acceptance code and acceptance mask are used for filtering unnecessary CAN messages through RS 232 RS 485 RS422 USB port If users want to prevent the unnecessary CAN message through Re 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 the bit value 1 means that you want to filter this CAN ID bit For Examples 1 lf users want to get all the messages on the CAN bus the setting must be as follow In CAN 2 0A Acceptance Code D
7. CAN converters will transfer any UART message to the data field of the CAN messages whose message ID are fixed and predefined by the utility tool It is useful for transparent applications or pair connection applications The tM 7530 has an additional communication mode Listen Only mode In this mode the tM 7530 can only receive the CAN messages and can t send any CAN signal include CAN Error Frame and the change of the ACK field to the CAN network Pair Connection Mode When uses choose the Pair Connection in the Communication Mode the pair connection configuration field will be oresented Setting aea CAN Pair Connection U ART Setting CAN Specification Repsonse with the CAN ID 9 CAN 2 04 2 CAN 206 End Characters of I AR T Commands CAN Baud Rate 125K v None User Defined User Defined CAN Baud Rate OCE O User Defined Required Baud Rate i LE Calculated EP EN O CR LF isa Baud Rate Q LF CR vm 4nm4Enmnn 125000 set CAN ID Filter Pair Connection Command Timeout CAN Timeout l m Communication UART Timeout Mode Pair Connection Fixed CAN ID ual Load Default Setting l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 25 Fixed CAN ID Set the fixed CAN ID for the transmitted UART data to the CAN network Each CAN converter must have different configuration of th
8. Device 1 753053 Device3 Configurations In order to apply this application user need to configure the three CAN Converter modules 1 2 and 3 like l 7530 as above figure The RS 232 configurations of these three CAN Converter modules are decided by the RS 232 device they connect with CAN Pair Connection UART Setting CAN Pair Connection UART Setting CAN Pair Connection UART Setting CAN Specification C Repsonse with the CAN ID CAN Specification C Repsonse with the CAN ID CAN Specification C Repsonse with the CAN ID CAN 2 04 CAN 2 0B CAN 2 04 CAN 2 0B End Characters of UART Commands CAN 20A O CAN 20B End Characters of UAR T Commands End Characters of UART Commands CAN Baud Rate 125K v O None O User Defined CAN Band Rate 125K v eR O User Defined CAN Baud Rate 125K v O None O User Defined User Defined CAN Band Rate 9 CR User Defined2 User Defined CAN Baud Rate 9 CR C User Defined2 User Defined CAN Baud Rate 9 CR User Defined2 Required Baud Rate i Required Baud Rate Calculated Calculated Calculated O CRLF O CRLF O CR LF Real Baud Rate O LF CR Real Baud Rate O LF CR Real Baud Rate O LF CR mum w 135000 Set CAN ID Filter Pair Connection Command Timeout Set CAN ID Filter Pair Connection Command Timeout Set CAN ID Filter Pair Conne
9. the I 7530 FT Non Isolation Figure The block diagram of the I 7530 FT The 1 7530A provides four communication interfaces in one module They are CAN RS 232 RS 485 and RS 422 interfaces Because the RS 232 RS 485 and RS 422 are the same UART port users can t use them at the same time The I 7530A also has isolator on the CAN side Figure The block diagram of the I 7530A l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 11 The l 7565 provides CAN and USB slave communication interfaces On the USB interface the l 7565 provides the virtual COM driver Users can use the l 7565 instead of the l 7530 if the device only have USB host interface The l 7565 is powered by the USB interface it doesn t need external power The isolator of the l 7565 is on the CAN side AE Nu m N a Isolation Figure The block diagram of the l 7565 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 12 2 4 Wire Connection The I 7530 I 7530T I 7530 FT and tM 7530 are RS 232 DCE devices and uses the D sub 9 pins female connector for the RS 232 interface The following figure describes the wire connection between the PC and the modules PC Host DB9 female COM Port RS 232 Figure Connects the l 7530 1 7530T 1 7530 FT or tM 7530 to the PC The 1 7530A has one UART port with three kinds of interfaces The following figure is the wire connection of the 1 75
10. 1 2 Jun 2014 28 Test Interface B Step 1 Set the Init Normal DIP switch of the CAN converter to normal mode see the section 2 5 1 When the CAN module runs on the normal mode the run LED indicator will be turned on If the CAN converter sends or receives the CAN messages the run LED will flash once per message B Step 2 Connect the COM port of PC to the CAN converter and execute the VxCAN Utility VxCAN Utility 1 0 KB B Step 3 Click the search button Y to search all CAN converters connected to the PC B Step 4 Afterwards the searched CAN modules are listed in the left window of the VxCAN Utility EB xCAN Utility Y1 0 w 1 7530 amp tM 7530 Init l 7530 l 7530 FT l 7530A l 7565 User s Manual Version 1 2 Jun 2014 29 B Step 5 Click the CAN port of the CAN converter to set the CAN parameters of the CAN converter EB vxCAN Utility Y1 0 Close Configuration Window Windows 1 7530 ee CAN VxCANPort Q0 VxCANPort fH tM 7530 Init CANP ort ModuleName FirmwareVersion CAN Baud Rate 125K v C Active Port Confirm Cancel el Check the Active Port and Click Confirm button to enable the CAN port of the CAN converter The parameters set here are not stored in the EEPROM If users would like to configure the other parameters expect the CAN parameters please use Configuration interface of the VxCAN Utility to do that B Step 6 Click Start button OQ to ope
11. 1 2 Jun 2014 3 Transparent Application ID 0x01 RS 232 D ue S a Cw Tete ere A a n CAN Bus PAC NaS 4 7530 CAN Bu ISO 11898 2 IDz0x02 RS 232 Slave LSFT CAN Bus ISO 11898 3 UART Slaves we e l 7530 RS 232 RS 485 RS 422 RS 232 I 7530A l 7565 XP 8341 Node If users would like to run the CAN converter in the transparent or pair connection application Set the CAN converter to the Pair Connection Mode Please refer to the section 3 1 for the details of the Mode configuration l 7530 I 7530 FT l 7530A l 7565 User s Manual Version 1 2 Jun 2014 4 Here are the UART to CAN converters based on the different functionalities B 7530 The RS 232 to CAN Bus converter with 9 pin D sub connector B 1 530 FT The Intelligent RS 232 to low speed fault tolerant CAN Bus converter B 7530A The Intelligent RS 232 485 422 to CAN Bus converter B 1 565 The USB virtual COM port to CAN Bus converter with 9 pin D sub connector on the CAN side B tM 7530 The tiny size RS 232 to CAN Bus converter with 3 pin spring type connector Table The Mail Difference between UART to CAN converters E 1 1 2 I E RS 485 x L ae E Re4A22 X Te cow m EN UNES o 0 9 79 p Xx 11898 2 11898 3 UART Baud Rate Max bps 230400 115200 115200 921600 115200 CAN Baud Rate Max bps 1000k 1000
12. 30A to other UART device When users use the RS 485 or RS 422 interface it is strongly recommend to use twisted pair cable for the communication media Y DATA G DATA Te Tx Rx Rx Device RXD TXD B GND TVs B GND Figure The UART wire connection to the I 7530A 8 NN G G G G S l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 13 The pin assignments of the CAN port DB9 male on the l 7530 series including l 7530 1 7530T 1 7530 FT 1 7530A and l 7565 follows both the CANopen DS102 profile and the appendix C of the DeviceNet specifications The wire connections are as follows CAN GND Option DB9 male CAN High CAN Device CAN Low 1 7530 Series CAN Bus Network Figure The CAN Bus wire connection to the l 7530 series The tM 7530 uses spring type connector on the CAN interface The wire connection to the tM 7530 is below tM 7530 spring type connector T CAN GND Option Press pe CAN High p Hi GNO t CAN Low ME 2 ie or 3 NEL oigu d i X H 2 Insert ite eT Nee m ID a pow y ug 9 ui Figure The CAN Bus wire connection to the tM 7530 l 7530 l 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 2 5 Terminator resistor According to the ISO 11898 specifications the ISO 11898 2 CAN Bus network must be terminated by two terminator resistors 120Q for pro
13. 40 k 500 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 60 2 Adjust the numbers of the TQ by using the scale register BRP The TQ numbers always be in the range of 8 25 Here numbers of the TQ of one bit time is scaled to 20 and the BRP would be as follows 500 20 25 1 BRP BRP 24 3 Use sample point to decide the PRS PHS1 and PHS2 Sample point 60 3 PRS PHS1 4 PRS PHS1 PHS2 Numbers of the TQ of one bit time 20 4 PRS PHS1 PHS2 8 PRS PHS1 12 can satisfy the sample point 60 The PHS2 would be 7 If choose PRS 2 then PHS1 7 4 Generally the SJW and SMP are set to 0 The SMP is defined as below gt SMP 0 once at the sample point gt SMP 1 three times the threefold sampling of the bus is the sample point and twice over a distance of a 1 2 period of the Tsa The result corresponds to the majority decision of the three values According to the above calculation the three Bit Time registers are as following Bit Timing 1 register value is 0x30 Bit Timing 2 register value is 0x04 Bit Timing 3 register value is Ox7E Then the users can fill those parameter values as below l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 61 CAN Parameters CAN Specification 2 04 User defined CAN baud rate 1 Hex CAN bus Baudrate Userdetinec bit sec Clock Made Hex Acceptance Code 000 Hex
14. 565 User s Manual Version 1 2 Jun 2014 43 4 9 P2BBDSPAE CHK lt CR gt Description Change and apply the RS 232 RS 485 RS 422 USB parameters These parameters will not be saved When the module is rebooted the RS 232 RS 485 RS 422 USB parameters will be recovered to the previous setting gt Syntax P2BBDSPCE CHK lt CR gt P2 Command character BB RS 232 RS 485 RS 422 USB Baud rate D Data bit 0 5 bits Data formation 1 6 bits Data formation 2 bits Data formation 3 8 bits Data formation Stop bit 021 stop bit 122 stop bits Parity O None 1 Odd 2 Even Checksum 0zNo 1 Yes Error Response O No 1 Yes mo uo Table RS 232 RS 485 RS 422 USB baud rate list Description B 00 N 10 bps baud rate of RS 232 01 1150 bps baud rate of RS 232 02 300 bps baud rate of RS 232 B 01 OA 06 4800bpsbaudrateof RS 282 0 lt 08 _ 19200 bps baud rate of RS 9232 0 09 38400 bps baud rate of RS 9232 lt OA 57600 bps baud rate of RS 232 01 OB 115200 bps baud rate of RS 92322 l 7530 l 7530 FT l 7530A l 7565 User s Manual Version 1 2 Jun 2014 44 OD 460800 bps baud rate of RS 232 only for I 7565 OE 921600 bps baud rate of RS 232 only for I 7565 gt Response A valid command will let the module to apply the RS 232 RS 485 RS 422 USB configuration parameters Invalid command Error Code CR Note It is necessar
15. CRLF O CRLF Real Baud Rate OLFCR Real Baud Rate OLF CR denda CE RE CAN Timeout l ms CAN Timeout 1 ms RAET UART Timeout 3 ms Communication UART Timeout 3 ms Mode Pair Connection v Mode Pair Connection v Fixed CAN ID 001 Fixed CAN ID 002 module 1 Configuration module 2 Configuration Communication Descriptions The communication of this condition is similar with the communication of condition 1 The difference is that the module 2 of the application 1 will transfer the RS 232 commands to Device2 immediately if it receives any CAN message from the module 1 The module 2 of application 2 will not transfer the RS 232 commands to Device2 until it has checked the end character of RS 232 command The end of RS 232 command is CR For example if Device1 send RS 232 commands 123456789 the Device2 in application 1 will receive the data 12345678 immediately and receive the data 9 with a little delay But Device2 in application 2 will receive the data 123456789 at the same time Max 72 bytes data at the same time for l 7530 series not tM 7530 included tM 7530 used 256 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 66 bytes data Application 3 This application may be used to construct a RS 232 device network via CAN b Prograt RS 232 Dev us The architecture is shown below RS 232 Device Device2 nmable UNE Device icel RS 232
16. 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 e aip Where do vau want Windows to search for driver files s Search for driver files for the following hardware device E USB Device e The wizard searches for suitable drivers in its driver database on your computer and in any af 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 CO before clicking Nest Optional search locations Floppy disk drives CO ROM drives vw Specify a location Microsoft Windows Update x Back Cancel 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 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 LI ix The file ser2pl sys on USB Serial Cable Diskette is Vu needed Cancel Type the path where the file is located and then click OK Copy files from JE Can Converter I 7565 Driver win2k_xp Y Browse 7 Once Windows finds the correct driver click Next to install the driver Found New Hardware W
17. Code gt lt CR gt Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC Example Command E010156786 lt CR gt Send a CAN message with an extended remote frame ID 01015678 DLC 6 l 7530 I 7530 FT l 7530A l 7565 User s Manual Version 1 2 Jun 2014 37 4 5 S CHK lt CR gt Description Read the CAN Converter CAN Baud Rate and error flag message Syntax S CHK lt CR gt S Command character Response Valid Command CFFTTRRO CHK CR C FF TT RR O Note Invalid command lt Error Code gt CHK lt CR gt Delimiter for valid command current baud rate setting of CAN CAN register CAN transmit error counter CAN receive error counter CAN or RS 232 RS 485 RS 422 USB FIFO Overflow flag It is necessary to enable the Error Response function in the CAN Converter 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 based on the following table Table CAN baud rate list Ascii ToHex C Description 5 50K baud rate of CAN User defined baud rate of CAN l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 38 Table CAN register list
18. D 001 Fixed CAN ID 002 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 64 Communication Descriptions For example if there are 7 bytes data 1234567 transmitted from Device1 which is sent CAN messages by I 7530 1 s COM port the Device2 will also receive 1234567 from the COM port of I 7530 2 CAN ID Data Length 7 CAN ID Data Length 7 1234567 To Device2 1234567 From Devicel The CAN ID in above figure is determined by the CAN specification selected by users If users select CAN 2 0A the CAN ID is 11 bit ID If CAN 2 0B is used the CAN ID is 29 bit ID Here assume users set the Fixed Tx CAN ID field of CAN Converter Device 1 to be 0x001 Ox is for hexadecimal format and CAN 2 0A is used the CAN ID displayed in above figure is 0x001 For example if there are 9 bytes data 123456789 transmitted from Device1 which is sent CAN messages by I 7530 1 s COM port the Device2 will also receive 123456789 from the COM port of l 7530 2 CAN ID Data Length 7 CAN ID CAN ID Data Length Data Length 7 ByteO 9 ByteO LT CAN ID Data Length 1 Byte 0 9 123456789 ELO 123456789 From Devicel 4 To Device2 l 7530 l 1 753022 Note If users use 115200bps for RS 232 port of CAN Converter module it is recommended that the configuration of CAN Converter module CAN baud is closed to the configurati
19. Eee rtf i 13 2 5 TAMMIE AU OLS SIS CON ieee este 15 2 5 1 AITINOBM al PS Wile Oi vesset cui ties Quen Enea Dies bove Dev Eo Dee TE EDU LUE CEA a Pre 17 2 5 2 ED GC ATOM e RE io o anette 18 3s SoOftwWare UUV m 20 3 1 How to configure and test the CAN converters 21 4 Command list 1 1 c eeeee eene eren nana uua nun uauusuuausasuauusau supo nnne 32 4 1 llEDD GHAI SCR usooiriperimi cipi poip iaa iV SE PIFE UY FeI Y Dev PLC NER Hber T aE 34 4 2 Bie 4e CREE 35 4 3 elliEDD ICH IS CR iot UHR DR UE DIE E UH EU E De TEE to 36 4 4 xeu qol mmm 37 4 5 SICPIKTS GC PE Suisses Renton ee rene nn ene ee MIU OU VINE HO ODE 38 4 6 eu rel p 40 4 7 POBBDSPAE CHK CR eesseeeeeeeenn 41 4 8 PIBICHKISGEBS ucunteiisinteu sommet AN SN SEU EIER UE 43 4 9 P2BBDSPAEICHK SGBS i iissstib esi dIIo PII TIE VEEE FIVE TE QuOP nn EV PRUSS 44 4 10 P3SBCCCCCCCCMMMMMMMM CHK CR 46 4 11 aj E edgl qe e 48 4 12 General Error code for all command 49 5 relle r t pereriipepetetet c enna 50 ADppenabcCcA Cable Sele6 HOD sien nnn denen Four S eU aure eee ee 51 Appendix B Install l 7565 driver eese sees 52 Appendix C CAN Baud Rate Calculating c eeeee c
20. The UART to CAN Bus Converter l 7530 I 7530T l 530 F T I 7530A I 7565 tW 7530 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 2014 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 1 Table of Contents Ths IMPFOGUCTION eem 3 1 1 Common Features of CAN Bus Converter 6 1 1 1 mice TERT IU UUUEUmMTT 6 CLZ RICE 6 2 Specifications of the UART to CAN Bus Converters 7 2 1 SPCCIICAUONS vet he iii eee NEM 7 2 2 PI ASSIIDnmeriboessuscuiutesntetrus rn ela cash tot E Debut nne D E 9 2 3 BIOCK di BIT Te g n BR RE RTT TTE 11 2 4 WIFe CODTOCHO TT coo enini entire oriri a ird bi
21. UART string when the CAN message are output from the UART interface of the CAN converter This function may be invisible because it is not supported by the selected CAN converters CAN Configuration CAN specification Decide which CAN specification CAN 2 0A 11 bits CAN ID or CAN 2 0B 29 bits CAN ID will be implemented CAN baud rate Set the CAN baud rate The CAN converters support several kinds of standard baud such as 10K 20K 50K 125K 250K 500K 800K 1000K and 83 3K bps If these baud rates dont fit the users application use user defined CAN baud rate to configure the special CAN bauds User defined CAN baud rate If the user defined CAN baud rate is used users need to fill the value of the baud rate in the Required Baud Rate field and click the Calculated button to calculate the real value If the real baud rate is not the same as the value in the Required Baud Rate filed it means that the required baud rate can t be reached because of the hardware limitation The closest baud value will be implemented for instead l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 23 User Defined CAN Baud Rate Required Baud Rate Real Baud Rate If users want to get more information of the real baud rate click the Advanced button Users can select the proper parameters of the real baud rate for the applications HE Advanced CAN Band Rate Target CAN Bau
22. USB configurations of the CAN Converter module Module will be rebooted after saving these parameters into EPROM successtully gt Syntax POBBDSPCE CHK lt CR gt PO Command character BB RS 232 RS 485 RS 422 USB Baud rate D Data bit 0 5 bits Data formation 1 6 bits Data formation 2 bits Data formation 3 8 bits Data formation Stop bit 021 stop bit 1 2 stop bits Parity O None 1 Odd 2 Even Checksum 0zNo 1 Yes Error Response O No 1 Yes m o UW Table RS 232 RS 485 RS 422 USB baud rate list Description Descipin o 00 110 bps baud rate of RS 222 1 11 o 06 4800 bps baud rate of RS 232 0 o 08 19200 bps baud rate of RS 9232 0 0000 09 88400 bps baud rate of RS 232 o o 0B 115200 bps baud rate of RS 2322 0 0 OD 460800bpsbaudrate of RS 232 onlyforl 7565 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 41 gt Response A valid command will let the module write the RS 232 RS 485 RS 422 USB parameters into the EEPROM and then reboot the system Invalid command Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC l 7565 supports only one 921600 baud rate on the firmware version 2 X or before gt Example Command POOB30000 lt CR gt Set
23. a dialog box to notify you that the driver was removed successfully Wait for Windows to restart your computer ED t USB Serial Driver Remo 7 X Remove driver successfully l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 Appendix C CAN Baud Rate Calculating This section will describe how to calculation CAN baud rate for l 7530 series module not including tM 7530 and using old version utility CAN converter utility to fill these parameters The users can use user defined CAN Baud rate by setting CAN Converter utility There are four parameters for this function please refer the below setting window LAN Parameters CAM Specification 204 l User detined CAM baud rate 7 0 Hex CAN bus Baudrate BREE bhit sec Clock Mode Hex H Mote CAN baud rate z 12K Hes Clock Mode 0 inis E a oo Hes Acceptance Mask GUE 1000K Fair C tion 93 SK p nd prets bul Bit Timing 2 m Hex C C BitTiming3 00 Hex g E n Calculate baud rate U bit zec 1 Clock Mode This parameter is means MCU clock If the CAN Baud rate is less then 12k this parameter value is 0 others are 1 2 Bit Timing 1 This parameter is MCU s bit timing register 1 please refer to the next page Table Bit Timing Register 3 Bit Timing 2 This parameter is MCU s bit timing register 2 please refer to the next page Table Bit Timing Register 4 Bit Timing 3 Thi
24. ceive the RS 232 commands 002456789 or 003456789 Therefore Device1 can decide the target device which RS 232 commands will be sent to Also Device1 knows where the RS 232 commands come from The general concept of transmitting data from Device1 to Device2 is shown below ID 0x002 ID 0x002 Data Length 7 Data Length 7 Byte 0 bY Byte 0 E Byte PA Byte b 0021234567 Bye2 3 DU PU rte 3 1234567 From Device te 3 4 To Device2 25308 T I 753022 ID 0x003 ID 0x003 Data Length 7 Data Length 7 Byte 0 3x Byte 0 d Byte vA Byte 2 0031234567 3 e x 1234567 som Device SEY To Device3 75309 1 1 753023 Note In pair connection mode all RS 232 RS 485 RS 422 USB commands listed in section 4 are useless When the RS 232 RS 485 RS 422 USB or CAN buffer of CAN Converter is overflow The ERR Led will be turned on for 300ms and then CAN Converter will be reset by watchdog automatically l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 68
25. ction Command Timeout CAN Timeout 1 ms CAN Timeout 1 ms CAN Timeout 1 ms Communication UART Timeout 3 ms Communication UART Timeout 3 ms Communication UART Timeout 3 ms Mode Pair Connection v Mode Pair Connection v Mode Pair Connection v Fixed CAN ID 002 Fixed CAN ID 003 Fixed CAN ID 001 module 1 Configuration module 2 Configuration module 3 Configuration l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 Communication Descriptions When Device1 want to transmit RS 232 commands 1234567 to Device2 the commands written to I 7530 1 by Devicel1 need to be 0021234567 because the Device1 is set to dynamic Tx CAN ID Fixed Tx CAN ID is not checked The first three bytes of 0021234567 is 002 it means that the CAN ID is 0x002 when the 1 753031 receives the RS 232 commands from Device1 and transfers it to CAN message Afterwards this CAN message is only accepted by Device2 because the configurations of acceptance code and acceptance mask of Devicea Similarly if Device1 wants to send RS 232 commands 1234567 to Device3 it needs to send 0031234567 RS 232 commands to 1 753011 When the Device2 or Device3 respond the RS 232 commands 456789 the CAN message will have CAN ID 0x002 and 0x003 because of the configurations of Fixed Tx CAN ID of I 7530 2 and 1 753043 Because the 1 753011 is set to Response with CAN ID the Device1 will re
26. d Rate 72000 True CAN Baud Rate sample Port 55 9051 Selected T4074 10 91 selected T4074 30 91 selected TAVZITY 90 selected Para 90 selected Tatar EN selected 70175 selected 70175 selected The field Sample Point means the percent of the sampling position of one bit data of the CAN message The field SJW is the short for synchronization jump width It is used to solve the problem of the phase shift between clock oscillators of different CAN devices Generally the sample point is set to close 87 596 and the SJW is set to 1 Set CAN ID Filter Click the button to pop up the configuration dialog of the CAN ID filter Users can use the acceptance code and acceptance mask to determine the accepted CAN messages by CAN message IDs EE CANFilter Acceptance Code 000 Acceptance Mask 000 About how to calculate the Acceptance Code and the Acceptance Mask please refer to the Appendix D l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 24 Communication Configuration It is used to set the communication mode of the CAN converters In normal mode the UART interface of the CAN converters only accept the command strings defined in the section 4 Any UART messages which don t follow the command strings will be regard as wrong messages When the CAN converters transfer the CAN messages to UART interface the CAN messages are presented by the command strings In pair connection mode the
27. e A valid command will let the module to apply the CAN configuration parameters Invalid command Error Code CR Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC This command does not support user defined CAN baud rate function About CAN filter setting please refer to section 3 2 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 46 This function just supports above firmware version 3 00 Example Command P38040000000000000000 lt CR gt Change the CAN baud rate 125K and acceptance code 0x00000000 acceptance mask 0x00000000 into the CAN Converter module When CAN Converter module was rebooted the CAN parameter will be recovered to the previous setting l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 47 4 11 RA CHK lt CR gt gt Description Reboot the CAN Converter 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 CAN Converter module Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication e
28. e fixed CAN ID If there are more than one CAN converter in the pair connection mode the same fixed CAN ID will make the CAN ID conflict error while these CAN converter are transferring the UART data to the CAN message at the same time Response with CAN ID Users can decide if the CAN ID needs to be transmitted with the UART data to the UART interface In the pair connection application see the picture of the section 1 the CAN ID always doesn t need to be send to the UART interface x End Characters of UART Commands This function is used to set the end characters of the UART command received by the CAN converter The UART data transferred from the CAN messages will not append the specific end characters If the CAN converter gets the specific end characters from the UART interface it is regarded as the end of the UART command and the CAN converter will start to transfer the UART command to the CAN messages immediately None None end character is used When the pair connection command timeout is reached or the UART buffer is full the CAN converter will start to transfer the UART data to the CAN network CR Set the end character of the UART command to CR The hexadecimal value of the ASCII code is 0xOD LF Set the end character of the UART command to CR The hexadecimal value of the ASCII code is Ox0A gt CR LF Set the end characters of the UART command to two characters CR and LF The hexadecimal value of the
29. e the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC Example Command T2E88 lt CR gt send a CAN message with a standard remote frame ID 2E8 DLC 8 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 35 4 3 elliiii LDD CHK CR Description Send or receive an extended CAN data frame Syntax elllllilILDD CHK CR e otands for the extended 2 0B data frame TELE 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 DD Input data frame value according to the data length 00 FF Response Valid command No response Invalid command Error Code CR Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC Example Command e1234567851 122334455 lt CR gt send a CAN message with an extended data frame ID212345678 DLC 5 data1 11 data2 22 data3 33 data4 44 and data5 55 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 36 4 4 Elli l l LCHK z CR Description Send or receive an extended CAN remote frame Syntax EIIIIIIIILICHK e CR E Stands for the extended 2 0B CAN remote frame AUI 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 Response Valid command No response Invalid command lt Error
30. effective only if the checksum mechanism is set to enable For checksum algorithm please refer to the Node in the page 33 CR All RS 232 RS 485 RS 422 USB commands of the CAN Converter must end with the character lt CR gt The ASCII value is 13 The 11 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 Command list table Command frame frame frame frame Converter of overflow l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 32 POBBDSPAE CHK CR Change the RS 232 RS 485 RS 422 USB configuration and save it into EEPROM P1B CHK lt CR gt Change the CAN configuration and save it into EEPROM P2BBDSPAE CHK lt CR gt Change the RS 232 RS 485 RS 422 USB configuration and those parameter will not be saved only for firmware version 3 00 or more P3SBCCCCCCCCMMMMMMMM Change the CAN configuration and those parameters will not be saved only for firmware version 3 00 or more RA CHK lt CR gt Reboot the CAN Converter module Note This command will write parameters into EEPROM and the EEPROM is limited to 100 000 erase write cycles Checksum algorithm The checksum CHK is 2 characters of the sum of the command message from first character to the character before CR When calculate checksum the value of CHK is zero For exam
31. ereus 58 Append D Filter Sewing iioii i Iii Eo e E o o e eene 63 Appendix E Pair Conneclloln ioo orco io ciae co nen oto reco ora eon de co een cora eoe nes coenae erus 64 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 2 1 Introduction CAN Controller Area Network is a serial bus control protocol especially suited to structure intelligent industry devices networks and build smart automatic control systems By using the CAN Bus converters some programmable RS 232 RS 485 RS 422 or USB devices such as PC PAC or PLC can be the master of a CAN network and can control or monitor the CAN devices via the CAN Bus converters Normal Application UART to CAN CAN Slaves CAN Bus ISO 11898 2 CAN Bus ISO 11898 2 inm d CAN Bus en ISO 11898 2 CAN Bus ISO 11898 2 CAN Slaves LSFT CAN Bus ISO 11898 3 m 4 p 2 P 7530 FT CA In order to fit the market requirements there are some functionalities of the converters are expanded for some special applications The transparent mode is useful when the UART sensors or actuators need to be a device of the CAN network The pair connection mode helps the PC to connect with other RS 232 RS 485 RS 422 USB devices via CAN Bus for prompting the communication speeds or extending the communication distance The application architecture may be as follows l 7530 I 7530 FT l 7530A l 7565 User s Manual Version
32. guration Mode Flashes once per second ON LED to be send to CAN bus Flash once when sending a CAN message ERR LED Always turned on Operation Mode The following figure shows the position and behavior of the LED indicators to the tM 7530 T g Peon CAN Bus ISO 11898 2 standard CAN 2 0A 2 08 CAN Baud Rate 10K 1M bps LED Status RUN LED to be send to CAN bus Flash once when sending a CAN or UART message Operation Mode FIFO overflow Always turned on CAN Bus Off niic CAN Error Passive Note The tM 7530 provides 256 CAN frame FIFO and 1000 CAN frame FIFO for other CAN converter l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 19 3 Software Utility This section guide you how to configure the CAN converters and test them by using the VxCAN Utility Users can free download the VxCAN Utility from the ICP DAS web site or get it from the ICP DAS fieldbus CD in the product package Download amp CD ROM path http ftp icpdas com pub cd fieldbus cd can virtual can vxcan utility CD fieldbus_cd can virtual_ canWxcan utility The VxCAN Utility is based on the Virtual CAN technology which is developed by the ICP DAS and is used to integrate the CAN interfaces of the different CAN converters from the ICP DAS All of the CAN interfaces found by the PC will be sequentially mapping to the virtual CAN ports by the Virtual CAN driver Users just use the virtual CAN ports to de
33. he numbers of the time slice for Tos Tphs1 and Tonga l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 59 The formulas are shown below Tos PRS 1 TQ Tons PHS1 1 TQ Tons PHS2 1 TQ Because the Tsyns is defined to 1 TQ therefore one bit time can be presented as below Toit 1 TQ PRS 1 TQ PHS1 1 TQ PHS2 1 TQ And the sample point is defined below sample point Tsyns Tors Tons1 T syns T Tors Tohst Tohs2 3 PRS PHS 4 PRS PHS1 PHS2 Because the maximum value limitation of the register PRS PHS1 and PHS2 the numbers of the Time Quantum always keeps in the range of 8 25 Therefore users can use register BRP to scale it For example if set the BRP to 25 the register value of the BRP is 24 the numbers of the Time Quantum is 500 25 20 Users can change the value of the PRS PHS1 and PHS2 to adjust the required sample point For example If users want to set the CAN baud rate to 40K by user defined method and use the sample point 6096 set the clock mode to be 1 because the CAN Baud rate is more than 12K bps When the Clock mode is 1 the MCU uses X2 mode and the system clock is 20MHz Otherwise the MCU uses X1 mode and the system clock is 10MHz The following steps will guide users to calculate the Bit Timing register step by step 1 Calculate the numbers of the TQ Numbers of the TQ System clock CAN Baud Rate 20 M
34. is in Configuration mode the ON LED is flashed once per second The ERR LED is used for indicating if the module is going wrong or not If there is no error happened the ERR LED is always turned off If some error occurs different CAN converters may have different behavior of the ERR LED When the ERR LED is turned on or flashed users can use the UART command string S CHK lt CR gt to get the details about the error If the error is happened due to the overflow of the CAN or RS 232 software FIFO users can use the UART command string C CHK lt CR gt to clear the error or users may need to reboot the CAN converter for recovery The position and behavior of the LED indicators to the I 7530 I 7530T I 7530A and l 7565 is as following figure LEN RS 232 pem 1 se Won NIE Peon e c AXI ON NON 232 485 422 to CAN Conve 32 485 ter ics ON NON i 7530 FT 7 530 5 4 On O ERR 1 S232 WO LA gt a E Z vt Converter f D Variable uxt Rate of RS 232 P 110 115 2 Oata Sto 5 6 7 8 1 2 n E MATS 25 N RS Su 1 USB to CAN Converter Variable Baud Rate of RS 232 d Var RS 232 1 Support USB1 1 2 0 Full Speed I 110 9600 115 2K NN 48 115 2K j Support CAN 2 0A 2 0B Data Stop Bits 5 6 7 8 1 2 y Da 8 1 2 Variable Baud Rate of CAN Parity None Odd Even 10K 125K 500K 1M 9 Provide CAN message filter LED Name LED Status Confi
35. ith 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 the CAN BUS network please refer to the following table CR au SS Figure Un shielded Twisted Pair UTP Table Cable selection Cable Bus speed Cable type resistance Terminator Bus Length 0 75 0 8mm2 150 300 50k bit s at 1000m 18AWG 70 mOhm 1597300 sog 1000m 0 5 0 6 mm2 150 300 100k bit s at 500m 20AWG 60 mOhm 300 600m 0 34 0 6mm2 500k bit s at 100m 22AWQG 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 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 51 Appendix B Install l 7565 driver 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 http ftp icodas com pub cd tieldbus cd can converter i 7565 driver The following steps will show how to install the device under Windo
36. izard Driver Files Search Results The wizard has finished searching for driver files for your hardware device The wizard found a driver for the following device e USB Device Windows found a driver for this device To install the driver Windows found click Next e can converter i 7565 driveriwin2k_xp ser2pl sys lt Back Cancel 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 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 54 Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has Finished installing the software for F l 7565 Converter Click Finish to close the wizard Eancel Note When you finish the driver installation please unplug the USB cable and then plug the USB cable again 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 I 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
37. k 1000k 1000 k Size Ti Pam Pam Palm Palm l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 5 1 1 Common Features of CAN Bus Converter 1 1 1 Hardware NXP 82C250 TJA1042 CAN transceiver Max transmission distance over 1000 m based on CAN specification Supports both CAN 2 0A and CAN 2 0B Built in a Dual Watchdog function in the module Provides RS 232 RS 422 RS 485 USB 2 0 communication interface 1 1 2 Software Configuration by the software utility Provides power data flow and error LED indicator Supports pair connection mode and transparent mode Provides receive software buffer on CAN and UART side Allows user defined CAN baud rate Supports user defined end character on pair connection mode Offers Listen Only Mode Returns time stamp of the CAN messages l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 6 2 Specifications of the UART to CAN Bus Converters 2 1 Specifications Channel number Spring type 9 pin male D Sub CAN L CAN H N A for others uu aan S Baud Rate bps 10 k 1 40k 1MBDBS 02000 DC DC 3000 Voc DC DC 3000 Voc Isolation photocoupler 2500 Vims photocoupler 2500 Vms None Jumper selected 1200 terminator resistor 1 KO for CAN H Jumper selected Terminator Resistor 1200 terminator resistor ISO 11898 2 ISO 11898 3 ISO 11898 2 9 pin female D Sub TxD RxD RS 232
38. l DIP Switch The Init Normal DIP Switch is used to set the module run in the configuration mode or the operation mode After users get the module the configuration generally needs to be done first Here is the description about the Configuration mode and the Operation mode B Configuration mode This mode is used to set the UART or CAN communication parameters for baud rate data format filter etc After finishing the configuration all of the parameters will be stored in the EEPROM of the CAN converters B Operation mode This mode is used to convert the UART data and CAN messages with each other Users can also use the UART commands to get module information or change some configuration of the UART or CAN parameters Some of UART commands like P2 and P3 for changing the configuration in the normal mode will not be stored in the EEPROM About the detail description please refer to chapter 4 Command List The DIP switch position for different modules may be different The DIP switch of the I 7530 I 7530T I 7530 FT 1 75304A and 1 7565 are on the back of the module as following figure Normal The DIP switch of the tM 7530 is in the bottom of the module l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 17 2 5 2 LED Indication Except the 1 7530A MR all of the CAN converters provide 2 LED indicators The ON LED is turned on when the module is running in Operation mode If the module
39. n test interface D1 D bi DA DS DG ODF ms x o s 00 00 00 oo 00 oo oo i oo B send Area ID increase Send Count 0 crear os Data increase aic sot 0 Stop 7 Scroll Mode L Receive Log No Received Message List Remark Received Area The test interface is divided to two areas One is for sending CAN messages and the other is for reception If users want to send CAN l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 30 message fill the data into the corresponding field and click Send button If the CAN converter gets any CAN messages they will be shown in received area automatically About the details for the VxCAN Utility operation please refer to the users manual of the VxCAN Utility in the following web site http ftp icpdas com pub cd fieldbus cd can virtual can vxcan utility l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 31 4 Command list For easy application we provide 11 command strings to allow users to send and received commands and responses through the CAN Converter like l 7530 It can cover most applications of different requests The general formats of the commands for the CAN Converter modules are in ASCII data format and given below Command Format lt Command gt CHK lt CR gt Command The RS 232 RS 485 RS 422 USB commands of the CAN Converter CHK 2 character checksum value It is
40. nect the available COM port of the PC to the CAN converters and execute the VxCAN Utility FS YxCAN Utility 1 0 Close Configuration Window Windows a 7530 H tM 7530 Init B Step 3 Click the button Y to search all CAN devices connected to the PC B Step 4 After finishing the search the CAN converters for example tM 7530 and l 7530 which are connecting to the PC or have connected to the PC will be list in the left side of the VxCAN Utility If the tM 7530 is in Init mode the VxCAN utility shows the Init information in the list g 1 7530 tM 7530 Init l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 B Step 5 Click the tM 7530 Init in the list the module configuration dialog is popped up Different CAN converters may have the different information in the pop up dialog All of the settings in the module configuration dialog will be saved into the EEPROM of the module EB YxCAN Utility 1 0 9 2 E ES YxCANPort 1 14 7530 Module Setting L ITAET CAN Baud Fate 115200 n CAN specification CAN 2 04 CAN 20B Data Bit j CAN Baud Rate User Defined CAN Baud Rate Required Baud Rate nds ee Parity Bit stop Bit Real Baud Rate None Odd Even Add Checksum O Enable Disable eet CAN ID Filter Eror Response O Enable 9 Disable Timestamp Response CO Enable 9 Disable Save All Setting Load Default Set
41. on of RS 232 baud such as 125K bps When you use pair connection function of CAN Converter module the baud under 125K bps is proper Application 2 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 65 This application architecture is the same as the one of application1 The application architecture is show below The difference will be discussed in the following paragraph For example there are two RS 232 devices which communicate each other by using 1 530 s pair connection function Ae RS 232 RS 232 N J AN I ar Ay b J l Hl All RS 232 Device RS 232 Device Devicel 1 753077 1 753082 Device2 Configurations To apply this application user need to configure the CAN Converter module 1 and 2 like l 7530 as above figure The RS 232 configurations of module 1 and module 2 are decided by the Device1 and Device2 RS 232 parameters CAN Pair Connection UAR T Setting CAN Pair Connection UAR T Setting CAN Specification C Repsonse with the CAN ID CAN Specification C Repsonse with the CAN ID CAN 2 04 CAN 2 0B N i E End Characters of UAR T Commands o NT End Characters of UART Commands CAN Baud Rate 125K v O None User Defined CAN Baud Rate 125K v O None O User Defined User Defined CAN Baud Rate CR User Defined User Defined CAN Baud Rate 9 CR User Defined2 Required Baud Rate fae Required Baud Rate i cae HEH o m O
42. on 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 In CAN 2 0A number of CAN ID bits is 11 In CAN 2 0B number of CAN ID bits is 29 l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 63 Appendix E Pair Connection The pair connection function usually needs two the same CAN Converter modules For example when these two 1 7530s are in pair connection mode all RS 232 commands transmitted from one of these two 1 7530s will be put in the data field of CAN message This CAN message will be transferred to RS 232 commands by another l 7530 The following section will show each condition for different pair connection configuration Application 1 This application may be used in two general RS 232 devices which need to connect with each other but the distance between is too large to communicate by using RS 232 RE RS 232 RS 232
43. or t001512345 lt CR gt Right t00150102030405 lt CR gt The checksum from the RS 232 RS 485 RS 422 USB command string does not matched with the checksum 3 calculated by the CAN Converter module For example Error t0012112209 lt CR gt Right t00121122FD lt CR gt The ASCII command strings are sent incomplete 5 For example Error T0018 Right T0018 CR Timeout If the CAN Converter module s CAN baud rate is not the same as the CAN baud rate on the CAN network the ON LED on the CAN Converter module will be flash with a constant frequency because the CAN Converter module cannot send any CAN messages to the CAN network Therefore users will need to read the CAN Converter module status by using the command S CHK lt CR gt in the section 4 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 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 50 Appendix A 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 w
44. per operation as shown in the below figure If there are not only two terminator resistors or only have one terminator resistor on the CAN bus the CAN network may be malfunction About the terminator resistor of the I 7530 FT follows the ISO 11898 3 specification each I 7530 FT has its own terminator resistor Users don t need to take care about that CAN_L Figure Terminator resistor for the ISO 11898 2 CAN network lf users would like to enable or disable the terminator resistor inside the CAN converters it is necessary to open the cover of the CAN converters and use jumper to do that Here are the descriptions of how to enable or disable the terminator resistor of the CAN converters JP3 position Enable default JP3 sene Disable Deactivate Enable default Activate Disable Deactivate JP4 position JP4 Enable default e Activate e JP3 JP4 Lease N LEAR Disable Deactivate There is no terminator resistor in the tM 7530 Therefore if users would like to use terminator resistor it is necessary to wire a 1200 resistance on the CAN bus as following figure tM 7530 o Isolated RS 232 to CAN Converter Power 10 30 Ve a 232 Variable Baud Rate 300 255406 bos Variatie Data Format CAN Bus 150 119982 standard CAN 2 04 2 08 CAN Baud Rate 10 1 M bos l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 2 5 1 Init Norma
45. ple Command Reboot the CAN Converter module RA CHK lt CR gt 1 Sum of the string R A 52h 41h 93h 2 Therefore the checksum is 93h and so CHK 93 3 The command string with checksum RA93 lt CR gt l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 33 4 1 tlIILDD CHK lt CR gt Description Send or receive a standard CAN data frame Syntax tlIILDD CHK CR t Represent a standard 2 0A data frame lil 11 bits Identifier 000 7FF L Data length 0 8 DD Input data frame value according to the data length 00 FF Response Valid command No response Invalid command Error Code CR Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC Example Command t03F6112233445566 lt CR gt send a CAN message with a standard data frame ID 03F DLC 6 data1 211 data2 22 data3 33 data4 44 data5 55 and data6 66 l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 34 4 2 THIL CHK lt CR gt Description Send or receive a standard CAN remote frame Syntax THIL CHK lt CR gt T Represents a standard 2 0A remote frame lil 11 bits Identifier 000 7FF L Data length 0 8 Response Valid command No response Invalid command Error Code CR Note It is necessary to enabl
46. r Prolific Technology Inc Location Location LIS B Serial Controller Device status This device is working properly IF you are having problems with this device click Troubleshoot to start the traubleshonter Device usage Use this device enable l 7530 l 7530 FT l 7530A l 7565 User s Manual Version 1 2 Jun 2014 56 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 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 565 driver 2 The uninstall program will then prompt you whether you want to remove the utility program Click OK to continue ED t U SE Serial Driver Remo x Press DK to remove driver Cancel 3 After the uninstall is complete the program will prompt you to restart Windows Click Yes to continue Warning A If you want to 1nstall new driver you must re boot Windows system now Will you re boot Windows system immediately OK Cancel 4 Windows will show
47. rror information at the host PC gt Example Command RA lt CR gt The CAN Converter module will reboot after it had received this command l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 48 4 12 General Error code for all command Table Error code table Ascii ToHex Description Error code 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 Heserved B5 The RS 232 RS 485 RS 422 USB receiver is timeout l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 49 5 Troubleshooting If the Error response function on the CAN Converter module is set to Yes that means enable via the CAN Converter Utility during the configuration period the CAN Converter will send the error code to the RS 232 RS 485 RS 422 USB device of the host PC through the RS 232 RS 485 RS 422 USB media when the CAN Converter produces an error message automatically during the operation mode The meanings of these error codes are given below Table Error code table Error Mu code Description Possible causes amp solutions The RS 232 RS 485 RS 422 USB command string m header header is not P T e E S C PO P1 P2 P3 nor RA The data byte of the CAN Message does not match the data length of the CAN Message For example 2 invalid length Err
48. s parameter is MCU s bit timing register 3 please refer to the next page Table Bit Timing Register l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 58 How to fill those parameter The Bit Timing register includes six kinds of parameter BRP SJW PRS PHS2 PHS1 and SMP Please refer to the following table Table Bit Timinc Heo ister Su mmemmm Bit Timing 1 o BRPS BRP4 BRP BRP BAPI BRPO f __ Bit Timing 2 SJWi SJWO PRS2 PRSO Bit Timing 3 PHS22 PHS21 PHS20 PHS12 PHS11 PHS10 SMP Figure General structure of a bit period 3 1 Fean Bit Rate Prescaler Presc ler a 5cCl system clock E M l n 7 UU data 1 Phase error 0 Phase error 0 3 Phase error gt 0 4 Phase error lt 0 Synchronization Segment SYNS Tsyns 1xTscl fixed JP Sample Point Transmission Point Tbit calculation Tbit Tsyns Tprs Tphs1 Tphs2 Generally the register of SJWO SWJ1 and SMP are always O0 One bit time consists of the time Tsyns Tp Tphs1 and Tpons2 and can be divided into numbers of time slice TQ according to the system clock The formula is shown below Numbers of TQ System Clock CAN Baud Rate For example when the CAN baud rate is 40 kbps the numbers of TQ would be 20 MHz 40 Kbps 500 It means that the CAN converter can divided one bit time into 500 parts The register PRS PHS1 and PHS2 indicates t
49. te 6 7 Lo NA 7 NA 1 O Lo NA N A XD XD N A N A N A N A N A The UART connector for 1 7530A Table RS 232 485 422 Connector CN1 ON1 Terminal 1 Y DATA RS 485 422 Vs 10 30 Vpc Power 14 B GND Power TX 7 l 7530 l 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 9 The CAN connector for I 7530 Il 7530FT I 7530T I 7530A I 7565 Table CAN DB9 Male Connector CN2 2 wire or 3 wire CAN N A o co n CAN Low CAN GND LIE 0L LE LJ ie N A CAN GND o CAN High The Power CAN connector for tM 7530 Table Power CAN Connector CN1 CN2 Vs 10 30 Voc Power GND Power CAN L CAN H CAN GND l 7530 I 7530 FT I 7530A l 7565 User s Manual Version 1 2 Jun 2014 10 2 3 Block Diagram The 1 7530 1 7530T and tM 7530 provide CAN and RS 232 communication interfaces The isolator is on the CAN side The connector of the CAN port to the 1 7530 1 7530T and tM 7530 are the D Sub 9 pin male connector and the spring type connector respectively Figure The block diagram of the I 7530 I 7530T and tM 7530 The hardware profile of the 1 530 FT is the same as the 1 7530 I 530T The main difference between 1 7530 FT and I 7530 I 7530T is followed CAN specification The I 7530 FT is ISO 11898 3 device which is also called low speed fault tolerance LSFT CAN device There is no isolator on
50. the RS 232 RS 485 RS 422 USB baud rate 115 2K data bit 8 stop bit 1 none parity no checksum and No error responses into the CAN Converter module and then reboot the CAN Converter module l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 42 4 8 P1B CHK CR Description Change the CAN configuration of CAN Converter module Module will be rebooted after saving these parameters into EEPROM successfully gt Syntax P1B CHK lt CR gt P1 Command character B CAN Baud rate Table CAN baud rate list B Description 0 f t Kbaudraeof CAN O gt Z o 2 50K baud rate of CAN 9 50K baud rate of CAN I 7530 FT does not support 2 500K baud rate of CAN I 7530 FT does not support 800K baud rate of CAN I 7530 FT does not support 000K baud rate of CAN I 7530 FT does not support 83 3K baud rate of CAN I 7530 FT does not support gt Response A valid command will write the CAN configuration baud rate into the EEPROM and then reboot the module Invalid command Error Code CR Note It is necessary to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC This command does not support user defined CAN baud rate function Example Command P14 CR Set the CAN baud rate 125K into the l 7530 module and then reboot the l 7530 module l 7530 I 7530 FT 1 7530A l 7
51. ting The configuration is divided to three areas with different color They are UART Communication and CAN configuration area UART Configuration x Baud rate Set the UART baud rate Different CAN converters have different max UART baud rates Users can select the proper UART baud for the CAN converters Data bit Set the UART data bit The CAN converters support 4 kinds of data bit configuration Stop bit Set the UART stop bit The CAN converters support 2 kinds of stop bit configuration Parity bit Set the UART parity bit The CAN converters support 3 kinds of parity bit configuration l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 22 Add Checksum Set the CAN converters to enable or disable the checksum mechanism in the UART communication If enable the checksum function all UART strings from to the tM 7530 must append two bytes of the checksum information For checksum algorithm please refer to the Node in the page 33 Error Response Set the CAN converters to enable or disable the error response mechanism in the UART communication If enable the error response the error code will be replied when users use the wrong UART command string to communicate with the CAN converters x Timestamp Response Set the CAN converters to enable or disable the timestamp response mechanism If enable the timestamp response the timestamp of each CAN message will be appended in the
52. tion timing of the UART messages to CAN messages Only the configuration of the end characters of the UART message is none the UART timeout is useful After receiving one character from the UART interface the CAN converter will not transfer the data until the time of the UART timeout passes Fair Connection Command Timeout About details of the pair connection please refer to the Appendix E for reference Save and default value button Save All Setting Load Default Setting After finishing the configuration users can click the button Save All Setting to save the configuration in to the EEPROM of the CAN converter If users would like to recover the parameters to the factory default click Load Default Setting button to recover all of the configuration parameters to be default value Afterwards l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 27 users can use the button Save All Settings to save the default parameters in to the EEPROM of the CAN converter The default values of the parameters of the CAN converter are shown below RS 232 CAN RS 232 Baud rate 115200 921600 for l 7565 Data Bit 8 Stop Bit 1 Parity None Add Checksum No Error Response No TimeStamp Response No CAN Specification 2 0A CAN bus Baud rate 125K Acceptance Code 000 Acceptance Mask 000 Communication Mode Normal l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version
53. velop their application and don t need to know what kind of CAN converter they use It is very useful for transplanting the application to other platform with different CAN devices Besides the VxCAN Utility also provides the configuration interface for UART to CAN converters Users can use this tool to configure the CAN converter test the CAN devices monitor the CAN network and analysis the CAN messages For more information about the VxCAN Utility please refer to the website or the VxCAN Ultility s manual htip www icpdas com root product solutions industrial communicatio n fieldbus can bus other vxcan driver html Note If users would like to use the old version utility tool of the CAN converter please refer to the following path http ftp icpdas com pub cd fieldbus cd can converter i 5930 utility old version http ftp icpdas com pub cd fieldbus cd can converter i 530a utility old version http ftp icpdas com pub cd fieldbus cd can converter i 565 utility old version l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 20 3 1 How to configure and test the CAN converters Configuration Interface B Step 1 Before powering on the CAN converters users must set them to the Init mode Users need to switch the Init Normal DIP switch to Init position described in the section 2 5 1 Afterwards power on the CAN converter and the Run LED indicator will be flashed once per second B Step 2 Con
54. ws 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 l 7565 3 Windows will detect the new device 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 4 Back Cancel 4 An Install Hardware Device Drivers window is shown Click Next to initiate a search for a suitable driver for your device l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 52 Upgrade Device Driver Wizard i Install Hardware Device Drivers A device driver is a software program that enables a hardware device to work with ty an operating system This wizard upgrades drivers for the following hardware device E USB Device Tas Upgrading 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 C Display a list of the known drivers for this device sa that can choose a specific diver Back
55. y to enable the Error Response function in the CAN Converter Utility in order to receive Syntax and or communication error information at the host PC This function just supports firmware version 3 00 or more Example Command P20B30000 lt CR gt The module s RS 232 RS 485 RS 422 USB configuration will be change to baud rate 115 2K data bit 8 stop bit 1 none parity no checksum and no error responses When CAN Converter module was rebooted the RS 232 RS 485 RS 422 USB parameter will be recovered to the previous setting l 7530 I 7530 FT 1 7530A l 7565 User s Manual Version 1 2 Jun 2014 45 4 10 P3SBCCCCCCCCMMMMMMMM CHK lt CR gt gt Description Change the CAN configuration of CAN Converter module This command will save the CAN configuration parameter into SRAM When the module is rebooted the CAN configuration will recover the previous setting gt Syntax PSSBCCCCCCCCMMMMMMMMICHK lt CR gt P3 Command character S CAN Specification 2 0A 2 0B B CAN Baud rate CCCCCCCC CAN filter acceptance code MMMMMMM CAN filter acceptance mask Table CAN baud rate list B Description O0 f OKbaudraeofCAN ss 1 20K baud rate of CAN 2 50K baud rate of CAN 3 100K baud rate of CAN 4 125K baud rate of CAN 6 500K baud rate of CAN 7530 FT does notsupport 8 1000K baud rate of CAN 7530 FT does not support 9 j83 3K baud rate of CAN 7530 FT does not support gt Respons
Download Pdf Manuals
Related Search
Related Contents
Acu-Rite 615 Weather Radio User Manual Small engine EFI conversion kits 3Com 9000 Switch User Manual Copyright © All rights reserved.
Failed to retrieve file