Date,2009-7-30
File,SSP2_03C.1
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟量处理液位变送器高液位低液位
Date,2009-7-30
File,SSP2_03C.2
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟量模块的用途生产过程物理量 标准的模拟信号传感器 变送器
压力
温度
流量
速度
pH 值
粘性

± 500mV
± 1V
± 5V
± 10V
± 20mA
4...20mA

DAC
PQW,..
PQW,..
:::
PQW,..
模拟量输出模块
MR
模块 ADC
结果存储器
PIW,..
PIW,..
:::
PIW,..
模拟量输入模块 CPU
:
:
:
:
:
:
L PIW 304
T PQW 320
:
模拟执行器物理量
...
...
...
...
...
...
...
...
...
...
...
...
..
Date,2009-7-30
File,SSP2_03C.3
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
量程卡
Date,2009-7-30
File,SSP2_03C.4
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
S7-300模拟量模块的寻址
IM 256
to
270
336
to
350
352
to
366
368
to
382
304
to
318
320
to
334
272
to
286
288
to
302
(发送 )
槽口号 2 3 4 5 6 7 8 9 10 11
384
to
398
400
to
414
432
to
446
448
to
462
464
to
478
480
to
494
496
to
510
416
to
430
机架 1
R
0
电源模块
IM
(接收 )
电源模块 CPU
512
to
526
528
to
542
544
to
558
560
to
574
576
to
590
592
to
606
608
to
622
624
to
638
机架 2 IM
(接收 )
电源模块机架 3 640
to
654
656
to
670
672
to
686
688
to
702
704
to
718
720
to
734
736
to
750
752
to
766
IM
(接收 )
电源模块
Date,2009-7-30
File,SSP2_03C.5
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟量模块 SM335 (输入 )
Date,2009-7-30
File,SSP2_03C.6
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟模块 SM335 (输出 )
Date,2009-7-30
File,SSP2_03C.7
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟输入模块 SM331
Date,2009-7-30
File,SSP2_03C.8
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟量的表达方式和测量值的分辨率
20212223242526272829210211212213214VZ16进制,位值 十进制
0123456789101112131415位的序号 单位位的分辨率
+ 符号
1 11 ******** * * * * * * *15
* = 0 或 1
80 00000001128 ********8
40
20
10
8
4
000000
00000
0000
000
00
02
164
132
116
18
14
12
******** *
******** * *
******** * * *
******** * * * *
******** * * * * *
******** * * * * * *
9
10
11
12
13
14
Date,2009-7-30
File,SSP2_03C.9
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
在不同测量范围下模拟量的表达方式范围超上限超上界额定范围超下界超下限测量范围
± 10V
电压例如:
>= 11.759
11.7589
:
10.0004
10.00
7.50
:
-7.5
-10.00
- 10.0004
:
- 11.759
<= - 11.76
单位
32767
32511
:
27649
27648
20736
:
-20736
-27648
- 27649
:
- 32512
- 32768
测量范围
4,,20mA
电流例如:
>= 22.815
22.810
:
20.0005
20.000
16.000
:
:
4.000
3.9995
:
1.1852
<= 1.1845
单位
32767
32511
:
27649
27648
20736
:
:
0
- 1
:
- 4864
- 32768
测量范围
-200...+850oC
温度例如 Pt100
单位
32767
10000
:
8501
8500
:
:
:
-2000
- 2001
:
- 2430
- 32768
>= 1000.1
1000.0
:
850.1
850.0
:
:
:
-200.0
- 200.1
:
- 243.0
<= - 243.1
测量范围
0...300Ohm
电阻例如:
>=352.778
352.767
:
300.011
300.000
225.000
:
:
0.000
不允许负值单位
32767
32511
:
27649
27648
20736
:
:
0
- 32768
- 1
:
- 4864
Date,2009-7-30
File,SSP2_03C.10
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟输入量的规范化
500,0
0,0
0 27648
Date,2009-7-30
File,SSP2_03C.11
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟量输出的规范化
27648
0
0,0 100,0
Date,2009-7-30
File,SSP2_03C.12
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模拟输出量的表达形式范围超上限超上界额定范围超下界超下限单位
>=32767
32511
:
27649
27648
:
0
:
- 6912
- 6913
:
:
:
- 27648
- 27649
:
- 32512
<=- 32513
输出范围:
电压
0
11.7589
:
10.0004
10.0000
:
0
0 to 10V 1 to 5V
0
5.8794
:
5.0002
5.0000
:
1.0000
0
11.7589
:
10.0004
10.0000
:
0
:
:
:
:
:
:
:
-10.0000
- 10.0004
:
- 11.7589
0
± 10V
0 0.9999
0
0
输出范围:
电流
0
23.515
:
20.0007
20.000
:
0
0 to 20mA 4 to 20mA
0
22.81
:
20.005
20.000
:
4.000
0
23.515
:
20.0007
20.000
:
0
:
:
:
:
:
:
:
-20.000
- 20.007
:
- 23.515
0
± 20mA
0 3.9995
0
0
Date,2009-7-30
File,SSP2_03C.13
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 3.1:配置 模拟量模块 SM335
Date,2009-7-30
File,SSP2_03C.14
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 3.2,配置模拟量模块 SM331
Date,2009-7-30
File,SSP2_03C.15
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 3.3,控制罐的液位液位传感器最低液位设定为 50L,
当实测液位低于该值时,
通过 Q 5.2输出一个信息。
最高液位 600L,
对应通道 0上的
10 V 模拟量
Date,2009-7-30
File,SSP2_03C.16
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 3.4,结构化的极限监视功能
FB120
ACTV
HL
LL
HYS
QH
QL
LIMIT
模拟变量的实际值
HL
LL
HYS
HYS
QH
QL
t
功能 符号
LO_LIM
HI_LIM