Docsity

Recent PLCs Continued-Digital Logic Design And Programming-Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

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

Figure 2 (PLC system with high-density I/O(64-point modules).

Recent PLCs (continued)^ 

Mechanical design improvements included: rugged input/output enclosures and input/outputsystems that made the terminal an integral unit.  Special interfaces allows certain devices to beconnected directly to the controller. Interfacesinclude thermocouples, strain gauges, and fast-responseinputs.  Peripheral equipment improved operator interfacetechniques,  System documentation is now a standard part of thesystem.

PLC Hardware

The central processing unit(CPU)^ 

Governs all PLC activities.

Three components form the CPU:

The processorThe memory systemThe system power supply

PLC Program Scan

Scanning^ 

CPU completes three processes:

It

reads

It

executes

It

writes

This process of sequentially reading theinputs, executing the program inmemory, and updating the outputs isknown as

scanning.

Operation^ 

The processing of a program line via thecentral control unit of a PLC takes time.  The time required by the PLC for a singleexecution of a program including theactualisation and output of the processimage, is termed the cycle time.  The longer the program is and the longer therespective PLC requires to process anindividual program line, the longer the cycle.

Consequences of CyclicalProcessing^ 

Input signals shorter than the cycle time maypossibly not be recognised.  Since the commands are processedsequentially, the specific behavior sequenceof a PLC program may be crucial.  With some applications it is essential forinputs or outputs to be accessed directlyduring a cycle.  This type of program processing, bypassingthe process image, is supported by some PLCsystems.

Scan Time^ 

Total time the PLC takes to completethe program and I/O update scans.

The program scan time generallydepends on two factors:(1) the amount of memory taken by thecontrol program and(2) the type of instructions used in theprogram

Scan Time^ 

The scan is normally a continuous,sequential process of reading the statusof the inputs, evaluating the controllogic, and updating the outputs.

A processor is able to read an input aslong as the input signal is not fasterthan the scan time.

Example:What occurs during the scanning operation of aprogrammable controller if the signal(s) from an inputfield device behave as shown in Figures a and b?

Immediate Instructions^ 

The common scan method of monitoring theinputs at the end of each scan may beinadequate for reading certain extremely fastinputs.  Some PLCs provide software instructions thatallow the interruption of the continuousprogram scan to receive an input or toupdate an output immediately.

Immediate Response to aninterrupt input

Immediate update of anoutput field Device