BECKHOFF BC8150: Appendix

Example Programs for Serial Communication

KS8000 protocol

ADS protocol

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.com.

BC8150-Cimrex

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

First steps

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.

ST example program for the BC8150: Download(any terminal configuration)

Example for 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

ADS protocol

Example: BC8150 connected to 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

First steps

ST example program for the BC8150: Download(any terminal configuration)

Example for Cimrex 12 panel: Download