Unrestricted
操作指南 11/2016
S7-200 SMART Modbus TCP 服务
器指令库
S7-200 SMART、Modbus TCP
http://support.automation.siemens.com/CN/view/zh/xxxxx
Unrestricted
2
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
C
o
p
y
r
i
g
h
t
y
e
a
r
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
目录
1 摘要 ...................................................................................................................... 3
2 MODBUS TCP 服务器功能 .................................................................................. 4
3 Modbus TCP 服务器指令使用示例 ..................................................................... 6
3.1 MB_Server 指令库安装 ......................................................................... 6
3.2 调用 MB_Server 指令库 ........................................................................ 6
3.3 MB_Server 指令库错误代码 ................................................................. 8
Unrestricted
3
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
C
o
p
y
r
i
g
h
t
y
e
a
r
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
1 摘要
本文用于介绍 S7-200 SMART Modbus TCP 服务器指令的使用。
伴随着 STEP 7-Micro/WIN SMART V2.2 和 S7-200 SMART CPU 固件 V2.2 的
发布, S7-200 SMART CPU 开始支持 TCP 、ISO-on-TCP 和 UDP 等开放式用
户通信。 STEP 7-Micro/WIN SMART V2.2 版本软件安装 MB_Server 指令库后,
S7-200 SMART CPU 还可以支持 Modbus TCP 服务器指令。
每个 MB_Server 指令库只能创建一个 Mdobus TCP 连接,如果一个 S7-200
SMART 需要连接多个 Modbus TCP 客户端,则需要购买多个名称不同的
MB_Server 指令库(例如 MB_Server_0 ,MB_Server_1 ,MB_Server_2 )。