Explain count up (CTU) instruction with timing diagram.

1 Answer

Answer :

The CTU is an instruction that counts false-to-true rung transitions. Rung transitions can be caused by events occurring in the program. When rung conditions for a CTU instruction have made a false-to-true transition, the accumulated value is incremented by one count, provided that the rung containing the CTU instruction is evaluated between these transitions. The accumulated value is retained when the rung conditions again become false. The accumulated count is retained until cleared by a reset (RES) instruction that has the same address as the counter reset. 

image


The control word for counter instructions includes six status bits, as indicated below.

image


* CU Bit: This status bit is true when UP counter instruction is true.

* DN bit: This bit is true when accumulated value is equal to or greater than the present value of the counter.

* OV(Overflow) bit: when counter count value exceeds 32,767,this bit becomes true.

* UN(Underflow):It will go true when counter counts below -32,768.

* Accumulator Value (ACC): This is the number of false-to-true transitions that have occurred since the counter was last reset.

* Preset Value (PRE): Specifies the value which the counter must reach before the controller sets the done bit.


Timing Diagram of Counter up(CTU) Instruction:

Too many uploads - please try again in an hour

Related questions

Description : Explain MCB and ELCB with connection diagram supplying single phase load. 

Last Answer : OR OR Explanation: * MCB provides short circuit protection. * MCB provides overload protection * ELCB provides earth fault protection. * MCB is in series with ... occurs, the ELCB cuts off the power within the time of 0.1 sec. automatically to protect the personnel. 

Description : Explain the working of Neon sign tube with diagram.

Last Answer : Neon sign tube: The construction & circuit diagram for neon tube is as shown in fig. Basically neon tube is used for advertisement or decoration purpose. The maximum length of tube is ... the HT transformer must be earthed separately. * Caution notice of danger board is required.

Description : Explain the working of HPMV Lamp with neat diagram.

Last Answer : High-pressure Mercury-Vapour Lamp (HPMVL):  Working:  * Whenever 1-ph, 230V, AC Supply is provided to the discharge tube of MVL, initially the current flows from Phase to the choke to ... : The function of power factor improvement capacitor is to improve the power factor from 0.5 to 0.95.

Description : What is PLL? Explain its operation with a block diagram.

Last Answer : PLL - A phase-locked loop or phase lock loop is a control system that generates an output signal whose phase is related to the phase of an input signal Block diagram  ... to the input frequency. The phase - locked loop goes through three states free running capture and phase lock.

Description : Explain dynamic and static induced emf with neat diagram.

Last Answer : Dynamically Induced EMF:-  In this case, either coil moves or magnet moves, so that there is relative motion between coil & magnetic field. Thus magnetic field is cut by coil & emf is induced in it. The emf ... The expression for induced EMF is e= -L(di/dt) or = -N(dϕ/dt).

Description : Draw the block diagram of regulated power supply, explain function of each block and draw waveforms of each stage.

Last Answer : 1. A step down transformer 2. A rectifier 3. A filter 4. A regulator Operation of Regulated Power Supply:- Step Down Transformer:- A step down transformer will ... regulator. A regulator will maintain the output constant even when changes at the input or any other changes occur.

Description : Draw block diagram of PLL as a FM demodulator. Explain function of each block.

Last Answer : Operation:  The FM signal which is to be demodulated is applied at the input of the PLL.  the PLL is locked to the FM  The error voltage produced at ... using PLL ensures a high Linearity, between the instantaneous input frequency and VCO control voltage (error amplifier output)

Description : Describe the working principle of Thyristor operated dimmer with the help of circuit diagram.

Last Answer : Thyristor operated dimmer: A popular thyristor operated dimmer circuit employ TRIAC-DIAC phase control for low AC power control. During each half-cycle, the capacitor charges through (R1+VR1). When the ... time constant {C (R1+VR1)}. Thus by reducing VR1 the lamp brightness can be increased.

