First steps with the BC3150

For the following sample, the following hardware and software components are required:

Hardware

Software

Example 1: Default Configuration

a.) Open the following link
First steps with the BC3150 1: (sample file)
This link contains the System Manager file for the master configuration with the FC310x PROFIBUS card and the BC3150 slaves. Select the correct PCI address for the FC3101

First steps with the BC3150 2:
Selecting the PCI address for the FC3101 PROFIBUS card

and set PROFIBUS address 11 on the BC3150.

First steps with the BC3150 3:
Setting the PROFIBUS address

Activate the configuration and start the system. The TwinCAT icon (bottom right on the desktop) should be green. The bus LED of the BC3150 must light up green. Should this not be the case, check the BC3150 address and the physical connection to the PROFIBUS master (terminating resistors etc.).

a.) Open the following link
First steps with the BC3150 4: (sample file)
This link is the PLC project for the BC3150. Select the BC3150 under >Online\Selecting the target system<.

First steps with the BC3150 5:
Selecting the BC3150 as target system

Load the project into the controller (>Online\Login<) and Start the program (>Online\Start<). The PLC LED on the BC3150 should now be orange.

bc3150systemmanager.tsm
bc3150 project.prx

Program description

The program increments a value >Profibus_Out_1< as long as the variable Profibus_Input_1 contains the value 0bin. At the same time, the first digital output cycles with approx. 2 Hz. In the System Manager, the variable >Var 36< can be forced to a value unequal zero. This stops the counter, and the first digital output is set to a fixed value of 1bin.