CAN232 can use both single and dual filter mode (from version 3). We have made two documents that show how to set these filters for both 11 bit IDs and 29 bit IDs in dual mode (default). When using dual filter mode, it is possible to set to regions of CAN IDs. When using 11 bit IDs this means it is possible to accept only one ID, but when using 29 bit IDs it is not possible to mask the whole ID. Also remember, if you only need one ID or one group of IDs, set both masks to the same, so the unwanted CAN frames do not slip through the second filter!
CAN232 works as an RS232-attached device, therefore it does not require any special drivers. Use the build-in serial / COM port functions of your operating system to read from or write to the CAN232.
Example programs in source code which we made or others have provided to us. We cannot support code not made by us, please contact the maker (if any) for support.
CAN232 Monitor Lite (C#)
This CAN232 Monitor Lite is written in C# and Visual Studio 2010 and uses .Net version 4. It is a simple program which demonstrates how to “talk” to the CAN232 in C#. The code comes in full source code and may be used as you like as long as it is used together with our products. If you do not need source code, we have also provided an installer which installs the executables files only.
This demo CAN232 software is written in VB version 6 and is a simple software to demonstrate how to “talk” to the CAN232 in Visual Basic 6. To be able to compile and change the code you need the VB6. If you only need the executable file, just download the ZIP file and unpack and run the CAN232.EXE file (Note however that you need the VB6 runtime files to be able to run it, we didn’t include them here to save space and bandwidth). Instructions are in the frmMain.frm file on how to use the sofware. Download the latest version, the old version 1.0.0 is there only for reference and for old CAN232 version 1 users.
CAN232 Monitor software is written in Delphi version 5 and is a simple tool to send and receive CAN frames at any given standard CAN speed and COM port. The software polls the CAN232 automatically at 100mS interval and an eventual frame is automatically listed in the window. It is also possible to send frames from it by setting up an ID, Data length (DLC) and 0 to 8 data bytes in hex. The software comes with full source code and uses a freeware LIB for the RS232 communication (see below for links to the RS232 LIB). This free version is free to use and modify to suit your needs and we cannot give any support on it or the RS232 LIB since it is freeware. To be able to compile and change the code you need the RS232 LIB as well. If you only need the executable file, just download the ZIP file and unpack and run the CAN232.EXE file. We originally developed this using version 2.6.3 of Dejan Crnila’s ComPort LIB, however his original Website has disappeared from the web, after a bit of research we found out that the project has moved to SourceForge and is now developed by several peoples. A new version is available which we havn’t tested yet with the Delphi Application.
CAN232 Project CANDe in Delphi 7 for Windows including full source code. This project uses a freeware COMlib (also included inside the zip). Currently LAWICEL cannot answer any support related questions of this project, contact the authour for support/information and that info can be found inside this package. We have tested the package and it works very will and we want to thanks the author for contributing his work!
One small note though, since the program also supports setting up diffrent RS232 speeds, do not select 230Kbaud unless you know your PC can handle this high RS232 speed. Most PC’s doesn’t unless they have a special UART board or e.g. a USB/RS232 dongle (like the US232B from FTDI) which can handle this high speed. If you accedently set the CAN232 into 230K, you can only reset it in an environment that can handle that speed or by by looking at the Attila Vass project above, how he solved it in his code or by contacting us for support.
For easy testing and learn our LAWICEL CAN ASCII protocol, we recommend using a terminal software and we have been using Terminal by Bray for many years now, it is just one file and requires no installation. Just visit the link below, download and place executable in a new folder or on desktop. This terminal software is nice in the way you can see non printable characters.
THE SOFTWARE IS PROVIDED TO YOU “AS IS,” AND WE MAKE NO EXPRESS OR IMPLIED WARRANTIES WHATSOEVER WITH RESPECT TO ITS FUNCTIONALITY, OPERABILITY, OR USE, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR INFRINGEMENT. WE EXPRESSLY DISCLAIM ANY LIABILITY WHATSOEVER FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR SPECIAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST REVENUES, LOST PROFITS, LOSSES RESULTING FROM BUSINESS INTERRUPTION OR LOSS OF DATA, REGARDLESS OF THE FORM OF ACTION OR LEGAL THEORY UNDER WHICH THE LIABILITY MAY BE ASSERTED, EVEN IF ADVISED OF THE POSSIBILITY OR LIKELIHOOD OF SUCH DAMAGES.
By downloading software from this site, you agree with the specified terms.