Control logic

Control logic is a key part of a software program that controls the operations of the program. The control logic responds to commands from the user, and it also acts on its own to perform automated tasks that have been structured into the program. [1]

Model of a simple stopwatch[2]

Control logic can be modeled using a state diagram [3], which is a form of hierarchical state machine. These state diagrams can also be combined with flow graphs to provide a set of semantics for describing complex control logic. [4] This mix of state diagrams and flow graphs is illustrated in the figure on the right, which shows the control logic for a simple stopwatch. The control logic takes in commands from the user, as represented by the event named “START”, but also has automatic recurring sample time events, as represented by the event named “TIC”.

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Control system — For other uses, see Control system (disambiguation). A control system is a device, or set of devices to manage, command, direct or regulate the behavior of other devices or system. There are two common classes of control systems, with many… …   Wikipedia

  • Logic programming — is, in its broadest sense, the use of mathematical logic for computer programming. In this view of logic programming, which can be traced at least as far back as John McCarthy s [1958] advice taker proposal, logic is used as a purely declarative… …   Wikipedia

  • Logic Control — is a control surface originally designed by Emagic in cooperation with Mackie. HistoryLogic Control was first designed as a dedicated control surface for Emagic s Logic Digital Audio Workstation software. About 6 months later, Mackie re packaged… …   Wikipedia

  • Logic Pro — Logic 8 Developer(s) Apple Inc. Stable release 9.1.5 / 2011 08 08 Operating system …   Wikipedia

  • Logic analyzer — A logic analyzer is an electronic instrument which displays signals in a digital circuit. A logic analyzer may convert the captured data into timing diagrams, protocol decodes, state machine traces, assembly language, or correlate assembly with… …   Wikipedia

  • Logic Pro — Desarrollador Apple Inc. Información general Última versión estable 9.1.1 …   Wikipedia Español

  • Control system security — is the prevention of intentional or unintentional interference with the proper operation of industrial automation and control systems. These control systems manage essential services including electricity, petroleum production, water,… …   Wikipedia

  • Logic Trunked Radio — (LTR) is a system developed in the late 1970s by the E. F. Johnson Company.LTR is distinguished from some other common Trunked Radio Systems in that it does not have a dedicated control channel. Each repeater has its own controller and all of… …   Wikipedia

  • Control unit — A control unit in general is a central (or sometimes distributed but clearly distinguishable) part of the machinery that controls its operation, provided that a piece of machinery is complex and organized enough to contain any such unit. One… …   Wikipedia

  • Control table — This simple control table directs program flow according to the value of the single input variable. Each table entry holds a possible input value to be tested for equality (implied) and a relevant subroutine to perform in the action column. The… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.