List the addressing modes of 8051 and explain register indirect and indexed addressing mode in detail with assembly language example.
[7 marks]List the factors to be considered for selection of microcontroller for application.
[3 marks]State the difference between Control and Conditional flag. Explain flag register of 8051 microcontroller.
[4 marks]Explain following 8051 instructions with an example.
[4 marks]MOVX (ii) ANL C, /Bit (iii) CJNE (iv) DIV
[ marks]Explain in detail of timer operation in mode-2. Write program to generate delay of 0.25 mS using timer-1 in mode-2. Show necessary calculation.
[7 marks]Explain PC and DPTR with their significance. Write program to interchange contents of PC and DPTR. ------------------------------- OR -------------------------------
[7 marks]Describe the functions of following 8051 pins.
[3 marks]XTAL1 (ii) ALE (iii) RxD
[ marks]List the sequence of events that take place when an interrupt occurs on the 8051 microcontroller.
[4 marks]Write an assembly level program for 8051 to subtract 156F83H from 24759CH save the result in RAM location starting at 50H.
[3 marks]Explain the significance of SCON register in 8051.
[4 marks]Explain in detail the structure and operation of port P0 of the 8051 microcontroller. ------------------------------- OR -------------------------------
[7 marks]State the 8051 timers specifying related Special Function Registers (SFR).
[3 marks]Explain with interfacing diagram, a 7-segment display interfacing with 8051 and write an assembly level program for 8051 to display data accordingly.
[7 marks]Explain the ON-Delay timer.
[4 marks]Draw the block diagram of PLC. Page 1 of
[2 marks]Explain the various programming languages in PLC.
[4 marks]Write a PLC ladder logic equivalent for NAND and NOR as universal gates. ------------------------------- OR -------------------------------
[7 marks]Describe the Input Module block diagram.
[3 marks]Two feeder conveyors (F1 and F2) feed a part onto one main conveyor (M). Aproximity device is at the end of each feeder conveyor. The proximity device outputs are fed as pulses to counters. Each counter then shows the count of parts being put onto the main conveyor. In addition, another proximity device at the end of the conveyor in response to parts leaving and then sends the pulses to another counter. Develop a ladder program to have a single register showing the number counter of parts on the conveyor. Assume that the register is initially set the same count as the count of parts on conveyor.
[7 marks]Name the three forms of PLC counter instructions and explain the basic operation of each.
[3 marks]List four factors that enter the length of the scan time and explain it.
[4 marks]When the lights are turned off in a building, an exit door light is to remain on for an additional 2 min, and the parking lot lights are to remain on for an additional 3 min after the door light goes out. Write a ladder program to implement this process. ------------------------------- OR -------------------------------
[7 marks]Describe various move instructions: BIT, BYTE, WORD DOUBLE WORD, REAL
[3 marks]Name the three forms of PLC counter instructions and explain the basic operation of each.
[4 marks]Write the ladder logic program for stepper motor control with PLC for forward and reverse direction. Page 2 of
[2 marks]