Tải bản đầy đủ (.ppt) (23 trang)

xử lý tín hiệu tương tự trong s7300 PLC

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (702.1 KB, 23 trang )

Xử lý tín hiệu Analog

Mức cao

transmitter
đo mức

SIMATIC S7
Siemens AG 1999. All rights reserved.

Mức thấp

Date:
File:

29.10.15
PRO1_14E.1

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.2


Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.3

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.4

Information and Training Center
Knowledge for Automation



Các Modue Input/Output

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.5

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.6

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.


Date:
File:

29.10.15
PRO1_14E.7

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.8

Information and Training Center
Knowledge for Automation


SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:


29.10.15
PRO1_14E.9

Information and Training Center
Knowledge for Automation


Sử dụng các module Analog
Xử lý
Số lượng
vật lý

Cảm biển








Áp suất
Nhiệt độ
Lưu lượng
Tốc độ
Giá trị pH
Độ nhờn
V.v.

Số lượng

vật lý

Analog input module
Tín hiệu
Analog chuẩn

Result
memory
MR
module

ADC

Chuyển đổi
± 500mV
± 1V
± 5V
± 10V
± 20mA
4...20mA
etc.

Cơ cấu
chấp hành
Analog

SIMATIC S7
Siemens AG 1999. All rights reserved.

PIW ...

PIW ...
:::
PIW ...

Analog output module

DAC

Date:
File:

PQW ...
PQW ...
:::
PQW ...

29.10.15
PRO1_14E.10

CPU
:
:
:
:
:
:
L PIW 352

..
..

..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..

T PQW 368
:

Information and Training Center
Knowledge for Automation


Địa chỉ của module analog trong S7-300

Rack 3

Rack 2


Rack 1

R
0

Power
Supply

Slot

Power
Supply

Power
Supply

Power
Supply

CPU

IM
(Receive)

IM

640
to
654


656
to
670

672
to
686

688
to
702

704
to
718

720
to
734

736
to
750

752
to
766

512

to
526

528
to
542

544
to
558

560
to
574

576
to
590

592
to
606

608
to
622

624
to
638


384
to
398

400
to
414

416
to
430

432
to
446

448
to
462

464
to
478

480
to
494

496

to
510

IM

(Send)

256
to
270

272
to
286

288
to
302

304
to
318

320
to
334

336
to
350


352
to
366

368
to
382

3

4

5

6

7

8

9

10

11

(Receive)

IM

(Receive)

2

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.11

Information and Training Center
Knowledge for Automation


Module Analog SM335 (Inputs)

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.12

Information and Training Center
Knowledge for Automation



Module Analog SM335 (Outputs)

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.13

Information and Training Center
Knowledge for Automation


Module Analog SM331 Input

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.14

Information and Training Center
Knowledge for Automation



Mô tả giá trị Analog và độ phân giải giá trị đo

Bit no.

Units

Bit value

Dec. Hex.

Resolution
in bits
+ sign

15

14

13

12

11

10

9


8

7

6

5

4

3

2

1

0

VZ 214 213 212 211 210

29

28

27

26

25


24

23

22

21

20

8

128

80

*

*

*

*

*

*

*


*

1

0

0

0

0

0

0

0

9

64

40

*

*

*


*

*

*

*

*

*

1

0

0

0

0

0

0

10

32


20

*

*

*

*

*

*

*

*

*

*

1

0

0

0


0

0

11

16

10

*

*

*

*

*

*

*

*

*

*


*

1

0

0

0

0

12

8

8

*

*

*

*

*

*


*

*

*

*

*

*

1

0

0

0

13

4

4

*

*


*

*

*

*

*

*

*

*

*

*

*

1

0

0

14


2

2

*

*

*

*

*

*

*

*

*

*

*

*

*


*

1

0

15

1

1

*

*

*

*

*

*

*

*

*


*

*

*

*

*

*

1

*
SIMATIC S7
Siemens AG 1999. All rights reserved.

= 0 or 1

Date:
File:

29.10.15
PRO1_14E.15

Information and Training Center
Knowledge for Automation



Mô tả giá trị Analog trong các phạm vi đo
Voltage
e.g.:
Phạm vi

