Program description – BECKHOFF BC3150 User Manual

Page 100

Advertising
background image

Safety Instructions

98

Fieldbus Components

Activate the configuration and start the system. The TwinCAT icon (bottom right on the desktop) should be green.
The bus LED on the BC3150 should also be green. Should this not be the case, check the BC3150 address and the
physical connection to the PROFIBUS master (terminal resistances etc.).

b.) Open the following file

. This file is the PLC project for the BC3150. Select the BC3150 under

>Online\Selecting the 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.

Program description

The program increments a value >Profibus_Out_1< as long as the variable Profibus_Input_1 contains the value 0

bin

.

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 1

bin

.

Advertising