Example programs for serial communication

KS8000 protocol

bc8150 vb6.0.zip
ks8000.zip

The ADS protocol

ads.zip

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.

Example programs for serial communication 4:
Connection example BC8150 to a CIMREX 12 panel from Beijers

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.

Example programs for serial communication 5: sample program in ST for BC8150 (any terminal configuration) (download)

Example programs for serial communication 6: 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

cimrex12_bc8150.prx
bc8150_cimrex12.zip

The ADS protocol

Example: BC8150 connected to CIMREX 12 panel from Beijers

RS 232 cable

BC8150 COM 1 / RS 232

Cimrex 12 RS 232

3

3

2

2

5

5

Example programs for serial communication 7: sample program in ST for BC8150 (any terminal configuration) (download)

Example programs for serial communication 8: Example Cimrex 12 panel (download)

cimrex12_bc8150.prx
bc8150_seriellesads.zip