C ONTACT S YMBOLS U SED IN PLC S

C ONTACT S YMBOLS U SED IN PLC S

Programmable controller contacts and electromechanical relay contacts operate in a very similar fashion. For example, let’s take relay A (see Figure 3-14a) which has two sets of contacts, one normally open contact (A-1) and one normally closed contact (A-2). If relay coil A is not energized (i.e., it is OFF), contact A-1 will remain open and contact A-2 will remain closed (see Figure 3-14b). Conversely, if coil A is energized, or turned ON, contact A-1 will close and contact A-2 will open (see Figure 3-14c). The blue lines highlighting the coil and contacts denote an ON, or closed, condition.

A Relay Coil A A-1

Contact A-1 (NO)

A-2

Contact A-2 (NC)

(a) Standard configuration for relay coil A with normally open contact A-1 and normally closed contact A-2.

(b) Coil A de-energized.

(c) Coil A energized.

Figure 3-14. Relay and PLC contact symbols showing a relay coil and normally open

and normally closed contacts.

Industrial Text & Video Company 1-800-752-8398

www.industrialtext.com

S ECTION Introductory Logic C HAPTER 1 Concepts

Concepts 3

Remember that when a set of contacts closes, it provides power flow, or continuity, in the circuit where it is used. Each set of available coils and its respective contacts in the PLC have a unique reference address by which they are identified. For instance, coil 10 will have normally open and normally closed contacts with the same address (10) as the coil (see Figure 3-15). Note that a PLC can have as many normally open and normally closed contacts as desired; whereas in an electromechanical relay, only a fixed number of contacts are available.

Figure 3-15. Multiple contacts from a PLC output coil.

A programmable controller also allows the multiple use of an input device reference. Figure 3-16 illustrates an example in which limit switch LS1 is connected to reference input module connection 20. Note that the PLC control program can have as many normally open and normally closed reference 20 contacts in as many rungs as needed.

Control Program Figure 3-16. Input 20 has multiple contacts in the PLC control program.

Field Inputs

The symbols in Table 3-5 are used to translate relay control logic to contact symbolic logic. These symbols are also the basic instruction set for the ladder diagram, excluding timer/counter instructions. Chapter 9 further explains these and more advanced instructions.

Industrial Text & Video Company 1-800-752-8398

www.industrialtext.com

S ECTION Introductory Logic C HAPTER 1 Concepts

Table 3-5. Symbols used to translate relay control logic to contact symbolic logic.

The following seven points describe guidelines for translating from hardwired logic to programmed logic using PLC contact symbols:

• Normally open contact. When evaluated by the program, this sym- bol is examined for a 1 to close the contact; therefore, the signal referenced by the symbol must be ON, CLOSED, activated, etc.

• Normally closed contact. When evaluated by the program, this symbol is examined for a 0 to keep the contact closed; thus, the signal referenced by the symbol must be OFF, OPEN, deactivated, etc.

• Output. An output on a given rung will be energized if any left-to- right path has all contacts closed, with the exception of power flow going in reverse before continuing to the right. An output can control either a connected device (if the reference address is also a termina-

Industrial Text & Video Company 1-800-752-8398

www.industrialtext.com

S ECTION Introductory Logic C HAPTER 1 Concepts

Concepts 3

tion point) or an internal output used exclusively within the pro- gram. An internal output does not control a field device. Rather, it provides interlocking functions within the PLC.

• Input. This contact symbol can represent input signals sent from connected inputs, contacts from internal outputs, or contacts from connected outputs.

• Contact addresses. Each program symbol is referenced by an ad- dress. If the symbol references a connected input/output device, then the address is determined by the point where the device is connected.

• Repeated use of contacts.

A given input, output, or internal output can be used throughout the program as many times as required.

• Logic format. Contacts can be programmed in series or in parallel, depending on the output control logic required. The number of series contacts or parallel branches allowed in a rung depends on the PLC.

Table 3-6a show how simple hardwired series and parallel circuits can be translated into programmed logic. A series circuit is equivalent to the Boolean AND operation; therefore, all inputs must be ON to activate the output. A parallel circuit is equivalent to the Boolean OR operation; therefore, any one of the inputs must be ON to activate the output. The STR and OUT Boolean statements stand for START (of a new rung) and OUTPUT (of a rung), respectively. Table 3-6b further explains Table 3-6a.

K EY AND T ERMS Boolean operators

contact symbology gate input device internal output language NAND negative logic NOR normally closed normally open NOT OR output device parallel circuit positive logic rung series circuit truth table

Industrial Text & Video Company 1-800-752-8398

www.industrialtext.com

(a) Relay Ladder

Contact or

Ladder Diagram

c d tro Series Circuit

u s Parallel Circuit

Series/Parallel Circuit

w id e G Y4 = (X7 + X10) • (C2 + C3) AND X10

(d) LS10

Series/Parallel Circuit

h o w e v e r , t h e n u m b e r o f c o n t a c t s a r e u n il m i t e d a n d c a a n a LS11 LS12

Y5 = (X11 • X12) + X13

e n e r g i z e d . C R 1 - 1 i s a c o n t a c t f r o m t h e c o n t r o l r e l a y C R 1 1 Parallel/Series Circuit

0 Y6 = (X14 • X15) + (X16 • X17) AND X15

Parallel/Series Circuit ( h ) N o r m a l l y C l o s e d C o n t a c t s . I n c i r c u i t ( h ) , t h e s o l e n o i d

w i ll e n e r g i z e i f L S 1 4 c l o s e s a n d C R 1 - 1 i s n o t e n e r g i z e d 9 .

3 LS14 CR1-1 SOL3

i n t e r n a l o u t p u t C 1 . S O L 3 w i ll s t a y e n e r g i z e d a s l o n g a s c e L Series Circuit

ts ic LS14

CR1-1 SOL4

Table 3-6. (a) Hardwired relay logic translated into PLC logic T 7 E Series Circuit

using contact symbols and

(b) R an explanation of the translation.

This page intentionally left blank.

Industrial Text & Video Company 1-800-752-8398

www.industrialtext.com