Академический Документы
Профессиональный Документы
Культура Документы
INTRODUCTION TO PLC
What is a PLC?
A PLC is a device that was invented to replace the necessary sequential relay circuits for machine control.
Relays..
A relay is an electrically operated switch. Electric current through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts..
PLC
PLC OPERATION
One scan time is defined as the time it takes to execute the 3 steps listed above
Response Time
Ladder logic is a programming language that represents a program by a graphical diagram based on the circuit diagrams of relaybased logic hardware.
..resemble ladders with two vertical rails and a series of horizontal rungs between them.....
Eg:X
T S X
Replacing Relays
Battery-bus bars.
give all the devices an address convert the schematic into a logical sequence of events
A Level Application
Scan 1
Scan 2-100
Scan 101-1000
Scan 1001
Scan 1002
Scan 1050
Basic Instructions
Load The load (LD) instruction is a normally open contact. It is sometimes also called examine if on.(XIO) (as in examine the input to see if its physically on)
LoadBar The LoaDBar instruction is a normally closed contact. It is sometimes also called LoaDNot or examine if closed. (XIC) (as in examine the input to see if its physically closed).
Logic State
0
Load
False
LoadBar
True
True
False
Out The Out instruction is sometimes also called an OutputEnergize instruction. The output instruction is like a relay coil.
Inputs
Outputs
SW1(LD) SW2(LDB) COIL(OUT) SW1(LD) SW2(LDB) COIL(OUT) False False True True False True False False True 0 0 1 0 1 0 0 0 1
True
False
False
Latch Instructions
Counters
Timers
One-shots
A one-shot is used to make something happen for ONLY 1 SCAN
One-shot Instruction
Math Instructions
Addition- It is commonly called ADD. Subtraction- SUB. Multiplication- MUL. Division- DIV.