background image

 

 I-7530, I-7530-FT, I-7530A, I-7565 

User’s Manual (Version 1.3, Apr/2015) -------- 66

 

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 I-

7530’s pair connection function. 

 

 

 

Configurations:  

To  apply  this  application,  user  need  to  configure  the  CAN  Converter 

module #1 and #2, like I-7530 as above figure. The RS-232 configurations 
of  module  #1  and  module  #2  are  decided  by  the  Device1  and  Device2 
RS-232 parameters. 
 

      

              

 

            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  I-7530  series,  not  tM-7530  included.  tM-7530  used  256 

Содержание I-7565

Страница 1: ...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...

Страница 2: ...LED Indication 18 3 Software Utility 20 3 1 How to configure and test the CAN converters 21 4 Command list 32 4 1 tIIILDD CHK CR 34 4 2 TIIIL CHK CR 35 4 3 eIIIIIIIILDD CHK CR 36 4 4 EIIIIIIIIL CHK CR...

Страница 3: ...be the master of a CAN network and can control or monitor the CAN devices via the CAN Bus converters In order to fit the market requirements there are some functionalities of the converters are expand...

Страница 4: ...Version 1 3 Apr 2015 4 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...

Страница 5: ...USB virtual COM port to CAN Bus converter with 9 pin D sub connector on the CAN side tM 7530 The tiny size RS 232 to CAN Bus converter with 3 pin spring type connector Table The Mail Difference betwe...

Страница 6: ...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 indi...

Страница 7: ..._L Jumper selected 120 terminator resistor Specification ISO 11898 2 ISO 11898 3 ISO 11898 2 RS 232 USB Interface Connector 9 pin female D Sub TxD RxD GND N A for others RS 232 TxD RxD GND RS 485 RS 4...

Страница 8: ...32 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 follo...

Страница 9: ...l 3 wire RS 232 1 N A 2 TXD 3 RXD 4 N A 5 GND 6 N A 7 N A 8 N A 9 N A The UART connector for I 7530A Table RS 232 485 422 Connector CN1 Terminal RS 232 485 422 1 Y DATA RS 485 2 G DATA RS 485 3 N A 4...

Страница 10: ...T I 7530A I 7565 Table CAN DB9 Male Connector CN2 Terminal 2 wire or 3 wire CAN 1 N A 2 CAN Low 3 CAN GND 4 N A 5 CAN GND 6 N A 7 CAN High 8 N A 9 N A The Power CAN connector for tM 7530 Table Power C...

Страница 11: ...le of the I 7530 FT is the same as the I 7530 I 7530T The main difference between I 7530 FT and I 7530 I 7530T is followed CAN specification The I 7530 FT is ISO 11898 3 device which is also called lo...

Страница 12: ...nterfaces On the USB interface the I 7565 provides the virtual COM driver Users can use the I 7565 instead of the I 7530 if the device only have USB host interface The I 7565 is powered by the USB int...

Страница 13: ...e describes the wire connection between the PC and the modules Figure Connects the I 7530 I 7530T I 7530 FT or tM 7530 to the PC The I 7530A has one UART port with three kinds of interfaces The follow...

Страница 14: ...7530 FT I 7530A and I 7565 follows both the CANopen DS102 profile and the appendix C of the DeviceNet specifications The wire connections are as follows Figure The CAN Bus wire connection to the I 753...

Страница 15: ...inator 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 Figure Terminator resistor for the ISO 11...

Страница 16: ...3 Apr 2015 16 There is no terminator resistor in the tM 7530 Therefore if users would like to use terminator resistor it is necessary to wire a 120 resistance on the CAN bus as following figure Status...

Страница 17: ...all of the parameters will be stored in the EEPROM of the CAN converters Operation mode This mode is used to convert the UART data and CAN messages with each other Users can also use the UART commands...

Страница 18: ...or 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 co...

Страница 19: ...ways turned on The following figure shows the position and behavior of the LED indicators to the tM 7530 LED Name Condition LED Status RUN LED Configuration Mode Flash once per second Operation Mode T...

Страница 20: ...N ports to develop 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...

Страница 21: ...wer on the CAN converter and the Run LED indicator will be flashed once per second Step 2 Connect the available COM port of the PC to the CAN converters and execute the VxCAN Utility Step 3 Click the...

Страница 22: ...s divided to three areas with different color They are UART Communication and CAN configuration area UART Configuration Baud rate Set the UART baud rate Different CAN converters have different max UAR...

Страница 23: ...g 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 specifica...

Страница 24: ...ge 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...

Страница 25: ...presented by the command strings In pair connection mode the CAN converters will transfer any UART message to the data field of the CAN messages whose message ID are fixed and predefined by the utilit...

Страница 26: ...ART 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 UAR...

Страница 27: ...meout is similar with the CAN timeout It is decide the transformation timing of the UART messages to CAN messages Only the configuration of the end characters of the UART message is none the UART time...

Страница 28: ...EPROM of the CAN converter The default values of the parameters of the CAN converter are shown below RS 232 RS 232 Baud rate 115200 921600 for I 7565 Data Bit 8 Stop Bit 1 Parity None Add Checksum No...

Страница 29: ...he 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 Step 2 Connect the COM port of PC to the CAN conv...

Страница 30: ...ort 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...

Страница 31: ...eld 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 manua...

Страница 32: ...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 CR The ASCI...

Страница 33: ...configuration and those parameters will not be saved only for firmware version 3 00 or more RA CHK CR Reboot the CAN Converter module Note This command will write parameters into EEPROM and the EEPROM...

Страница 34: ...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 Co...

Страница 35: ...2 0A remote frame III 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 enable the Error Response function in the CA...

Страница 36: ...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 functio...

Страница 37: ...remote frame IIIIIIII 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 Response Valid command No response Invalid command Error Code CR Note It is necessary to enable the Error Response functio...

Страница 38: ...cessary 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 i...

Страница 39: ...ror General Bit 0 Acknowledgment Error General Table CAN or RS 232 RS 485 RS 422 USB FIFO overflow flag list AsciiToHex O Description Bit 3 Reserved Bit 2 Reserved Bit 1 RS 232 RS 485 RS 422 USB FIFO...

Страница 40: ...aracter 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 No...

Страница 41: ...P Parity 0 None 1 Odd 2 Even C Checksum 0 No 1 Yes E Error Response 0 No 1 Yes Table RS 232 RS 485 RS 422 USB baud rate list BB Description 00 110 bps baud rate of RS 232 01 150 bps baud rate of RS 2...

Страница 42: ...ary 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 I 7565 supports only one 921600 baud rate on the...

Страница 43: ...6 500K baud rate of CAN I 7530 FT does not support 7 800K baud rate of CAN I 7530 FT does not support 8 1000K baud rate of CAN I 7530 FT does not support 9 83 3K baud rate of CAN I 7530 FT does not s...

Страница 44: ...s Data formation 3 8 bits Data formation S Stop bit 0 1 stop bit 1 2 stop bits P Parity 0 None 1 Odd 2 Even C Checksum 0 No 1 Yes E Error Response 0 No 1 Yes Table RS 232 RS 485 RS 422 USB baud rate l...

Страница 45: ...ecessary 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 versio...

Страница 46: ...20K baud rate of CAN 2 50K baud rate of CAN 3 100K baud rate of CAN 4 125K baud rate of CAN 5 250K baud rate of CAN I 7530 FT does not support 6 500K baud rate of CAN I 7530 FT does not support 7 800K...

Страница 47: ...pports above firmware version 3 00 Example Command P3040000000000000000 CR Change the CAN baud rate 125K and acceptance code 0x00000000 acceptance mask 0x00000000 into the CAN Converter module When CA...

Страница 48: ...order to allow it to work in order again Syntax RA CHK CR RA Command character Response Valid command will reboot the CAN Converter module Invalid command Error Code CR Note It is necessary to enable...

Страница 49: ...code for all command Table Error code table AsciiToHex 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...

Страница 50: ...gth of the CAN Message For example Error t001512345 CR Right t00150102030405 CR 3 Invalid checksum The checksum from the RS 232 RS 485 RS 422 USB command string does not matched with the checksum calc...

Страница 51: ...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 Figure Un shielded Twisted Pair UTP Table Cable select...

Страница 52: ...owing 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...

Страница 53: ...al search locations If the CD ROM drives checkbox is selected please insert the driver CD Click Next to start the search 6 If the Specify a location is selected you much choose the correct path Enter...

Страница 54: ...4 7 Once Windows finds the correct driver click Next to install the driver 8 Windows will then install the driver for the USB to Serial COM Port Once installation is complete Windows will notify you t...

Страница 55: ...the I 7565 for the first time ensure that you do not attach any serial devices to the converter You must only connect the I 7565 by itself To verify whether the device is properly installed and deter...

Страница 56: ...530 FT I 7530A I 7565 User s Manual Version 1 3 Apr 2015 56 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 p...

Страница 57: ...ling 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 I 7565 driver or at ftp...

Страница 58: ...ility There are four parameters for this function please refer the below setting window 1 Clock Mode This parameter is means MCU clock If the CAN Baud rate is less then 12k this parameter value is 0 o...

Страница 59: ...S22 PHS21 PHS20 PHS12 PHS11 PHS10 SMP Figure General structure of a bit period Generally the register of SJW0 SWJ1 and SMP are always 0 One bit time consists of the time Tsyns Tprs Tphs1 and Tphs2 and...

Страница 60: ...rs 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 PHS...

Страница 61: ...2 3 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 SMP 0 once at the sample point SMP...

Страница 62: ...ting 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 th...

Страница 63: ...k the 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...

Страница 64: ...nt 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...

Страница 65: ...sers set the Fixed Tx CAN ID field of CAN Converter Device 1 to be 0x001 0x 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 byte...

Страница 66: ...ion 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...

Страница 67: ...CAN bus The architecture is shown below Configurations In order to apply this application user need to configure the three CAN Converter modules 1 2 and 3 like I 7530 as above figure The RS 232 config...

Страница 68: ...Device3 it needs to send 0031234567 RS 232 commands to I 7530 1 When the Device2 or Device3 respond the RS 232 commands 456789 the CAN message will have CAN ID 0x002 and 0x003 because of the configur...

Отзывы: