First steps with the BX3100

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

Hardware

Software

Sample 1: Default Configuration

a.) Open the file First steps with the BX3100 1: (File). This file contains the System Manager file for the master configuration with the FC310x card and the BX3100 slave. Select the correct PCI address for the FC3101.

First steps with the BX3100 2:
Select the PCI address for the FC3101

and set PROFIBUS address 2 on the BX3100.

First steps with the BX3100 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 on the BX3100 should also be green. Should this not be the case, check the BX3100 address and the physical connection with the PROFIBUS master (terminating resistors etc.).

b.) Open the file First steps with the BX3100 4: (File). This file is the PLC project for the BX3100. Select the BX3100 under >Online\Selecting the target system<.

First steps with the BX3100 5:
selection of the target system

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

masterproject.tsm

Program description

The program increments a value >Profibus_Out_1< as long as the variable Profibus_Input_1 contains the value = 0. 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 "one".