You are on page 1of 69

-



PLC GSM modem
:. (M.Sc) -

2013

............................................................................................................................................... 4
ABSTRACT............................................................................................................................................ 5
................................................................................................................................................. 6
1: PLC................................................................................................. 7
1.1 PLC ( ) ................................................................ 7
1.2 PLC ................................................................... 7
1.3 PLC........................................................................... 9
1.4 ....................................................................................................... 10
1.5 ................................................ 12
1.6 ...................................................................................................... 14
1.7 ............................................... 16
1.8 PLC................................................. 17
1.9 .................................................................................................................. 18
2: ............................................................. 19
2.1 ................................................................................................................. 19
2.2 ...................................................................................................................... 20
2.3 ............................................................................................................... 22
2.3.1 ................................................................................ 22
2.3.2 ................................................................... 24
2.3.3 ............................................................ 25
3: ................................................................................ 29
3.1

................................................................................................. 29

3.1.1

......................................................................................... 29

3.1.2 ................................................................................. 29
3.2

........................................................................................................... 30

3.2.1 ......................................................................................................... 30
3.2.2 ............................................................... 36
3.3 PLC ................................................................................................................ 42
4 : GSM modem ................................................................ 54
5 :-- ............................................................................. 68

,
, ,

.

.

PLC.
PLC
gsm modem
.
.
/ .

.

.
.


.

ABSTRACT
The projects issue is: Greenhouse Automatically Managed by PLC and communication with GSM
modem.
The purpose is to simulate with a model the function of a Greenhouse. The basic automation is
controlled by a PLC. Two analogs thermosensors were made and placed inside and outside the
Greenhouse.
Depending on the values of the inside temperature and the outside temperature the roof is
opening or closing automatically, plus a system is activated to wrap and unwrap a special tent on
the roof to make shade. Other functions are the automatic watering and heating. In addition on
this project a GSM modem is used to communicate with the PLC and be informed anytime by SMS
on mobile phone for the functional situation in the Greenhouse, for example the interior
temperature or to active an output.
This installation is very useful and easy to supervise from distance. Of course is ideal to manage
and save energy better with low cost.



.
.


.
.
.
.
.

.
.
20
.
70 ()
. PLC
80.

1: PLC
1.1 PLC ( )
To PLC .

, , ,
.
.

. PLC
.
. PLC
hardware.
PLC

.
.

.

1.2 PLC
PLC 60.
.
.

.
.
Bedford Associates Modular Digital
Controller (Modicon) .
.

Dick Morley
PLC.
. Modicon 084 PLC
.

.

.
.
.

1.1 Modicon 084

70 PLC
CPU.
PLC .
PLC 1973.
Modicon Modbus. PLC
.

. PLC
.
PLC.
1980
General Motor (MAP).

/ /.

1.3 PLC

CPU.
,
.
.
,
.


.
.

PLC RAM,ROM,EEPROM
.
.

,
24V DC
.

1.4


, , ,
.
,

10

.
, ,
.

LADDER DIAGRAM (LAD) .



.
. LADDER
()
.

STATEMENT LIST (STL) .


(AND,OR,NOT )
. STL
BASIC.
.

.
C

.

(FBD) .

( AND,O,NOT )
Boole.
PLC.

11

1.2


. LADDER FBD STL
STL
.

1.5
PLC . RUN MODE

. RUN MODE
.
STOP MODE.
.
.
STOP.

12

PLC :
1. .
1 0 .
.
2. .
(-).
.


.

3. . PLC

.
1 0 .

13

1.6
1.
/ PLC.


.

2.

14

.
PLC
. / .

1.4

3.
.
.
/
PLC.
.

15

1.5

1.7

.
,
.


.
PLC.
. .

16

.
.
.

.
PLC
.

1.8 PLC

. PLC
, .
, ,
.

:

.

.
.

.
,
.
.

.

.
. /
.
.

17

1.9
PLC .
.
.
. .

.
PLC .
bytes.

.

18

2:
2.1
.

.

.

.
.
.

. 13
.
.
.
.
.
Charles Lucien Bonaparte

.

.
. 17

.
.
.

.
.

. .
,
.

19


.
, pvc .,
.

2.2
:


,
.
.
, , ,
.
.

.
. ()
. ( 30-60 )
.
,
.


.

.

.
.


.
( , ,
) ,

