Microprocessor and PLC Assignment

Added on - 21 Apr 2020

  • 32

    pages

  • 4154

    words

  • 23

    views

  • 0

    downloads

Showing pages 1 to 8 of 32 pages
1
Table of Contents1.Source code procedure.........................................................................................................................12.Source file create in NAME and ID.....................................................................................................23.Output..................................................................................................................................................4A.Process or Operation of the Programmable Logic Controller..............................................................71.Architecture of the Programmable Logic Controller........................................................................72.Digital to Analog Converter.............................................................................................................83.Ladder Logic Programming..............................................................................................................9B. Process/operation of Programmable Logic Controllers.........................................................................101)Sensor and Transducer..................................................................................................................102)Amplification and Signal Conditioning...........................................................................................123)Programmable Logic Circuit Hardware Integration........................................................................13C. Basics of PLC Programming.................................................................................................................151.Program Organization....................................................................................................................152.Scan Cycles....................................................................................................................................163.Languages using PLC......................................................................................................................174.Logic Elements...............................................................................................................................18Design of PLC based security system.....................................................................................................19Title:PLC Program to Implement an Automatic Car-Wash Process..................................................19References.................................................................................................................................................22
Assignment-11.Source code procedureUsing softwareEASY68kASMStep -1the using software go tofileand open the new file. the file name is save inxxx.ASMStep -2type the program and go toprojectand select theassemble sourceandClick theexecute button.Step-3now the command window is open and click therunoption and selecttherun.Step-4the output will displaySource codeTitle :Calculation with Student ID* Written by :Henry Wilfred Mascarenhas* Date :15/11/20171
* Description:Design using the low level programming of microprocessing 68k based system*-----------------------------------------------------------START: ORG $1000*--------code for output-------LEA Henry Wilfred Mascarenhas,A1 Loads Henry into address register A1MOVE.B #14,D0 Moves the number 14 into data register D0TRAP #15 Display MessageMOVE.B #4,D0TRAP #15 Halt simulatorCR EQU $0D ASCII code for Carriage ReturnLF EQU $0A ASCII code Line FeedHENRY DC.B CR,LFDC.B 'Name: Henry Wilfred Mascarenhas,CR,LF2
DC.B 'Student ID: ********5',CR,LF,CR,LFDC.B 'Your Last 4 digit of your Student ID:5678',CR,LF,CR,LFEND START2.Source file create in NAME and ID3
4
5
3.OutputOutput display in NAME and ID6
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Download This Document