contcp.htm

来自「串口调试工具 用于串口调 试的很方便」· HTM 代码 · 共 58 行

HTM
58
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>Connecting using TCP/IP</title>
</head>

<body bgcolor="#FFFFFF">

<p align="left"><font size="3"><strong>Connecting using TCP/IP </strong></font></p>

<p>If you have a PLC with Ethernet adapter and it uses Open
Modbus protocol it's possilble to send messages directly to PLC
using TCP/IP , but if you only have serial devices configure <a
href="conTServ.htm">TCP Server</a> before doing this test.</p>

<p>Choose <strong>Open Modbus</strong> option and click <strong>Add</strong>
button.</p>

<p align="center"><img src="images/tcpcl.gif" width="285"
height="179"></p>

<p align="center">Fig 1 - Configuring a TCP/IP client </p>

<p align="left">&nbsp;</p>

<p align="left">The parameters are the following:</p>

<p align="left"><strong>IP Address</strong> - Type IP Address of
PLC Ethernet adapter or <a href="conTServ.htm">TCP Server</a> ,
this address can be numeric format like the figure above
127.0.0.1 or name like pep1.modicon.com if you network is
configured to resolve names to IP Address.</p>

<p align="left"><strong>Port</strong> - IP port used. The default
for Open Modbus is 502.</p>

<p align="left"><strong>Time</strong> - out (ms) - time -out for
slave response in ms. </p>

<p align="left">Click Ok , then the program will try to connect
with the slave , if the connection succeeds the window will be
closed otherwise a error message will be displayed. </p>

<p align="left">Back to <a href="client.htm">Modbus Automation
Client</a></p>

<p align="left">&nbsp;</p>

<p align="left">&nbsp;</p>

<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?