Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

TITLE : PLC PROGRAMMING-TIMER

OBJECTIVES : To understand the function of timer and design a programming using timer

INSTRUMENT : NAIS-Panasonic

THEORY :

Timer (in PLC) is widely used in industries to control the machines. It can be used as switch to the
OUTPUT and also act as OUTPUT.

PROCEDURE :

Three questions were given and the PLC circuits were constructed using the NAIS-Panasonic to test their
function. The question is shown in the laboratory sheet given.

RESULT :

For question 1,

Ladder diagram:

Mnemonic code:

Address Instruction Data


0000 LD 00001
0001 OUT 10000
0002 LD 00001
0003 TIM 00001
09
0004 OUT 10001
0005 END
For question 2,

Ladder diagram:

Mnemonic code:

Address Instruction Data


0000 LD 00000
0001 LD NOT TIM01
0002 OUT 10001
0003 LD 00000
0004 LD NOT TIM03
0005 TIM 00001
03
0006 LD TIM01
0007 LD NOT TIM02
0008 OUT 10000
0009 LD TIM01
0010 TIM 00002
06
0011 LD TIM02
0012 LD NOT TIM03
0013 OUT 10002
0014 LD TIM02
0015 TIM 00003
09
0016 END
For question 3,

Ladder diagram:

Mnemonic code:

Address Instruction Data


0000 LD 00000
0001 TIM 00001
02
0002 LD TIM01
0003 TIM 00002
03
0004 LD TIM02
0005 OUT 10001
0006 END

After switch 00 is flipped ON, it will trigger timer 1 to make a countdown for 2 seconds to activate the
second timer which will countdown for another 3 seconds. After that, timer 2 will activate the OUTPUT
10001, which is an LED, turned on.
TITLE : PLC PROGRAMMING-COUNTER

OBJECTIVES : To understand the function of timer and design a programming using timer

INSTRUMENT : NAIS-Panasonic

THEORY :

Counter (in PLC) is widely used in industries. It has been used to count number of components produced
by the machine. Another function of counter is to activate or deactivate the machine when counter
comply the setting value. Counter must have two signals which is connected namely COUNT and RESET.
When COUNT switches changes from OFF (0) to ON (1); the COUNTER value will increase/decrease a unit
from total value. RESET switch is used to reset all counted numbers by the COUNTER to the original
value.

PROCEDURE :

Questions were given and the PLC circuits were constructed using the NAIS-Panasonic to test their
function. The question is shown in the laboratory sheet given.

RESULTS :

For question 1,

Ladder diagram:

Mnemonic code:

Address Instruction Data


0000 LD 00000
0001 LD NOT CNT01
0002 OUT 10000
0003 LD 00002
0004 LD NOT 00000
0005 CNT 00001
#5
0006 END
For question 3

Mnemonic code

Address Instruction Data


0000 LD 00000
0001 LD NOT TIM01
0002 OR LD TIM06
0003 AND LD
0004 AND LD TIM07
0005 OUT 10000
0006 OUT 10005
0007 LD 00000
0008 LD NOT TIM08
0009 TIM 00001
05
0010 LD TIM01
0011 LD TIM02
0012 OR LD TIM05
0013 AND LD
0014 AND LD TIM06
0015 OUT 10001
0016 OUT 10004
0017 LD TIM01
0018 TIM 00002
05
0019 LD TIM02
0020 LD NOT TIM03
0021 OR LD TIM04
0022 AND LD
0023 AND LD TIM05
0024 OUT 10002
0025 OUT 10003
0026 LD TIM02
0027 TIM 00003
5
0028 LD TIM03
0029 TIM 00004
5
0030 LD TIM04
0031 TIM 00005
5
0032 LD TIM05
0033 TIM 00006
5
0034 LD TIM06
0035 TIM 00007
5
0036 LD TIM07
0037 TIM 00008
5
0038 END
For question 4,

Ladder diagram: as was given in the laboratory sheet.

Mnemonic code:

Address Instruction Data


0000 LD 00000
0001 LD NOT TIM01
0002 TIM 00001
10
0003 LD TIM01
0004 LD 00001
0005 CNT 00000
#3
0006 LD CNT00
0007 OUT 10000
0008 END

When 00 switch in turned ON, the signal will flow through TIMER 01 after 10 seconds. This process will
have to take 3 times in order for counter 00 to activate the OUTPUT. Button 01 will act as a reset button.

You might also like