EasyManua.ls Logo

Beckhoff BC3150 User Manual

Beckhoff BC3150
104 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
Programming
BC3150 71Version: 2.1.0
5.12.2.2 System task information
VAR_GLOBAL
SystemTaskInfo:SYSTEMTASKINFOTYPE;
END_VAR
System flags are implicitly declared variables. Using the Input Assistant, a variable SystemTaskInfoArr can
be found under system variables. This variable is a field with four structures of type SYTEMTASKINFOTYPE
[}71]. The structure definition can be found in the system library. The index in this field is the task ID.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx
5.12.2.3 System Task Info Type
TYPESYSTEMTASKINFOTYPE
STRUCT
active:BOOL;
taskName:STRING(16);
firstCycle:BOOL;
cycleTimeExceeded:BOOL;
cycleTime:UDINT;
lastExecTime:UDINT;
priority:BYTE;
cycleCount:UDINT;
END_STRUCT
END_TYPE
Key
active: This variable indicates whether the task is active.
taskName: the task name.
firstCycle: During the first PLC task cycle, this variable has the value: TRUE.
cycleTimeExceeded: this variable indicates whether the set task cycle time was exceeded.
cycleTime: set task cycle time in multiples of 100ns.
lastExecTime: cycle time required for the last cycle in multiples of 100ns.
priority: set task priority.
cycleCount: cycle counter.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx
5.12.2.4 System info
VAR_GLOBAL
SystemInfo:SYSTEMINFOTYPE;
END_VAR
System flags are implicitly declared variables. Using the Input Assistant, a variable Systeminfo can be found
under system variables. The type SYSTEMINFOTYPE [}72]is declared in the system library. For accessing
the variable, the system library has to be integrated in the project.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Beckhoff BC3150 and is the answer not in the manual?

Beckhoff BC3150 Specifications

General IconGeneral
BrandBeckhoff
ModelBC3150
CategoryController
LanguageEnglish

Summary

Foreword and Documentation

Notes on Documentation

Information regarding documentation usage, audience, disclaimers, trademarks, and patents.

Safety Instructions and Precautions

Essential safety regulations, liability exclusion, personnel qualification, and symbol explanations.

Documentation Issue Status

Details on document version history, changes made, and firmware information.

Product Overview and Technical Data

BCxx50 Overview and Bus Terminal Principle

Introduction to BCxx50 controllers, their features, and the basic structure of the Bus Terminal system.

Technical Specifications

Detailed technical data for BCxx50, PROFIBUS-DP, and PLC functionalities.

The Beckhoff Bus Terminal System

Overview of the system, including modularity, mounting, and bus coupler types.

Mounting and Wiring Guide

Mounting Procedures

Guidance on mounting the Bus Terminal system components, including dimensions and installation.

Wiring and Connection Details

Instructions for wiring, covering potential groups, power supply, PROFIBUS, and ATEX conditions.

Parameterization and Commissioning

Start-up Behavior

Describes the sequence of operations and checks performed by the controller upon startup.

Configuration and Setup Procedures

Covers TwinCAT config, ADS, PROFIBUS, K-bus, PLC setup, and slave addressing.

Configuration Software and Programming Cable

Details on using KS2000 software and the programming cable for setup.

Programming Guide

PLC Features and TwinCAT Setup

BCxx50 PLC features, TwinCAT PLC introduction, and initial setup.

PLC Error Handling and Data Management

Managing TwinCAT PLC errors, remanent data, and allocated flags.

Process Image, Terminal Mapping, and Boot Projects

Configuring process image, mapping terminals, and creating boot projects.

Program Transfer, Communication, and PROFIBUS

Methods for program transfer, communication, libraries, and PROFIBUS setup.

PROFIBUS System Introduction

Fieldbus Overview and PROFIBUS DP

Overview of PROFIBUS as an open standard and details on PROFIBUS DP for data exchange.

PROFIBUS DPV1 and Connections

Explanation of PROFIBUS DPV1 for acyclic telegrams and details on connectors and cables.

PROFIBUS Topology and Addressing

Guidelines for PROFIBUS topology and procedures for setting slave addresses.

Error Handling and Diagnostics

Diagnostics and Status Monitoring

Methods for diagnosing PROFIBUS state, reading fieldbus status via ADS, and K-bus status.

Diagnostic LEDs and K-Bus Error Codes

Explanation of diagnostic LEDs and a table of K-Bus error codes with remedies.

Appendix and Support

Getting Started and Controller Migration

Initial setup guide for BC3150 and instructions for switching between controllers.

Firmware Update and Operating Conditions

Procedures for firmware updates and general operating conditions for fieldbus components.

Device Testing Standards and References

Test standards for devices and bibliography of relevant technical resources.

Abbreviations and Support

List of abbreviations and information on Beckhoff support and service contacts.

Related product manuals