CS-CAN is a converter which turns RS232 signal to CAN Message.
CAN stands for Controller Area Network. CAN bus was developed in 1986. When CAN was
first developed, it was used for communication among electronic devices inside of a car.
However, the use was expanded to different areas that it is also used in industrial
automated devices or for the medical devices.
The advantage of using CS-CAN is as follows:
Supports CAN specification 2.0, both A and B
32 message objects
Up to 115200bps serial communication speed and 1Mbps for CAN.
4.
Page 6
Hardware
1. Hardware
1.1 CS-CAN Pin Map
<RS232 – DB9 Female>
<CAN – DB9 Male>
6
Page 7
Hardware
CS-CAN
CAN
Device
VCC(DC +5V)
CAN_H(CAN_High)
CAN_L(CAN_Low)
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
GND
1.2 How to connect CS-CAN with a CAN device
※ CS-CAN receives its power from CAN BUS. In order to supply the power, VCC and GND
must be connected.
4.
Page 8
Installing and running the utility
2. Installing and running CS-CAN utility
This page describes how to install and run CS-CAN Utility.
1. Insert the CD included with the product.
2. Use Windows Explorer or Computer to run CS-CAN v1.0.0.1 Setup.exe.
(The location of the file is: [CD-ROM]:\TEST PROGRAM\CAN v1.0.0.1 Setup.exe)
3. When you as follows, click “Install” button to start installing CS-CAN utility.
8
Page 9
Installing and running the utility
4. After the installation is complete, you will see the following screen.
5. After clicking the “Finish” button, you will see a shortcut icon in your desktop and a
program group added to your start menu.
<Desktop icon>
4.
Page 10
Installing and running the utility
6. When you double click on the shortcut icon, you will see a window opening as follows.
10
Page 11
Features in CS-CAN utility
Title
Submenu
Description
Port
Open
Opens serial port window
Close
Closes serial port window
Exit
Exit CS-CAN utility
Window
Cascade
Cascade windows
Tile
Tile windows
Close Terminal
Close all terminal windows
Close all Windows
Close all windows.
Help
Shortcut
Display shortcut information
About
Display information about this utility and
SystemBase
3. Features in CS-CAN utility
This page describes about the features in CS-CAN utility.
3.1. Top menu bar
The top menu bar appears as follows.
Feature of the top menu bar is as follows.
4.
Page 12
Features in CS-CAN utility
Title
Submenu
Description
COM
Range
Starting port
Ports will open consecutively from the selected port number.
Number of
ports
Number of ports will be opened consecutively depending on
the selected number.
RS232
Connection
Setting
Baud rate
Speed of RS232 communication
(1200, 2400, 3600, 4800, 9600, 14400, 19200, 38400
, 57600, 115200)
Data bits
Set data bits in RS232 trying to communicate with CS-CAN.
(Commands are in ASCII format, therefore only 8bits are
supported)
Stop bits
Set stop bits in RS232 trying to communicate with CS-CAN.
(1 bit, 2 bits)
Parity bits
Set parity bits in RS232 trying to communicate with CS-CAN.
(None, Even, Odd, Mark, Space)
Auto-Detect
all
Used when settings for connections are unknown for RS232
trying to communicate with CS-CAN.
(Note: This may take up to 5 minutes.)
3.2. Port open dialog box
Click on the “Port” from the submenu and click “Open” to see the Open Port dialog box
shown as below.
Description for each entries are as follows.
12
Page 13
Features in CS-CAN utility
Buttons
Description
Read Status
Read details from CS-CAN
Config
Modify settings in CS-CAN
F/W Upgrade
Upgrade firmware in CS-CAN
Clear
Reset the numbers in Tx , Rx , Error Count and the contents in
the Terminal
Send Frame
Transmit CAN frame
Terminal
Terminal window is created for incoming data.
Random
Generates random data when Send Frame is clicked.
3.3. Port window
Port window is shown as below. Light grey background indicates, it is in Read Only
attribute.
White background indicates that the value can be modified. Dark grey indicates that
CS-CAN cannot be detected from the COM port.
The descriptions for the buttons on the top part of Port window are as follows.
4.
Page 14
Features in CS-CAN utility
Column
Description
Port
Port number
Status
Current status
- N/A : Cannot detect CS-CAN
- Config : CS-CAN is in Configuration mode
- Active : CS-CAN is in Active mode
- Search : Looking for the connected information with
the CS-CAN
FW Ver.
Displays the firmware version of current CS-CAN
RS232
Displays the connected settings for the RS232 in CS-CAN
CAN
Displays the connected settings for the CAN in CS-CAN
ID
Configure ID for the CAN message you wish to receive from.
Mask
Configure ID for the CAN message you wish to receive from.
Tx
Number of CAN messages sent from CS-CAN
Rx
Number of CAN messages received from CS-CAN
Error
Displays an error information in CS-CAN
Target ID
CAN message ID from the CS-CAN trying to send.
Spec.
CAN Message Spec. from the CS-CAN trying to send
RTR
Specify whether CAN frame is Data type or Remote type
DLC
Determine the size of the data in CAN frame
D1~D8
Assign data to be sent
Time
After ‘Read Status’ is clicked, the elapsed time is displayed.
The descriptions for the top part of the columns in the Port windows are as follows.
3.4. Terminal window
Each terminal windows is generated by each ports and data received by each ports are
displayed. On the title bar, port number and RS232 communication settings are displayed.
14
Page 15
Features in CS-CAN utility
3.5. Config dialog box
If you click on the ’Config’ button, Connection Setting dialog box will appear.
Use with caution. It will set all the configurations to the every ports related to CS-CAN.
4.
Page 16
Features in CS-CAN utility
Type
Control
Description
RS232
Baud rate
Set Baud rate in CS-CAN
(1200, 2400, 3600, 4800, 9600, 14400, 19200, 38400,
57600, 115200) bps
Data bits
Set Data bits in CS-CAN
(Commands are in ASCII format, therefore only 8bits are
supported)
Stop bits
Set Stop bits in CS-CAN (1bit, 2bits)
Parity bits
Set Parity bits in CS-CAN
(None, Odd, Even, Mark, Space)
CAN
Baud rate
Set Baud rate in CS-CAN
(83000,.100000, 125000, 250000, 500000, 1000000) bps
Spec.
Set CAN Spec. in CS-CAN (Spec A and B)
ID
Set Message ID that you wish to receive.
(Spec A : 0x000~0x7FF
Spec B : 0x00000000~0x1FFFFFFF)
Mask
Mask message ID that you wish to receive.
(Spec A : 0x000~0x7FF
Spec B : 0x00000000~0x1FFFFFFF)
Descriptions for each fields are as follows.
16
Page 17
Firmware Upload dialog box
Control
Description
File Path
Display absolute path for hex file.
File Load
Display dialog box to find the hex file.
Progress
Display current status.
Firmware
Upgrade
Start firmware uploading.
Cancel
Cancel firmware uploading.
3.6. Firmware Upload dialog box
Click on the ‘F/W Upgrade’ control and Firmware Upload windows will appear.
Description for it is as follows.
Description for each entries are as follows
4.
Page 18
Firmware Upload dialog box
- How to upload a firmware.
1. Click on the File Load button to see a window shown as below.
18
Page 19
Firmware Upload dialog box
2. Select CS-CAN.hex that you downloaded from our website and choose a file then
click on “open” button.
3. When you click “Firmware Upgrade” button, firmware upload will start and display
current progress.
4. When the firmware is successfully uploaded, you will see a message shown as below.
5. For optimized operation, reboot your CS-CAN Utility and CS-CAN.
4.
Page 20
Firmware Upload dialog box
3.7. Shortcut dialog box
This page describes about shortcut keys in CS-CAN utility. Click ‘Help’ from the top menu상단
and click on ‘Shortcut’ to see the dialog box shown as following. With these shortcut keys, it is
very convenient and fast while using this utility. You can use this utility without closing the
shortcut dialog box.
20
Page 21
About
3.8. About dialog box
This page describes about the About dialog box. SystemBase logo, utility version, web address
for technical support and homepage for SystemBase is shown. If you click on the web
addresses, you can visit those sites..
4.
Page 22
Auto Detect Feature
3.9. Auto Detect Feature
This page describes about the Auto Detect function. Auto Detect function CS-CS-CAN
Utility CAN serial communication environment if you do not remember, find the serial
communications environment that is a feature. It is recommended that used to take a
long time (up to 5 minutes), so if you do not know the serial communication
environment. Run the Auto Detect screen. Will find the settings COM 5,6, COM 7,8 are
looking for.
22
Page 23
Testing
4. How to perform a test
This page shows how to test your CS-CAN.
You do not have to install additional application or utility to run CS-CAN v1.0. (However, for
your convenience, we provide separate utility for you to set and test your CS-CAN v1.0
more easily.) Connect CS-CAN v1.0 to your computer or with communication device and
supply power to use it.
1. Connect the RS232 from your CS-CAN to your serial port in your PC.
2. Supply power to CS-CAN. (CAN side: Pin 6 = GND, Pin 9 = +5V)
3. After you run CS-CAN Utility, when you see a screen as follows, click on Port menu.
4. Click Open button under Port menu.
4.
Page 24
Testing
5. Port open dialog box will appear. If you want to open consecutive numbers of COM
ports, select the starting port number and the number of ports you wish to open then
click OK button.
(The example below shows a CS-CAN connected to COM 10 and COM 11.)
6. When you click “OK” button, Port window will appear as follows.
24
Page 25
Testing
7. When you click “Read Status” button, CS-CAN information will be read from the
hardware and displayed.
4.
Page 26
Testing
8. Click “Send Frame” button to start the test. Following screenshot is an example of
running the test.
26
Page 27
Uninstallation
5. Uninstallation
This page describes about the uninstallation process for CS-CAN utility.
1. You can run Uninstall from the program group in start menu or from Programs and
Features (Windows 7), then select CS-CAN v1.0 to Uninstall CS-CAN utility.
2. Select Remove when you see a window shown as following, then click Next button.
3. When you see a message shown as below, Click Yes button to remove CS-CAN from
your system.
4.
Page 28
Uninstallation
4. After uninstallation is complete, shown as below, click “Finish” button to complete the
process of uninstallation.
28
Page 29
Appendix
Command
Description
C A VA
Display current firmware version
●●MO
Return current CS-CAN mode
●
●
RS
Retrieve configuration for serial communication in CS-CAN
●
●
RC
Read CAN Baud rate and Spec. from CS-CAN
●●+++
Enter Configuration mode
● tlllLDD..
Transmit standard CAN Data Frame
● TlllL
Transmit standard CAN Remote Frame
● ellllllllLDD..
Transmit extended CAN Data Frame
● EllllllllL
Transmit extended CAN Remote Frame
● --
Exit Configuration mode
● &F
Reset all settings to factory default in CS-CAN
● WCBS
Set CAN Baud rate and Spec. in CS-CAN
●
WSBDSP
Configure settings for serial communication in CS-CAN
●
CStT
Change transmit command of Standard CAN Frame
● CEeE
Change transmit command of Extended CAN Frame
●
HRE
When transmission of CAN Frame is complete, return
OK<CR>
●
SV
Save internal configuration value of CS-CAN
● SR
Reboot CS-CAN
● FW++
Upgrade firmware
●
- Appendix: CS-CAN v1.0 commands
This page describes about commands in CS-CAN v1.0 converter. Please refer to Command
manual for more information.
C : Configuration Mode A : Active Mode
※ To apply with modified configuration, you must save (SV command) and reset (SR
command).
4.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.