20

:


, .. .
.
.


7 C.
( ) .
.

13 -16 C
.


16C
.



.
.


, ,

.

21

2.3

. ,

.

2.3.1

1) - .
.

.

.



. .

.

2) .

.
3) .

.

22

2.1

4) .

2.2

5) (



. .


.

6) .

.

23

7)

.
.

2.3

2.3.2

.
.

24

: -, ,
.
: ,
.
.
.

2.3.3
ON/OFF

.

.
: ,
, ,
.

.


, PLC
.
.

25


.

.


: ,

.

:
) ,
/
.
)


.

2.4 -

26

2.5

27

2.6

28

3:
3.1
3.1.1

:60*40*40cm

3.1.2

3*1.5mm,18*1mm
4 24Vdc
2 12Vdc
6
2 24Vdc
4 24Vdc
24Vdc
12Vdc
2

PLC
GSM modem
1 10
2 2
45*30*17cm
16-pin

29

3.2
3.2.1

30

PLC

31

16-pin

32


.
(mirror) .
pin 17 1, 18 2 .

Pins
171:+24V
182:-24V
193: ( PLC)
204: ( PLC)
215:( PLC)
226:( PLC)
237:+12V
248:-12V
259: S1( PLC)
2610:+12V
2711:-12V
2812: S2( PLC)
2913:( PLC)
3014:( PLC)
3115: ( PLC)
3216: ( PLC)

33

PLC

34

1 2

35

3.2.2


. .

.
PLC 6 (B-IG) 0-10 V.
PLC .
PLC 0 255.
0 255.

PCB

36

1 : PCB

37

datasheets

1) R1: 1Kohm, SMD package: 0805


2) R2: 82ohm, SMD package: 1206
3) : 10Kohm, SMD package: 3203

C: 1uF, 35V, SMD package: 3216


LM 358D, SMD package: SO08

-55o 150o
LM35 , package: TO92

Datasheets
.

38

2 :PCB

39

datasheets

1) R1: 1Kohm, SMD package: 0805


2) R2: 82ohm, SMD package: 1206
3) : 10Kohm, SMD package: 3203

C: 1uF, 35V, SMD package: 3216


LM 358D, SMD package: SO08

-55o 150o
LM35 , package: DIP -8

Datasheets
.

3 :PCB

40

datasheets

4) R1: 1Kohm, 0.5 W


5) R2: 82ohm, 0.5 W
6) : 10Kohm

C: 1uF, 35V, SMD package: 3216


LM 358D, DIP-8

-55o 150o
LM35 , package: DIP -8

Datasheets
.

41

3.3 PLC

Zelio SR3B261BD Schneider Electric.

42

Zelio SR3B261BD

24Vdc
SR3B261BD
(W*H*D) 124.6*90*59.9 mm
250 V/AC/8A
IP20
-20 C

6

89/336 61131-2(Zone B) EN
61000-6,-2,-3,-4
55oC

0
CE,UL,CSA,GL,C-Tick

10
16
35mm
10

FBD.
Zelio Soft 2. AND,OR,NOT, setreset.

43

Zelio Soft

PLC
.
OK
.

44

45

M
(simulation) ,
.

PLC
. / PLC .
PLC RUN .
/
Zelio Soft (Monitoring).

:
1)

2)

,

Zelio Soft.

46

47

48

49

50


.

.
.


.
.
6 :
Q1
Q2
Q3
Q4
Q5
Q6


.
(forcing) .

. ,
.


S1
S2 .
.
.

51

1. Q1


23-26 C. S1
.
. 4 NC
PLC . S1 23
26 Q1, 24Vdc
1 12Vdc .
NO, reset
NC.

2. Q2
.
: S1 28-35 S2 25-30
.
. S1
24Vdc

.

3. Q3
.
.
. :
NC, S1 >=28oC S2>=34C.

NC. 2 12Vdc
24Vdc.

52

4.

Q4
.
.
S1 28-30 S2 30-32
. 2
24Vdc
12Vdc .
NC.

5. Q5

. IG plc
.
.
.
, ( )
.

6. Q6 .

.
: S1=24oC
S2=23oC.
26 (S1=26oC).

pdf
Zelio Soft.

Adobe Acrobat
PDFXML Document

53

4 : GSM modem
sms
Zelio Soft gsm modem
SR2COM1 PLC .