Description : Illustrate with neat wiring diagram a single lamp control by two point method.

Last Answer : Single lamp control by two point method:  This system is commonly used for stair case wiring. It consists of two way switches (the switch operates always in one of the two possible positions) the ... the person will change the position of switch S2, so that the lamp will be switched OFF'.

Description : Describe strain gauge with labelled diagram.

Last Answer : A Strain gauge is a sensor whose resistance varies with applied force. It converts force, pressure, tension, weight, etc., into a change in electrical resistance which can then be measured. When external ... to the applied strain. So, the voltmeter can be calibrated in terms of strain or force. 

Description : Explain the suitability of aluminium as an electrical conductor with respect to its mechanical and electrical properties. 

Last Answer : Following are requirements of conductor:- i) High conductivity :  Material should have high conductivity, So that * cross section of conductor (size) reduces, * Copper losses reduces, * So Efficiency ... . Boiling point is 1820°C 9. Specific gravity is 2.7 10. High resistance to corrosion. 

Description : Explain with neat sketch the working principle of MIG.

Last Answer : In metal-arc inert gas welding the Weld area is shielded by an effectively inert atmosphere of argon, helium, carbon dioxide, or various other gas mixtures . The consumable bare Wire is fed automatically ... of the molten-weld puddle. Multiple-weld layers can be deposited at the joint. 

Description : Explain In Brief The Control And Timing Circuitry Of The 8085.?

Last Answer : Answer :The timing and control circuitry section of the 8085 is responsible for the generation of timing and control signals so that instructions can be executed. The types of signals involved ... of control signals for the executions of instructions and for the sync between external devices.

Description : Explain The Flow Of A Typical Instruction Word.?

Last Answer : Answer :The flow of a typical Instruction word is as follows: The content of the program counter of 2 byte is transferred to the address register known as MAR ( memory address register ). This ... bus. Now the data is placed in the instruction register which will eventually decode and execute it.

Description : Draw the block diagram of PLC.

Last Answer : Block diagram of PLC and input/output devices used for PLC Input/output devices - The input module has bank of terminals for physically connecting input devices, like push buttons, limit switches etc. ... is to translate signals from the PLC's CPU into a form that the output device can use.

Description : What Happens When Hlt Instruction Is Executed In Processor?

Last Answer : Answer :The Micro Processor enters into Halt-State and the buses are tri-stated.

Description : Then number of T-states of the instruction STA in 8085 microprocessor is A) 10 B) 12 C) 13 D) 16 

Last Answer : Then number of T-states of the instruction STA in 8085 microprocessor is 13 

Description : Application Specific Instruction Set Processor (ASIP)

Last Answer : An application specific instruction set processor (ASIP) can serve as a compromise between the general purpose processor and single-purpose processors. An ASIP is a Programmable processor ... fetch sequential data memory locations in parallel with other operations to further speed execution.

Description : How to Count in Japanese

Last Answer : How to Count in Japanese The Japanese are known for their skills in mathematics. Lots of it has to do with how they are taught, but they also have a simple, straightforward, and logical counting ... - Your destination to the rising sun and as an additional learn how to make a japanese garden.

Description : How to Count Calories ?

Last Answer : How to Count Calories Calorie counting is a way to monitor your calorie intake, usually with the goal of increasing, decreasing or even maintaining your weight. What Are Calories? A calorie is a unit ... substances. Keep a diary of your food and drink intake, listing each item's calorie count.

Description : How to Count in Chinese ?

Last Answer : How to Count in Chinese Chinese is the most commonly-spoken language in the world, with over one billion people speaking at least one of the many regional dialects and variants of the language. ... into great china and as a bonus learn how to play mahjong to practice your Chinese counting prowess.

Description : How to Count in French ?

Last Answer : How to Count in French French is among the many languages used in diplomacy and international trade. Like all languages, counting is an essential part of speaking and writing in the French language. ... addition why don't you learn how to give yourself a french manicure when you're there already.

