Version: 1.1.0 Date: 2006-02-10 BC3150 - Bus Terminal Controller for PROFIBUS
Safety Instructions 8 Fieldbus Components The Principle of the Bus Terminal
Safety Instructions 98 Fieldbus Components Activate the configuration and start the system. The TwinCAT icon (bottom right on the desktop) should
Safety Instructions Fieldbus Components 99 Moving between the controllers Moving from BCxx00 to BCxx50 File names At Bus Terminal Controller of BC
Safety Instructions 100 Fieldbus Components Moving from BCxx00 to BXxx00 File names At Bus Terminal Controller of BXxx00 series, libraries are cal
Safety Instructions Fieldbus Components 101 Allocated variables The BX offers a limited number of allocated data Inputs 2kB, %IB0..2048 Outputs 2
Safety Instructions 102 Fieldbus Components Firmware Update Firmware update program The firmware update program is required for loading a new firm
Safety Instructions Fieldbus Components 103 BCxx50 Series Select the appropriate device of - in this example "Serial interface". BX an
Safety Instructions 104 Fieldbus Components Start the download via the green 'traffic light'. The download begins after about a minute,
Safety Instructions Fieldbus Components 105 General Operating Conditions The following conditions must be observed if the fieldbus components are
Safety Instructions 106 Fieldbus Components Component identification Every supplied component includes an adhesive label providing information abo
Safety Instructions Fieldbus Components 107 Standards for Device Testing EMV EMC resistance burst EN 61000-6-2 ESD EN 61000-6-4 Vibration / Shock
Safety Instructions Fieldbus Components 9 The Beckhoff Bus Terminal System Up to 64 Bus Terminals each having 2 I/O channels for each signal form
Safety Instructions 108 Fieldbus Components Bibliography German books PROFIBUS • PROFIBUS-DP/DPV1 Grundlagen, Tipps und Tricks für Anwender (Princ
Safety Instructions Fieldbus Components 109 List of Abbreviations DP Distributed Peripherals. PROFIBUS protocol for fast cyclic data exchange FMS
Safety Instructions 110 Fieldbus Components Support and Service Beckhoff and their partners around the world offer comprehensive support and servi
Safety Instructions 10 Fieldbus Components Potential feed terminals for isolated groups The operating voltage is passed on to following terminals
Safety Instructions Fieldbus Components 11 Technical Data Technical Data - BCxx50 Technical data BCxx5x Processor 16 bit micro-controller Diagno
Safety Instructions 12 Fieldbus Components Technical data BC3150 BC5150 BC5250 BC8150 - Operating temperature 0°C... +55°C Storage temperat
Safety Instructions Fieldbus Components 13 Technical Data - PROFIBUS DP System data PROFIBUS (BC3150) Number of I/O modules 126 (BC3150 max. 99
Safety Instructions 14 Fieldbus Components Technical Data - PLC PLC data BCxx5x Programmability via serial programming interface or via the fiel
Safety Instructions Fieldbus Components 15 3. Mounting and Wiring Mounting Dimensions The Beckhoff Bus Terminal system is characterized by low ph
Safety Instructions 16 Fieldbus Components Installation The Bus Coupler and all the Bus Terminals can be clipped, with a light press, onto a 35 mm
Safety Instructions Fieldbus Components 17 Wiring Potential Groups, Insulation Testing and PE Potential groups The Beckhoff Bus Terminals stations
Safety Instructions 18 Fieldbus Components PE power contacts The power contact labelled PE can be used as a protective earth. For safety reasons t
Safety Instructions Fieldbus Components 19 Power supply Bus Terminal Controller and Bus Terminal supply (Us) The Bus Terminal Controller requires
Safety Instructions 20 Fieldbus Components Programming cable Use the KS2000-Z2 programming cable for serial programming of the Bus Terminal Contro
Safety Instructions Fieldbus Components 21 PROFIBUS Connection M12 circular connector The M12 socket is inverse coded, and has five pins. Pin 1 is
Safety Instructions 22 Fieldbus Components Connection of FieldbusBox modules The connection of the Fieldbus Box modules is done direct or via a T
Safety Instructions Fieldbus Components 23 PROFIBUS Cabling Physical aspects of the data transmission are defined in the Profibus standard (see Pr
Safety Instructions 24 Fieldbus Components Note In systems with more than two stations all devices are wired in parallel. It is essential that th
Safety Instructions Fieldbus Components 25 4. Parameterization and Commissioning Start-up Behavior of the Bus Terminal Controller After being swi
Safety Instructions 26 Fieldbus Components Setting the slave address The address must be set via the two rotary selection switches. The default se
Safety Instructions Fieldbus Components 27 Configuration Overview Configuration types DEFAULT-CONFIG Bus Terminals are mapped in the order they ar
Contents Fieldbus Components 1 Contents BC3150 - Bus Terminal Controller for PROFIBUS 1. Foreword 4 Notes on the Documentation 4 Safety In
Safety Instructions 28 Fieldbus Components The TwinCAT configuration can be used to link variables, I/Os and data. The following is possible: • PL
Safety Instructions Fieldbus Components 29 Creating a BX File For configuring the BX, a BX file has to be created in the System Manager. To simpli
Safety Instructions 30 Fieldbus Components Downloading a BX Configuration The configuration is transferred to the Bus Terminal Controller via ADS.
Safety Instructions Fieldbus Components 31 For activating the configuration select Ctrl+Shift+F4 or Activate Configuration. The current configura
Safety Instructions 32 Fieldbus Components Uploading a BX Configuration The configuration is transferred to the Bus Terminal Controller via ADS. A
Safety Instructions Fieldbus Components 33 Click on the red folder. The TwinCAT configuration will now be uploaded.
Safety Instructions 34 Fieldbus Components Bus Terminal Controller resources The system manager indicates the memory resources used by the Bus Ter
Safety Instructions Fieldbus Components 35 Used code and data memory Fig. 3 (1): "Used PLC code" in %. Fig. 3 (2): "Used PLC data&q
Safety Instructions 36 Fieldbus Components ADS via Serial ADS Connection via Serial Interface (from firmware version 1.xx or 0.99x - Bus Terminal
Safety Instructions Fieldbus Components 37 PROFIBUS PROFIBUS Settings The PROFIBUS-relevant settings are made in the DP slaves tab. Reaction to P
Contents 2 Fieldbus Components 4. Parameterization and Commissioning 25 Start-up Behavior of the Bus Terminal Controller 25 Setting the slave a
Safety Instructions 38 Fieldbus Components Master Configuration Basic Device File (GSD) All field devices with PROFIBUS slave interface are desc
Safety Instructions Fieldbus Components 39 Creating a TwinCAT PC File DEFAULT CONFIG DEFAULT-CONFIG contains the PROFIBUS data from the address %
Safety Instructions 40 Fieldbus Components Creating PROFIBUS data in DEFAULT-CONFIG The PROFIBUS data can now be created. Various variables are a
Safety Instructions Fieldbus Components 41 Variable Mapping - PROFIBUS DP Creating the PROFIBUS data. Fig. 1: Creating PROFIBUS data For linkin
Safety Instructions 42 Fieldbus Components BC3150 at 3rd party controller SIEMENS S7 Configuration - Siemens S7 Controller Inserting the images In
Safety Instructions Fieldbus Components 43 Configuration: Siemens S7 Controller with BX3100 BX3100 parameter data Fig. 1: Settings
Safety Instructions 44 Fieldbus Components BX3100 module configuration Example 1 1 x BX3100 Fig. 2: Example for entering individual bytes. Note
Safety Instructions Fieldbus Components 45 Fig. 3: Example for entering associated bytes.
Safety Instructions 46 Fieldbus Components K-Bus K-Bus BX Settings tab Check Terminals during Start-up When a boot project is created, the curren
Safety Instructions Fieldbus Components 47 BX Diag tab Display of cycle time for task 1, task 2, K-Bus, fieldbus processing and SSB overhead. Fa
Contents Fieldbus Components 3 Libraries 67 Übersicht 67 TcBaseBX 69 System Task Info 69 System Task Info Type 70 System Info 71 System Inf
Safety Instructions 48 Fieldbus Components PLC Inserting a PLC project For variable mapping, configuration has to be specified in the system manag
Safety Instructions Fieldbus Components 49 Measuring the PLC Cycle Time The task time is set in PLC Control. The default setting is 20 ms. In the
Safety Instructions 50 Fieldbus Components KS2000 KS2000 The KS2000 software can provide assistance for the configuration or diagnosis of the conn
Safety Instructions Fieldbus Components 51 5. Programming BCxx50 PLC features Description Value Data memory 32 kbyte Program memory 48 kbyte m
Safety Instructions 52 Fieldbus Components TwinCAT PLC The Beckhoff TwinCAT Software System turns any compatible PC into a real-time controller wi
Safety Instructions Fieldbus Components 53 TwinCAT PLC error codes Error type Description PLC compiler error Maximum number of POUs (...) exceed
Safety Instructions 54 Fieldbus Components Global memory error 2 x 16 kB of data are available by default. If large data quantities are to be use
Safety Instructions Fieldbus Components 55 Remanent data 2 kB of remanent data are available for the BX controller. These data are declared as VAR
Safety Instructions 56 Fieldbus Components Allocated Flags 4 kB of allocated flags are available. They can be used to assign different variable ty
Safety Instructions Fieldbus Components 57 Local process image in delivery state The process image of the BX controller consists of an input, outp
Notes on the Documentation 4 Fieldbus Components 1. Foreword Notes on the Documentation This description is only intended for the use of trained
Safety Instructions 58 Fieldbus Components Note If you do not know the address of the Bus Terminals that you have assigned to the local PLC (BC/BX
Safety Instructions Fieldbus Components 59 Mapping of the Bus Terminals The precise assignment of the byte-oriented Bus Terminals may be found in
Safety Instructions 60 Fieldbus Components Local process image in the TwinCAT configuration The TwinCAT configuration (TwinCAT CONFIG) enables fre
Safety Instructions Fieldbus Components 61 Creating a boot project Approximately 250 kB of flash are available. For creating a boot project • on t
Safety Instructions 62 Fieldbus Components Communication between TwinCAT and BX/BCxx50 It makes sense to define a data structure for transferring
Safety Instructions Fieldbus Components 63 Up- and downloading of programs The Bus Terminal Controller has 256 kB of memory for the source code. I
Safety Instructions 64 Fieldbus Components Downloading a program The source code can be transferred to the target system on request. This requires
Safety Instructions Fieldbus Components 65 Uploading a program For uploading the program code again, open a new file in PLC Control. Then click on
Safety Instructions 66 Fieldbus Components Password You can protect your project with a password (in PLC Control Project/Options/Passwords).
Safety Instructions Fieldbus Components 67 Libraries Libraries overview The TwinCAT Automation Software offers various libraries for the BCxx50 se
Safety Instructions Fieldbus Components 5 Safety Instructions Safety Rules The responsible staff must ensure that the application or use of the pr
Safety Instructions 68 Fieldbus Components Firmware Memory Functions Version BC3150 BC5150 BC5250 BC8150 - MEMCMP B0 B0 B1 B0 - MEMCY
Safety Instructions Fieldbus Components 69 TcBaseBX System Task Info VAR_GLOBAL SystemTaskInfo : SYSTEMTASKINFOTYPE; END_VAR System flags are
Safety Instructions 70 Fieldbus Components System task info type TYPE SYSTEMTASKINFOTYPE STRUCT active : BOOL; taskName : STRING(16
Safety Instructions Fieldbus Components 71 System Info VAR_GLOBAL SystemInfo : SYSTEMINFOTYPE; END_VAR System flags are implicitly declare
Safety Instructions 72 Fieldbus Components System Info Type TYPE SYSTEMINFOTYPE STRUCT runTimeNo : BYTE; projectName : STRING(32); n
Safety Instructions Fieldbus Components 73 ADS Local ADS Port Numbers Port number Description 100dec Reading and writing of registers and tables
Safety Instructions 74 Fieldbus Components ADS Services Local process image task 1 port 801 Data can be read from and written to the local process
Safety Instructions Fieldbus Components 75 BX Debug Function BX Debug Function - Overview These functions can be used for measuring command execu
Safety Instructions 76 Fieldbus Components Program Transmission Transmission via Serial Interface Every Bus Terminal Controller can be programmed
Safety Instructions Fieldbus Components 77 PLC Control can be accessed via Online/Communication Parameters...
Safety Instructions 6 Fieldbus Components Documentation Issue Status Version Comment 1.1.0 Notes to meet the UL requirements added. 1.0.1 • Chap
Safety Instructions 78 Fieldbus Components Transmission via PROFIBUS TwinCAT offers a facility for transferring the application program to the BC/
Safety Instructions Fieldbus Components 79 After your program has been created, select the target system under the Online toolbar. TwinCAT must be
Safety Instructions 80 Fieldbus Components Process Image PROFIBUS process image The BC3150 is a PROFIBUS slave device. A basic device file (GSD) i
Safety Instructions Fieldbus Components 81 6. PROFIBUS System Introduction Fieldbus Overview Profibus is a manufacturer - independent, open field
Safety Instructions 82 Fieldbus Components Three types of device are distinguished: DP master class 1 (DPM1) e.g. Beckhoff PC master card FC310x T
Safety Instructions Fieldbus Components 83 Sync and Freeze Mode In addition to the user data traffic related to the device, which is automatically
Safety Instructions 84 Fieldbus Components Data traffic between the DPM1 and the DP slaves The data traffic between the DPM1 and the DP slaves tha
Safety Instructions Fieldbus Components 85 PROFIBUS DP In PROFIBUS DP systems, a master (PLC, PC etc.) usually communicates with a large number of
Safety Instructions 86 Fieldbus Components Synchronisation with Sync and Freeze The Sync and Freeze commands in the GlobalControl request telegram
Safety Instructions Fieldbus Components 87 PROFIBUS DPV1 PROFIBUS DPV1 refers primarily to the acyclic read and write telegrams, with which data s
Safety Instructions Fieldbus Components 7 2. Product Overview BCxx50 - Overview Bus Terminal Controllers are Bus Couplers with integrated PLC fun
Safety Instructions 88 Fieldbus Components Cables, Plugs and Switches The Medium: Plugs and Cables The physics of the transmission Ca
Safety Instructions Fieldbus Components 89 RS485 Fundamental properties RS-485 transmission according to the Profibus standard Network topology
Safety Instructions 90 Fieldbus Components Note In systems with more than two stations all devices are wired in parallel. It is essential that th
Safety Instructions Fieldbus Components 91 Topology • A bus segment may consist of a maximum of 32 devices (including the repeaters). • The maximu
Safety Instructions 92 Fieldbus Components 7. Error handling and diagnosis Diagnostics PROFIBUS state In many cases it is important to know whet
Safety Instructions Fieldbus Components 93 State of the K-Bus An internal bus or Bus Terminal error is indicated in the K-Bus state. A more precis
Safety Instructions 94 Fieldbus Components Diagnostic LEDs The Bus Coupler features status indicator LEDs. The row of LEDs on the left describes t
Safety Instructions Fieldbus Components 95 Error code Error argument Description Remedy 0 K-Bus data error, break behind the Bus Coupler Check
Safety Instructions 96 Fieldbus Components LED PLC - PLC diagnosis LED Meaning PLC LED LED on: PLC running, LED off: PLC stopped
Safety Instructions Fieldbus Components 97 8. Appendix First steps with the BC3150 For the following example, the following hardware and software
Comments to this Manuals