54

gsm
.

55

gsm modem
.

1)

S1.

.
2)
.
3)
. .


.
blog gsm modem Zelio Soft

ABL7RM2401
ZELIO2
SR2COM1
GSM MODEM SR2MOD02
SIM
SOFTWARE Zelio Soft

56

ZELIO2


SR2COM1

GSM MODEM SR2MOD02


ZELIO

SIM


MODEM


ZelioSoft version 3.1.1,
ZELIO.

57


(
).
GSM MODEM
:
1.
( set point) .
2. (alarm) ZELIO .
3. (
) .

58

1.

.

Directories Directory of remote stations




click Create

Create ( ) Modify
( )
.

:
Name:
(. Adliostasio2)
, \/:*?<>|
Tel no. DATA:
GSM
modem ( +30) .
Modem name:

59

modem . SR2MOD02 modem


TELEMECANIQUE. modem
initialization frame.

Tel no. SMS server:



modem.
VODAFONE +6942190000
COSMOTE +3097100000
TIM +3063599000
Email no. via SMS:
.
PIN code:
(PIN) SIM
.

2.

.

Directories Program Recipients Directory


.

60

.
Create

Create ( ) Modify (
) .

61

:
Recipient type: Mobile
Name: (. nikolis )
Tel nr/Email:
( +30xxxxxxxxxx)
Number of connection attempts:
Zelio
.

Authorized variable modification:


( )
.
.
Recognition authorized:
alarm.
Recognition delay:
.

Alarm
alarm
Message recipients .
Zelio alarm (
) .
Zelio Recognition authorized,
.
Zelio Recognition authorized,

1.
Recognition authorized
2. (Recognition delay)
.

62

3. SMS

FBD
(. , ) NUM block
B01. lock B02
.

COM block
.

Type
1. Alarm
Block
.
2. Variable modification
3. Alarm with variable modification
Variable modification

63

Parameters
1.
block COM.
2. .

choose
recipients .

64

(
)
( ). Modif

( ).


. .

Authorized variable modification


1. NO
Block ( Type: Alarm Alarm with variable
modification )
2. READ
Zelio
3. Modification
Zelio
.

65

Accessible variables

.

Alias
(. thermokrasia),
.
Read and modifiable
.

66


Alias NUMTEST
1. ( 123) :
!NUMTEST=123
Zelio :
station1 YY/MM/DD HH:MM NUMTEST=+00123
2. :
!NUMTEST=?
Zelio :
station1 YY/MM/DD HH:MM NUMTEST=+00123

1.
Zelio 1.
2. Zelio
3. MODEM

4. Zelio LED
.

67

5 :--

,
.
Q5 .
Q6 .
,
.

,
,
.

.
.

PLC.
PLC .

.

Ethernet (
)
.
SCADA

.
.

68

Sites
http://el.wikipedia.org/wiki/%CE%98%CE%B5%CF%81%CE%BC%CE%BF%CE%BA%CE%AE%CF%80
%CE%B9%CE%BF
http://en.wikipedia.org/wiki/Greenhouse
http://www.econews.gr/2011/02/16/prasino-thermokipio-periferia-thessalias/
http://www.scribd.com/doc/12807043/%CE%B5%CF%81%CE%B3%CE%B1%CF%83%CE%B9%CE%B
1
http://www.getcert.gr/
http://el.wikipedia.org/wiki/%CE%91%CF%85%CF%84%CE%BF%CE%BC%CE%B1%CF%84%CE%B9%
CF%83%CE%BC%CF%8C%CF%82
http://imm.demokritos.gr/platon/AEOAAUAC_OOIOO_AOOIIAOEOIIOO/aeoaauac_ooioo_aooiiao
eoiioo.html
http://nefeli.lib.teicrete.gr/browse/stef/hle/2010/DarakisNikolaos/attached-document1276675269-859171-8202/Darakis2010.pdf
http://en.wikipedia.org/wiki/Programmable_logic_controller
http://www.isa.org/Content/ContentGroups/News/2006/February24/History_of_the_PLC.htm
http://www.plcs.net/chapters/history2.htm
http://www.pmi.gr/pmi.gr/scada_solution.aspx
http://users.art.sch.gr/iliaslamprou

-

.. (pdf).

Morris Mano
Festo Didactic

69

You might also like