Description : How to Count in Spanish ?

Last Answer : How to Count in Spanish Spanish is one of the world's most common languages. Millions of people speak and write in Spanish during casual conversation, formal discussions, or business transactions. Here are ... to head to Barcelona, Spain which was rated no.4 in the list of Top ten tourist hotspots

Description : What are some bad things to be early for?

Last Answer : Your own funeral.

Description : Do you believe in things working out simply because you were at the right place at the right time?

Last Answer : Yes absolutely but there are other forces at play as well but they IMO are a much more complicated set of forces and not all that simple to define.

Description : With neat diagram explain calibration of energy meter by direct loading method.

Last Answer : Calibration of Energy Meter by Direct Loading Method:  There are three methods for testing/calibration:  1. Long period dial test  2. Using rotary sub- standard meter  3. Using precision grade instruments  All ... of substandard meter in kWh  Then % error = [(D - DS)/DS] x 100

Description : Draw the labeled block diagram of process control system and explain each block.

Last Answer : Explanation - Process control system consists of process or plant, sensor, error detector, automatic Controller, actuator or control element. 1) Process or plant- process means some manufacturing sequence ... process which changes the process variable. Output of this block is denoted by u .

Description : Draw the circuit diagram of battery charger using SCR and explain it’s working.

Last Answer : Battery charger circuit using SCR: The figure shows the battery charger circuit using SCR. A 12V discharged battery is connected in the circuit and switch SW is closed. The singlephase 230V ... not fired. In this way, after full charging, further charging is automatically stopped.

Description : Explain with neat diagram series and parallel magnetic circuits. 

Last Answer : Series magnetic circuit: When different magnetic materials having different lengths, cross sectional areas and permeability are connected one after another, in which same flux is established in different sections, then it is called series ... flux, Φ = Φ1 + Φ2  Path 1: BAFE  Path 2: BACD

Description : Explain working of AC circuit breaker using SCR with circuit diagram.

Last Answer : AC Circuit Breaker:  The circuit configuration of static AC circuit breaker using SCR is shown in the figure. When switch S' is closed, the SCRs T1 and T2 are fired in positive ... to non-availability of gate current. Thus the maximum time delay for breaking the circuit is one half-cycle.

Description : Draw block diagram for CNC drilling machine and explain its working.

Last Answer : Block diagram consist of the following points:  Machine tool with DC servo motor as feedback element. The transducer is added as adaptive control application.  The auxiliary controller ... line.  The interrupt pulses are generated by TBG and supplied to computer through inter

Description : Draw the block diagram of satellite sub-system and explain power subsystem.

Last Answer : POWER SUBSYSTEM- This system provides the necessary DC power to the satellite. All communication satellites derive their electrical power from solar cells. There is also a battery backup facility used during ... . to d.c. converter is used to raise the level of low voltages to high voltage.

Description : Explain space diagram & vector diagram

Last Answer : Space diagram: It is the diagram in which number of forces acting on body is drawn in space to a suitable scale and naming the spaces in order by Bow's notation. Vector diagram: It is the ... of the forces drawn in space diagram by maintaining the same order as it was maintained in space diagram.

Description : Explain with neat diagram the working of photo-voltaic cell. 

Last Answer : Diagram the working of photo-voltaic cell: Working:- Solar cell operates on principle of Photo-voltaic effect    Solar cell works in following steps: The solar cell is composed ... . When you connect loads such as a light bulb, electric current flows between the two electrodes.  

Description : Draw the wiring diagram of fluorescent tube. Explain the working of choke and starter. 

Last Answer : Fluorescent lamp:- Operation:- When switch is ON current flows through the choke-filament no1- starter-filament no. 2- to neutral, At that time choke induces high voltage which is applied to ... at the time of starting. ii) Starter: To make and break the circuit to start the tube. 

Description : Explain with block diagram photovoltaic power generation.

