Docsity

Classification-Digital Logic Design And Programming-Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Classification-Digital Logic Design And Programming-Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Figure shows some intelligent I/O modules.(a) A single-axis positioning module(b) A temperature control interface.^ (a)

(b) docsity.com

Classification^ ^ The microprocessors used in PLCs are categorizedaccording to their word size, or the number of bitsthat they use simultaneously to perform operations.^ ^ Standard word lengths are 8, 16, and 32 bits.^ ^ Word length affects the speed at which the processorperforms most operations.^ ^ Word length correlates with the capability and degreeof sophistication of the controller.^ ^ The larger the word length, the more sophisticatedthe controller.

PLC Memory^ ^ The total memorysystem in a PLC isactually composedof two differentmemories.^ ^ The executivememory (FixedArea),^ ^ The applicationmemory.

Executive Memory^ ^ Collection of permanently stored programs that areconsidered part of the PLC itself.^ ^ These^ supervisory

programs^ direct^

all^ system

activities, such as execution of the control programand communication with peripheral devices.  The^ executive^ section

is^ the^ part^ of^ the

PLC’s

memory^ where^ the^

system’s^ available^ instruction

software is stored  i.e., relay instructions, block transfer functions, mathinstructions, etc.  This area of memory is not accessible to the user.

Application memory map

Application memory^ ^ Data Table Area:This^ area^ stores

all^ data^ associated^ with

the^ control program,^ such^ as^ timer/counter

preset^ values^ and other stored constants and variables used by the controlprogram or CPU.The data table also retains the status information of boththe system inputs (once they have been read) and thesystem outputs (once they have been set by the controlprogram).  User Program Area:Provides storage for programmed instructions entered bythe user.Also stores the control program.

Data Table Sections(Output Table)^ ^ Output table is an array of bits that controls the status of digitaloutput devices that are connected to the PLC’s output interface.^ ^ The^ maximum^ number

of^ bits^ available^ in^ the^

output^ table equals the maximum number of output field devices that caninterface with the PLC.  Like the input table, each connected output has an analogousbit in the output table corresponding to the exact terminal towhich the output is connected.  The^ processor^ controls^ the

bits^ in^ the^ output^ table

as^ it interprets the control program logic during the program scan,turning the output modules ON and OFF accordingly during theoutput update scan.  Turning ON and OFF of field devices via the output moduleoccurs during the update of outputs after the end of the scan.