Ethernet/modbus tcp/modbus rtu to can converter (113 pages)
Summary of Contents for ICP DAS USA I-7530
Page 1
Copyright Copyright 1997 by ICP DAS. All rights are reserved. Trademark The names used for identification only may be registered trademarks of their respective companies. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 1...
Software Utility ....................13 How to configure the module parameters ......... 14 How to set the Acceptance Code and Mask ........18 Test I-7530 on CAN network (Only for normal mode) ....... 19 Pair Connection Mode Description ........... 21 Command list .....................26 tIIILDD…[CHK]<CR>................
RS-232 devices such as PC, I-8411/I-8431/I-8811/I-8831 embedded controllers, can be the master of a CAN network. Therefore, they can control or monitor the CAN devices via the I-7530 module. Moreover, we expand the functionalities of I-7530 for some special application.
1M bps • Isolation voltage: 3000Vrms on the CAN side Power requirement: • Unregulated +10V DC ~ +30V DC • Power reverse protection, Over-Voltage brown-out protection • Power consumption: 1W I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 4...
Page 5
• 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 connection mode) • Setting the Baud Rate and data format on RS-232 •...
2. Hardware 2.1 Block Diagram Figure 1 is a block diagram illustrating the functions 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...
Page 7
Table 2: CAN DB9 Male Connector (CN2) Terminal 2-wire CAN Not Connect CAN Low Not Connect CAN High Not Connect Figure 2: Pin Assignment of the I-7530 I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 7...
Hardware connection The RS-232 port on the I-7530 (DB9 female) 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 DS102 profile and in appendix C of the DeviceNet specifications.
If users want to use this terminator resistor, please open the I-7530 cover and use the JP3 jumper to activate the 120 Ω terminator resistor built in the system, as in the following figure. Note that the default setting is active.
(2) Operation mode: After the configuration, users need to set the dip- switch to the “Normal” position. Users need to turn the power off then on again so that they can use the I-7530 in the operation mode. Once you have completed your configurations and have switched to the operation mode, then messages can pass between the CAN and the RS-232.
I-7530 has built in software FIFO queues, which include 1000 CAN data frames. It also provides two LEDs to indicate to users what situation the I-7530 is in. The ON LED indicator establishes the power and operation situation simultaneously. If the module is working in the operation mode, the ON LED is always turned on.
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. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 12...
3. Software Utility This section will show you how to configure the I-7530 and test it by using I-7530 Utility. Users can download I-7530 Utility software from the ICP DAS web site: 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 and RS-232 communications.
3. The I-7530 module’s ON LED will flash approximately once per 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.
Page 15
Note: If the I-7530 is in the Init mode or users choose the “Settings” tab, they can only communicate with each other by using 115200 Baud. 6. Then the I-7530 configuration window will be brought out. The I-7530 Utility will show the communication information from the I-7530 module in the window.
Page 16
3. When “Pair Connection” is checked, I-7530 is into pair connection mode. If it is unchecked, I-7530 is normal mode. In pair connection mode, all commands written to I-7530 COM port will transfer to the CAN bus directly. For more detail information about pair connection mode, please refer to the section 3.4.
Page 17
Note: If users click the “Defaults” icon, all of 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 Stop Bit Parity = None Add Checksum...
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. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 18...
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.
Page 20
“Receive” list box. Besides, user can press the “Clear” button to remove the messages on the list box and then the new CAN messages will be shown on the list box again. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 20...
RS-232. Configurations: To apply this application, user need to configure the I-7530#1 and I- 7530#2 as follows. The RS-232 configurations of I-7530#1 and I-7530#2 are decided by the Device1 and Device2 RS-232 parameters.
Page 22
CAN 2.0B is used, the 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.
Page 23
Communication 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 Device2 immediately if it receives any CAN message from the I-7530#1. The I-7530#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’).
Page 24
“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 I-7530#1 receives the RS- I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 24...
Page 25
Note: In pair connection mode, all RS-232 commands listed in section 4 are useless. When the RS-232 or CAN buffer of I-7530 is overflow. The ERR Led will be turned on for 300ms, and then I-7530 will be reset by watchdog automatically.
4. Command list For easy application, we provide 9 command strings to allow users to send and receive commands and responses through the I-7530. It can cover most applications of different requests. The general format of the commands for the I-7530 are given below: Command Format: <Command>[CHK]<CR>...
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 communication error information at the host PC. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 27...
Example: Command: E010156786<CR> Send a CAN message with an extended remote frame. ID=01015678, DLC=6. 4.5 S[CHK]<CR> Description: Read the I-7530 CAN Baud Rate and error flag message. Syntax: S[CHK]<CR> Command character. Response: Valid Command: !CFFTTRRO[CHK]<CR> Invalid command: ?<Error Code>[CHK]<CR> Delimiter for valid command...
Page 30
Obtain some current information on the I-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. I-7530 RS-232/CAN Converter User’s Manual (Version 2.0, Sep/2007) ------------- 30...
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> Description: Change the RS-232 configuration on the I-7530 module and then reboot the I-7530 module. Syntax: P0BBDSPCE[CHK]<CR> Command character RS-232 Baud rate...
Example: Command: P00B30000<CR> Set the RS232 baud rate=115.2K, data bit=8, stop bit=1, none parity, no checksum and No error responses into the I-7530 module and then reboot the I-7530 module. 4.8 P1B [CHK]<CR> Description: Change the CAN configuration of I-7530 module and then reboot the I-7530 module.
I-7530 module. 4.9 RA[CHK]<CR> Description: Reboot the I-7530 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.
If the Error response function on the I-7530 module is set to be “Yes”(that means enable) via the I-7530 Utility during the configuration period, the I-7530 will send the error code to the RS-232 device of the host PC through the RS-232 media when the I-7530 produces an error message automatically during the operation mode.
Page 35
Error: T0018 Right: T0018<CR> If the I-7530 CAN baud rate is not the same as the CAN baud rate on the CAN network, the data flow LED on the I-7530 will be flash with a constant frequency because the I-7530 cannot send any CAN messages to the CAN network.
Need help?
Do you have a question about the I-7530 and is the answer not in the manual?
Questions and answers