background image

 

I-7530 RS-232/CAN Converter User’s Manual (Version 2.5, Mar/2012) ------------- 19

 

3.3     Test I-7530 on CAN network (Only for normal mode) 

 

The following procedure will guide you to learning how to 

transmit/receive CAN messages to/from other devices/PCs by using the I-
7530 converter.  Note that users can only employ this test function for the 
system if they are using the default communication parameters for the RS-
232 as provided above. 

 

1. Set the Init/Normal switch to the Normal position, which is found at the 

back of the I-7530 module. 

2. Connect the I-7530’s CAN port into the CAN network, which must at 

least have one CAN device on the network. 

3. Supply the 10~30 volts DC source into the I-7530 module through the 

power terminal. 

4. The ON LED on the I-7530 module will be turned on. That means the I-

7530 is working in the operation mode. 

5. Run the I-7530 Utility software after there is a wire connection as shown 

in Section 2.5. 

6. Select the “Test” tab and click the “Connect” icon on the tool bar in the 

I-7530 Utility to configure the PC COM port and Baud rate, which will be 
used to connect to the COM port of the I-7530. 

 

 

 

Summary of Contents for I-7530-G CR

Page 1: ...r 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 reliabl...

Page 2: ...1 2 7 Cable selection 12 3 Software Utility 13 3 1 How to configure the module parameters 14 3 2 How to set the Acceptance Code and Mask 18 3 3 Test I 7530 on CAN network Only for normal mode 19 3 4 P...

Page 3: ...systems By using I 7530 some programmable RS 232 devices such as PC I 8000 WinPAC 8000 embedded controllers can be the master of a CAN network Therefore they can control or monitor the CAN devices via...

Page 4: ...N network Provide power data flow and error LED indicator for CAN and RS 232 Built in a Dual Watchdog function in the module Support transparent communication mode Provide the transparent communicatio...

Page 5: ...Software Utility tool CAN bus Baud Rate configuration CAN acceptance filter configuration Setting for CAN 2 0A or 2 0B working mode Setting for I 7530 communication mode normal mode or pair connectio...

Page 6: ...ctions on the I 7530 module It provides the 3000Vrms Isolation in the CAN interface site And hardware media in RS 232 interface is only adopted 3 wire connection Figure 1 Block diagram of I 7530 2 2 P...

Page 7: ...CAN Converter User s Manual Version 2 5 Mar 2012 7 Table 2 CAN DB9 Male Connector CN2 Terminal 2 wire CAN 1 Not Connect 2 CAN Low 3 4 5 6 Not Connect 7 CAN High 8 9 Not Connect Figure 2 Pin Assignment...

Page 8: ...e is inserted directly into a PC s COM serial port or via a cable to the Host system Figure 3 RS 232 connection The pin assignment of the CAN port on the I 7530 DB9 male defined in both the CANopen DS...

Page 9: ...wn in the below figure Figure 5 Terminator resistor Therefore the I 7530 module supplies a jumper for users to connect the terminator resistor or not If users want to use this terminator resistor plea...

Page 10: ...530 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 I 7530 module by using the I 7530 Utility...

Page 11: ...R 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 th...

Page 12: ...w 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 4 Figure 9 Un shielded Twisted Pair UTP Table 4 Cable selection...

Page 13: ...te http www icpdas com products Remote_IO can_bus i 7530 htm or get this information from the ICP DAS field_bus CD ROM The I 7530 Utility tool can be used to configure the operation status of the CAN...

Page 14: ...r second That means the I 7530 module is working in the configuration mode 4 Run the I 7530 s Utility software after connect the PC COM port and the I 7530 COM port by a RS 232 cable 5 Click the Conne...

Page 15: ...ut The I 7530 Utility will show the communication information from the I 7530 module in the window 7 Set the RS 232 parameters for I 7530 RS 232 port Note 1 When the function Add Checksum is set to Ye...

Page 16: ...of End of RS 232 command Fixed Tx CAN ID and Response with CAN ID are useful 3 When Pair Connection is checked I 7530 is into pair connection mode If it is unchecked I 7530 is normal mode In pair con...

Page 17: ...the CAN and RS 232 communication parameters on the I 7530 will be set to the default values which are RS232 RS 232 Baudrate 115200 Data Bit 8 Stop Bit 1 Parity None Add Checksum No Error Response No...

Page 18: ...ter 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...

Page 19: ...the Normal position which is found at the back of the I 7530 module 2 Connect the I 7530 s CAN port into the CAN network which must at least have one CAN device on the network 3 Supply the 10 30 volts...

Page 20: ...tions 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...

Page 21: ...232 commands by another I 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 whic...

Page 22: ...CAN ID is 29 bit ID Here assume users set the Fixed Tx CAN ID field of I 7530 1 to be 0x001 0x is for hexadecimal format and CAN 2 0A is used the CAN ID displayed in above figure is 0x001 If there are...

Page 23: ...tion Descriptions The communication of this condition is similar with the communication of condition 1 The difference is that the I 7530 2 of the application 1 will transfer the RS 232 commands to Dev...

Page 24: ...etwork via CAN bus The architecture is shown below Configurations In order to apply this application user need to configure the I 7530 1 I 7530 2 and I 7530 3 as follows The RS 232 configurations of t...

Page 25: ...232 commands 1234567 to 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...

Page 26: ...0 Converter must end with the character CR 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 th...

Page 27: ...sum of the command message from first character to the character before CR When calculate checksum the value of CHK is zero For example Command Reboot the I 7530 module RA CHK CR 1 Sum of the string...

Page 28: ...lity in order to receive Syntax and or communication error information at the host PC Example Command t03F6112233445566 CR Send a CAN message with a standard data frame ID 03F DLC 6 data1 11 data2 22...

Page 29: ...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 I 7530 Utility in order to receive Syntax and or commun...

Page 30: ...rror flag message Syntax S CHK CR S Command character Response Valid Command CFFTTRRO CHK CR Invalid command Error Code CHK CR Delimiter for valid command C current baud rate setting of CAN FF CAN reg...

Page 31: ...s 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 RS 232...

Page 32: ...s necessary to enable the Error Response function in the I 7530 Utility in order to receive Syntax and or communication error information at the host PC Example Command C CR 4 7 P0BBDSPAE CHK CR Descr...

Page 33: ...38400 bps baud rate of RS 232 0A 57600 bps baud rate of RS 232 0B 115200 bps baud rate of RS 232 Response A valid command will write the RS 232 configuration parameters into the EEPROM and then reboo...

Page 34: ...rate of CAN 4 125K baud rate of CAN 5 250K baud rate of CAN 6 500K baud rate of CAN 7 800K baud rate of CAN 8 1000K baud rate of CAN Response A valid command will write the CAN configuration baud rat...

Page 35: ...command Error Code CR Note It is necessary to enable the Error Response function in the I 7530 Utility in order to receive Syntax and or communication error information at the host PC Example Command...

Page 36: ...ength of the CAN Message For example Error t001512345 CR Right t00150102030405 CR 3 Invalid checksum The checksum from the RS 232 command string does not matched with the checksum calculated by the I...

Reviews: