Example programs for serial communication
KS8000 protocol
- Example program for BC8150 communication with VB6 without KS8000 OCX or DLL. Source code and EXE file
(download)
- Example program for BC8150 communication with VB6 with KS8000 OCX. Source code and EXE file:
(Download)
The ADS protocol
- Example program for BC8150 communication with VB6 with ADS OCX. Source code and EXE file
For this example the AMS Net ID must be set to "1.1.1.1.1.5" (see serial ADS).(Download)
Modbus RTU protocol
Example: BC8150 connected to CIMREX 12 panel from Beijers
The serial interface of the BC8150 can also be used as a Modbus slave. In this example, a panel from the company Beijers is connected. Further information about the panel can be found at www.beijerelectronics.de.

Necessary components
1 x BC8150
1 x Cimrex 12
any Bus Terminals (any, since no Bus Terminals are used in the example)
RS 232 cable
BC8150 COM 1 / RS 232 | Cimrex 12 RS 232 |
---|---|
3 | 3 |
2 | 2 |
5 | 5 |
Getting started
Download the example into the BC8150, with an address set between 1 and 39 on the BC8150. The program is loaded to the Bus Terminal controller via serial ADS. Start the PLC program, log off, and remove the programming cable. Load the CIMREX 12 project into the panel and remove the programming cable here too. Now connect the Cimrex 12 with the BC8150 using the cable described above. Finally, set slave address 41 on the BC8150. After 10-20 seconds a numerical value should start incrementing on the panel and stop when F2 is pressed on the Cimrex 12.
sample program in ST for BC8150 (any terminal configuration) (download)
Example Cimrex 12 panel (download)
No libraries are required for the example
- baud rate 9600,n,8,1 D
- address 41 on the BC8150
- Cimrex 12
The ADS protocol
Example: BC8150 connected to CIMREX 12 panel from Beijers