Docsity

Programmable Logic Controllers: Memory Map and Logic Operations, Lecture notes of Statistical Physics

Partial preview of the text

Download Programmable Logic Controllers: Memory Map and Logic Operations and more Lecture notes Statistical Physics in PDF only on Docsity!

Programmable Logic Controllers

Normally Open (NO)

  • ON condition is referred to as logic 1 or a high
  • OFF condition referred to as logic o or low.
  • NO switch not pass current until it closed.
  • NO is true when the input or output status bit controlling the contact is 1. Normally Closed (NC)
  • NC switch allows current flow until it closed.
  • NC is true when the input or output status bit controlling the contact is 0. -. External devices provide actual interface.

Ladder Output (Coil)

  • Coils are output symbols. There are many types of real- world output devices: motors, lights, pumps, counters, timers and relays.
  • PLC examines contacts (inputs) in ladder and turns coils (outputs) on or off, depending on condition of inputs.
  • It can be coil, negative coil, set coil, reset coil.
  • Coils represent relays that are energized when power flows to them.
  • When a coil is energized it causes a corresponding output to turn on by changing state of the status bit controlling output to 1. .

OUT

Final logic operation. The OUT instruction is actived as a result of a true set of condition signal. If 02 ON output 10000 will ON. (^02 ) LD 02 OUT 10000 END

OUT NOT

Final logic operation. The OUT instruction is actived as a result of a false set of condition signal. If 02 ON output 10000 will OFF. (^02 ) LD. 02 OUT.NOT 10000 END END

AND

Series connection, both inputs 01 and 02 must be ON in order for the output 10000 to be ON. LD 01 AND 02 OUT 10000 END 01 02 10000

AND NOT

Series connection, inputs 01 ON and 02 must be OFF in order for the output 10000 to be ON. LD 01 AND.NOT 02 OUT 10000 END 01 02 10000 END

BLOCK OR LOAD

01 10000 03 04 02 LD 01 AND 02 LD 03 AND 04 OR.LD OUT 10000 END Parallel connection of multiple serial circuits. END

BLOCK AND LOAD

01 10000 03 04 02 LD 01 OR 03 LD 02 OR 04 AND.LD OUT 10000 END Serial connection of multiple parallel circuits.

EX1 :

LD 02 AND 03 AND.NOT 04 OUT 10001 END (^02 03 ) END LD 02 AND 03 OUT.NOT 10000 LD 04 AND.NOT 03 OUT 10001

EX2 :

(^02 ) (^04 ) END

EX 5 :

LD 01 AND.NOT 02 OR 03 OUT 10000 LD 04 AND.NOT 02 OUT 10001 END 02 03 01 10000 02 10001 04 END

EX 6 :

LD 01 AND.NOT 02 OUT 10000 LD 10000 AND 03 OUT 10001 LD 10001 AND 04 OUT 10002 01 02 10000 10001 04 10002 END 10000 03 10001

EX 7 :

02 03 01 04 02 10000 10000 END LD 01 AND.NOT 02 OR 03 LD 04 AND.NOT 02 OR 10000 AND.LD OUT 10000

EX 9 :

02 (^01 ) END 04 (^0510003) 02 02 10003 LD 01 AND.NOT 02 AND 03 OR.LD LD 04 AND.NOT 02 AND 10003 OR.LD LD 05 AND.NOT 02 AND 10003 OR.LD OUT 10003

EX 10 :

02 03 (^01 ) 10002 END 09 LD 01 AND.NOT 02 LD 04 AND 05 OR 10002 OR 03 OR.LD AND.NOT 09 OUT 10002

EX 12 :

(^01 02 ) END 09 (^06100020710002) LD 01 AND.NOT 02 LD 06 AND 10002 OR.LD LD 04 AND 05 LD 07 AND 10002 OR.LD AND.LD AND.NOT 09 OUT 10002

EX 13 :

01 02 04 05 10002 END 09 (^0710002) 08 10002 06 LD 01 AND.NOT 02 LD 04 AND 05 AND.NOT 09 LD 07 AND 10002 LD 06 LD 08 AND 10002 OR.LD AND.LD OR.LD AND.LD OUT 10002