ICP DAS USA I-7530-G CR User Manual

I-7530 rs-232/can converter
Hide thumbs Also See for I-7530-G CR:

Advertisement

Quick Links

The I-7530 RS-232/CAN Converter
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 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.5, Mar/2012) ------------- 1
User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the I-7530-G CR and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICP DAS USA I-7530-G CR

  • Page 1 The I-7530 RS-232/CAN Converter User’s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser. Warning ICP DAS assumes no liability for damages resulting from the use of this product.
  • Page 2: Table Of Contents

    Table of Contents Introduction ......................3 Features ..................... 4 Specifications ..................4 Hardware.......................6 Block Diagram ..................6 Pin Assignment................... 6 Hardware connection................8 Terminator resistor settings ..............9 Init/Normal Dip-switch............... 10 LED Indication .................. 11 Cable selection ................. 12 Software Utility ....................13 How to configure the module parameters.........
  • Page 3: Introduction

    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 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 the I-7530 module.
  • Page 4: Features

    Features • Microprocessor inside with 20MHz • CAN interface connector: D-Sub 9-pin • Phillip 82C250 CAN transceiver • Provide One CAN and RS-232 Port • Built in CAN/RS-232 Converter firmware • Max transmission speed up to 1M bps for CAN and 115.2K bps for RS- 232 interface •...
  • Page 5 • Power reverse protection, Over-Voltage brown-out protection • Power consumption: 1W Module specifications: • Dimensions: 123mm x 72mm x 33mm • Operating temperature: -25 to 75ºC (-13 to 167ºF) • Storage temperature: -40 to 80ºC (-40 to 176ºF) • Humidity: 5 to 95%, non-condensing •...
  • Page 6: Hardware

    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 Pin Assignment Table 1: RS-232 DB9 Female Connector (CN1) Terminal...
  • 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.5, Mar/2012) ------------- 7...
  • Page 8: Hardware Connection

    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.
  • Page 9: Terminator Resistor Settings

    Terminator resistor settings According to the ISO 11898 specifications, the CAN Bus network must be terminated by two termination resistances (120Ω) for proper operation, as shown 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.
  • Page 10: Init/Normal Dip-Switch

    Init/Normal Dip-switch On the back of the I-7530 module, there is a dip-switch used for setting the operation or configuration mode of the module function. In the normal situation, the user needs to first make a configuration in order to provide the correct function when the module works in the operation mode.
  • Page 11: Led Indication

    LED Indication The I-7530 provides the Converter function between the RS-232 port and the CAN port. It can handle both an 11-bit and 29-bit ID format according to whether it is a CAN 2.0A or 2.0B. In order to provide high performance when converting data, the I-7530 has built in software FIFO queues, which include 1000 CAN data frames.
  • Page 12: Cable Selection

    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.
  • Page 13: Software Utility

    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.
  • Page 14: How To Configure The Module Parameters

    How to configure the module parameters 1. Set the Init/Normal switch to the Init position, which is located at the back of the I-7530 module. 2. Connect the power source (the 10~30 DC volts) into the I-7530 module. 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.
  • Page 15 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. 7. Set the RS-232 parameters for I-7530 RS-232 port. Note: 1. When the function “Add Checksum” is set to “Yes”, users need to communicate to I-7530 with checksum mechanism.
  • Page 16 responded when the incorrect communication commands are sent to I-7530. 8. Set the CAN parameters for I-7530 CAN port. Note: 1. About how to set the Acceptance Code and Acceptance Mask, please refer to the section 3.2. 2. If the “Pair Connection” is checked, the functions of “End of RS-232 command”, “Fixed Tx CAN ID”...
  • 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 = No Error Response = No...
  • Page 18: How To Set The Acceptance Code And Mask

    How to set the Acceptance Code and Mask The acceptance code and acceptance mask are used for filtering unnecessary CAN messages through RS-232 port. If users want to prevent the unnecessary CAN message through RS-conversions, they need to set the parameters of acceptance code and mask. Acceptance Code: The CAN ID bits that you want to get.
  • Page 19: Test I-7530 On Can Network (Only For Normal Mode)

    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.
  • Page 20 7. Press the “OK” button. Then the I-7530 Utility will show the test tab in the window as can be seen in the below figure. 8. Users will then be able to transmit or receive CAN messages via the I- 7530 module.
  • Page 21: Pair Connection Mode Description

    Pair Connection Mode Description The pair connection function usually needs two I-7530s. When these two I-7530s are in pair connection mode, all RS-232 commands transmitted from one of these two I-7530s will be put in the data field of CAN message. This CAN message will be transferred to RS-232 commands by another I-7530.
  • Page 22 Communication Descriptions: If there are 7 bytes data, “1234567”, transmitted from Device1, the Device2 will also receive “1234567” from the COM port of I-7530#2. 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.
  • Page 23 Application 2: 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. Configurations: To apply this application, user need to configure the I-7530#1 and I- 7530#2 as follows.
  • Page 24 Application 3: This application may be used to construct a RS-232 device network 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 these three I-7530s are decided by the RS-232 device they connect with.
  • Page 25 Communication Descriptions: When Device1 want to transmit RS-232 commands “1234567” to Device2, the commands written to I-7530#1 by Device1 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 I-7530#1 receives the RS- 232 commands from Device1 and transfers it to CAN message.
  • Page 26: Command List

    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 formats of the commands for the I-7530 are in ASCII data format and given below:: Command Format: <Command>[CHK]<CR>...
  • Page 27 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 example: Command: Reboot the I-7530 module, “RA[CHK]<CR>”. 1. Sum of the string = ‘R’ + ‘A’ = 52h + 41h = 93h. 2.
  • Page 28: Tiiildd

    tIIILDD…[CHK]<CR> Description: Send or receive a standard CAN data frame. Syntax: tIIILDD…[CHK]<CR> Represent a standard (2.0A) data frame. 11 bits Identifier (000~7FF) 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>...
  • Page 29: Eiiiiiiiildd

    Example: Command: T2E88<CR> Send a CAN message with a standard remote frame. ID=2E8, DLC=8. eIIIIIIIILDD…[CHK]<CR> Description: Send or receive an extended CAN data frame. Syntax: eIIIIIIIILDD…[CHK]<CR> Stands for the extended (2.0B) data frame. IIIIIIII 29 bits Identifier (00000000~1FFFFFFF) Data length (0~8) DD…...
  • Page 30: S[Chk]

    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 communication error information at the host PC. Example: Command: E010156786<CR> Send a CAN message with an extended remote frame.
  • Page 31 Table 6: CAN baud rate list AsciiToHex(C) Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN 800K baud rate of CAN 1000K baud rate of CAN Table 7: CAN register list...
  • Page 32: C[Chk]

    4.6 C[CHK]<CR> Description: Clear the CAN/RS-232 FIFO overflows error flag on the module. Syntax: C[CHK]<CR> 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/RS232 FIFO overflow error flag.
  • Page 33 Table 9: RS-232 baud rate list Description 110 bps baud rate of RS-232 150 bps baud rate of RS-232 300 bps baud rate of RS-232 600 bps baud rate of RS-232 1200 bps baud rate of RS-232 2400 bps baud rate of RS-232 4800 bps baud rate of RS-232 9600 bps baud rate of RS-232 19200 bps baud rate of RS-232...
  • Page 34: P1B [Chk]

    4.8 P1B [CHK]<CR> Description: Change the CAN configuration of I-7530 module and then reboot the I-7530 module. Syntax: P1B[CHK]<CR> Command character CAN Baud rate Table 10: CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 100K baud rate of CAN 125K baud rate of CAN...
  • Page 35: Ra[Chk]

    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. Syntax: RA[CHK]<CR> Command character Response: Valid command will reboot the I-7530 module.
  • Page 36: Troubleshooting

    5. Troubleshooting 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.

Table of Contents