Last Answer : Photovoltaic power generation:  Photovoltaic power generating system consists of following components: 1. Photovoltaic cell panel: Its function is to convert energy content of sunrays directly into DC ... . Step-up transformer: It step-up input voltage to utilization voltage e.g. 230V.

Description : Explain with schematic diagram direct distribution of solar energy.

Last Answer : Explain with schematic diagram direct distribution of solar energy: Solar energy reaching earth's surface consists of two components: i) Direct solar energy, ii) Diffused solar energy. Direct solar energy ... radiation. It is very intense radiation and it can produce sun burns and shadows.

Description : Explain with diagram load duration curve.

Last Answer : It is drawn from load curve. It is graph of load (MW/KW) arranged in descending order of magnitude with respect to time. 

Description : Explain construction & working of attraction type M.I. instrument with neat diagram.

Last Answer : 1. Moving element: a small piece of soft iron in the form of a vane or rod.  2. In Attracted type a cylindrical coil or solenoid which is kept fixed. An oval-shaped soft-iron piece are ...   9. When = the pointer will be stable & we can get correct reading of the electrical quantity

Description : Explain spring control method with neat diagram.

Last Answer : Spring Control Method: As shown in the figure the inner ends of the both springs are attahced to the spindle ,while outer end of upper spring is attached to the lever and outer end of ... the springs are twisted in opposite direction to the motion of pointer and produce controlling torque.

Description : Draw the circuit diagram of crystal oscillator and explain its working.

Last Answer : To excite a crystal for operation in the series-resonant mode it may be connected as a series element in a feedback path, the crystal impedance is the smallest and the amount of positive feedback is the largest. ... which is good.  The resonant frequency is given as  Fo = 1/( 2 π √LC ) 

Description : Draw and explain Hartley Oscillator circuit diagram.

Last Answer : Function of each component: 1. An NPN transistor connected in a common emitter configuration works as the active device in amplifier stage and CE configuration provides 180°phase shift. 2. R1 and R2 ... circuit to the base-emitter circuit.  The frequency of oscillation is given as-  

Description : Explain single line diagram.

Last Answer : diagram

Description : State the meaning of Single line diagram.

Last Answer : Meaning of Single line diagram: The single line diagram of a power system is the network which shows the main connections and arrangement of the system components along with their data ( ... breakers, transformers, capacitors, bus bars, and conductors are shown by standardized schematic symbols. 

Description : Draw circuit diagram of symmetrical configuration of bridge converter.

Last Answer : circuit diagram of symmetrical configuration of bridge converter

Description : Draw circuit diagram of Class B commutation.

Last Answer : Class B: Resonant Pulse Commutation:

Description : Define impedance diagram and reactance diagram.

Last Answer : Impedance diagram: Impedance diagram is the simplified equivalent circuits of single line or one line diagrams of power system in which all components are represented by their equivalent circuit.  ... machines are neglected and is used only for fault current calculation is called reactance diagram.

Description : Define Multivibrator. State the types of multivibrator. Which M/V can be used as a flip-flop? Draw the circuit diagram.

Last Answer : Definition:- A multivibrator is an electronic circuit that switches rapidly by means of positive feedback between two or more states.  OR  A multivibrator is an electronic circuit used to implement a ... Bistable Multivibrator: it can operate as a flip-flop, Circuit diagram 

Description : Block Diagram of op-Amp

Last Answer : Block Diagram: The OP-AMP is basically a different amplifier i.e. it will amplify the voltage which is differentially present between its input terminals.  1.Input stage: The ... normally a complementary output stage. It increases the OPAMP. It also provides a low output resistance. 

Description : block diagram of logic analyzer.

Last Answer : A logic analyzer can be triggered on a complicated sequence of digital events, then capture a large amount of digital data from the system under test (SUT).When logic analysers first came ... Once the data are captured, they can be displayed several ways, from the simple) to the complex