Overflow
Overrange

Rated range

Underrange

Underflow

Meas.range
± 10V

Current
e.g.:
Units

Meas.range
4 .. 20mA

Resistance
e.g.:

Temperature
e.g. Pt100


Units

Meas.range
0...300Ohm

Units

Meas.range
-200...+850ºC

Units

>= 11.759

32767

>= 22.815

32767

>=352.778

32767

>= 1000.1

32767

11.7589
:

10.0004

32511
:
27649

22.810
:
20.0005

32511
:
27649

352.767
:
300.011

32511
:
27649

1000.0
:
850.1

10000
:
8501


10.00
7.50
:
-7.5
-10.00

27648
20736
:
-20736
-27648

20.000
16.000
:
:
4.000

27648
20736
:
:
0

300.000
225.000
:
:
0.000


27648
20736
:
:
0

850.0
:
:
:
-200.0

8500
:
:
:
-2000

- 10.0004
:
- 11.759

- 27649
:
- 32512

3.9995
:
1.1852


-1
:
- 4864

-1
:
- 4864

- 200.1
:
- 243.0

- 2001
:
- 2430

<= - 11.76

- 32768

<= 1.1845

- 32768

Negative
values
not
possible

- 32768


<= - 243.1

- 32768

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.16

Information and Training Center
Knowledge for Automation


Tỷ lệ cổng vào Analog

500,0

0,0
0

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:


29.10.15
PRO1_14E.17

27648

Information and Training Center
Knowledge for Automation


Không chia tỷ lệ số thực cho đầu ra Analog

27648

0
0,0

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.18

100,0

Information and Training Center
Knowledge for Automation



Mô tả giá trị Analog cho đầu ra analog
Voltage
Units

Range

Overflow

>=32767

Overrange

Rated range

Underflow

0

0

± 10V
0

Output ranges:
0 to 20mA
4 to 20mA
0


0

± 20mA
0

32511
:
27649

11.7589
:
10.0004

5.8794
:
5.0002

11.7589
:
10.0004

23.515
:
20.0007

22.81
:
20.005

23.515

:
20.0007

27648
:
0
:
- 6912

10.0000
:
0
0

5.0000
:
1.0000

10.0000
:
0
:
:
:
:
:
:
:
-10.0000


20.000
:
0
0

20.000
:
4.000

20.000
:
0
:
:
:
:
:
:
:
-20.000

- 6913
:
:
:
- 27648
Underrange

Output ranges:
0 to 10V

1 to 5V

Current

0.9999
0
0

- 27649
:
- 32512

- 10.0004
:
- 11.7589

<=- 32513

SIMATIC S7
Siemens AG 1999. All rights reserved.

0

Date:
File:

29.10.15
PRO1_14E.19

3.9995

0
0

- 20.007
:
- 23.515
0

Information and Training Center
Knowledge for Automation


Bài tập: Cài đặt thông số cho Analog Module SM335

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.20

Information and Training Center
Knowledge for Automation


Bài tập: Cài đặt thông số cho Analog Module SM331

SIMATIC S7

Siemens AG 1999. All rights reserved.

Date:
File:

29.10.15
PRO1_14E.21

Information and Training Center
Knowledge for Automation


Bài tập: Điều khiển mức trong bình

Max. level of 600 l,
bằng 10 V ở kênh
Analog 0
Transmitter
đo mức
Min. level 50 l.
Khi xuống dưới mức này
một thông báo xuất hiện
tại đầu ra Q9.2 (Q 5.2).

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:


29.10.15
PRO1_14E.22

Information and Training Center
Knowledge for Automation


Bài tập: Ngắt chuẩn đoán từ Analog Module
Analog input module
Khi giá trị đo được tại một kênh analog
của module vượt quá ngưỡng tràn thì
OB 82 được gọi.

Bình chứa:
Đầu ra Q 9.1 (Q 5.1) chớp sáng khi có
một giá trị được mã hoá vượt qua
ngưỡng tràn.
.

Overflow
Overrange

Rated range

SIMATIC S7
Siemens AG 1999. All rights reserved.

Date:
File:


29.10.15
PRO1_14E.23

Information and Training Center
Knowledge for Automation



×