RS485 Converter (Prod. No. #633)

CAN 2.0A/B ↔ RS232/RS485 Converter (Prod. No. #633) - Listen Only Mode – No influence of the CAN system by the converter or - Normal Mode – A/B 11, ...
Author: Cuthbert Booth
6 downloads 0 Views 768KB Size
CAN 2.0A/B ↔ RS232/RS485 Converter (Prod. No. #633)

- Listen Only Mode – No influence of the CAN system by the converter

or - Normal Mode – A/B 11, 29 Bit ID

CAN-side: 10 kbps ... 1 Mbps RS232- side: up to 1 Mbps RS485- side: up to 3 Mbps

Table of Contents Table of Contents.....................................................................................................................................2 1 Introduction...........................................................................................................................................3 2 Startup...................................................................................................................................................4 3 Converter Block Diagram.......................................................................................................................5 4 Setup Mode............................................................................................................................................5 5 Normal Mode.........................................................................................................................................7 6 Converter ASCII Commands...................................................................................................................9 7 Technical Specifications: CAN ↔ RS232/RS485 Adapter (#630)........................................................12

1 Introduction As a powerful tool the CAN converter supports development, service, testing and maintenance of CAN-based systems. They are suitable for online monitoring and manipulation of the bus as well as their logging. The converter supports 11 and 29 bit identifiers (CAN2.0A/2.0B). The Listen Only mode it is no transmission of Ack bit and error frames, thereby influencing the CAN system is avoided. The CAN baud rate is detected automatically by the converter. As well the converter provides the ability to adjustthe baud rate and other parameters to your needs. The CAN Converter is ideally suitable for the investigation of the CAN bus data. The converter can be easily plugged into any RS232 or RS485 port of a computer or notebook. The data can be displayed in any standard terminal program or the 4N-CAN-terminal program. More information can be found in the following sections.

2 Startup Before first use: • • • • • • • • • • • •

Connect converter on RS232/RS485 side with your pc RS232/RS485-port Connect CAN-side with your application Start the terminal program In our download area you will find the converter optimized for the terminal program: 4N-GX CAN-Terminal Choose the right COM port Set COM port to 38600 Baud 8N1 Power on the converter Send within 5 seconds a "s" (initiates the setup mode) The converter responds "CAN2.0 – RS232/RS485 Converter V4.4" Send "h" for help output in the terminal Set CAN side configuration as needed Send "E" - Stores settings in the flash and restarts the converter. ( - corresponds to "Enter" key) Done

Important: Sending a "s" within 5 seconds switches the converter into setup mode. Options of this mode will be described later. "E" or "Q" ends the setup mode. E - Saves Configuration to the converters flash memory, and exits the setup mod Q - Exit without saving For the operation of the converter, the following setup parameters must be set correctly: • • • • •

CAN Baudrate (or Autobaud) ID (results in 11- or 29-Bit Format) Acceptance-Code Acceptance-Mask RS232/RS485 Baudrate

4.1 CAN ID Filter Setup The converters accept messages from specific IDs which can be defined by the CAN identifier (CI), the CAN-Acceptance-Code (CAC) and the CAN-Acceptance-Mask (CAM). CAC defines the mandatory required bits of the received ID and the CAM, the bits to ignore. The CAN identifier can be determined by the choice of converter id to whether either will be accepted ONLY 11 bits (id