Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help solving questions. 6:36 AM Mon Jan 31 9 88% Memory and storage addressing An n bit processor can directly address 2 - 1
Need help solving questions.
6:36 AM Mon Jan 31 9 88% Memory and storage addressing An n bit processor can directly address 2" - 1 byte locations in memory? A typical digital photograph shown below takes up 2.3MB = 2.3x10B (bytes). Fill in the table below for how many of these photographs an n bit processor can address. If less than 1 put o. LIVE Add a Time MO_1048 HEC September 26, 2021 12:58:50 PM Apple iPhone SE (2nd gene... Back Camera - 28 mm f1.8 4032 3024 2.3 MB ISO 125 YO Add a caption Add a Keyword 00434 (A) Add Faces Assign a Location MINI Epiloglasorcom Processor bits Addressable bytes Number of pictures addressable 4 8 16 32 64 90 88% 6:37 AM Mon Jan 31 10 32 64 Speed If we have a 8 cylinder engine operating at 10,000 RPM, approximately how fast a processor do we need if we would want to control the timing of each spark? Lets make some assumptions here: 8 sparks per revolution The processor takes 20 (just a number I picked for computation sake) clock cycles to do the processing for each spark. First calculate the revolutions per second: revolutions revolutions 1 minute 60 seconds Next calculate the clock cycles per second required as 8 sparks revolutions 20 clockcycles required clock speed Hz revolution second spark (cycles/second) Does the clock speed fall into the realm of microcontrollers (10's of MHz) or microprocessors (~Ghz)? second minute PLCs how do they fit into this? Many of you have taken PLC classes and ask how do PLCs fit into the picture? A PLC's - how do they fit into this? Many of you have taken PLC classes and ask how do PLCs fit into the picture? A functional diagram of a PLC system as shown below is equivalent to what a microcontroller does. The hardware is usually optimized for ruggedness to operate on the factory floor and to use the specialized programing environment of PLCs. Depending on the requirements of a PLC, the underlying processor may either by a microcontroller, a microprocessor, or some specialized processor arrangement. Programming Device Extemal Component, e.g. HMI PLC Programmer 3. Communicate with esternal component Communication Interface Memory EPROM Pen RAM UN RAM DV outs Outputs T Cortes Preses ROM pering Sen Sensors 2.Execute 1. Read Write Program inputs Communicate with 11 external component Processor Registers Control ALU Daten Unit Log pro Opera execution Timing Actuators Input Interface 1. Read inputs Output Interface L. Read inputs 5. We Outus 5. Weit Output Clock Power Supply bottles = bottles minute Take an example of a beverage bottling line running at 200 bottles per minute. Just as an example let's assume each battle requires 100 lines of PLC code with each line taking a processor cycle. 1. Converts bottles per minute to bottles per minute 1 minute second 60 seconds 2. Calculate cycles per second cycles bottles 100 lines code processor = 1 cycle X scond Second bottle line of code Your answer should come out well within the range that a microcontroller running at 20MHz can handle. However, note that PLCS may do a lot more, for example handling high speed Ethernet communications so some have processors closer to the XStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started