PLC Notes: (Type The Company Name)
PLC Notes: (Type The Company Name)
PLC NOTES
Andreas Metaxas
26/7/19
Note: PLC IS SEQUENTIAL LIKE C AND VHDL SO DON’T PUT OUTPUTS IN SERIES
BUT IN PARALLE
BAD
GOOD
RUNG OPERATION: Typical stop / start button setup with an internal tag.
Case Study:
Once the water level hits a certain amount a level sensor turns on and the valve will close
-Mixer will start mixing the water and will stay on until stop is pressed
PROCESS:
1) Sort inputs & Outputs
Latching: An output latching instruction is an output instruction used to
maintain or latch an output ON
CASE STUDY2: Once the water level hits a certain
amount a level sensor turns on and
the valve will close
Timer Base:
EXAMPLE:
Timer Cont2: .TT
Active from
limit switch = 1
and count to 30
Timer Cont3: EN
As long as the input is ==1 (true) then it’s true and EN is active
Cont Example Timer EN
Types of Timer
TIMER ON DELAY <TON>
An actual example: A fan that turns off 10 seconds after a button is pressed
The cycle begins when the button or (RUNG) is false
Example Problem
Types of Counter IN PLC
COUNT UP:
Count Down:
COUNT UP & DOWN COUNTER:
EXAMPLE COUNTERS:
CONT
Case Study