PCI354-1022-38 模拟量输入模块 HYBR
PCI354-1022-38 模拟量输入模块 HYBR
PCI354-1022-38 作为TCP客户端,转换器上电时会主动向服务器请求连接,直到TCP连接建立为止,并且连接一旦建立将一直保持,连接建立后,数据服务器可以随时向转换器发送数据,转换器也可以随时将数据发送到数据服务器。
3.UDP方式有两种:
当C2000 工作在“UDP normal”模式时,C2000会回应所有的IP地址和端口发过来的数据,并将返回的数据发送到一次发给它查询请求的IP地址和端口。
当C2000 工作在“UDP Appointed”模式时,它能接收所有的IP地址和端口发过来的数据,但只将返回的数据发送给的IP地址和端口。
b) 应用软件可使用三种方式与转换器通讯:
1.虚拟串口管理程序,将网络数据重定向到虚拟串口,然后从虚拟串口读取数据;
2.用本公司开发的控件EDSockServer.ocx(或动态库EDSockServer.dll);
3.使用Socket进行通讯。
PCI354-1022-38 As a TCP client, when the converter is powered on, it will actively request a connection from the server until the TCP connection is established, and the connection will remain once established. After the connection is established, the data server can send data to the converter at any time, and the converter can also send data to the data server at any time.
3. There are two UDP modes:
When C2000 works in "UDP normal" mode, C2000 will respond to the data sent by all IP addresses and ports, and send the returned data to the IP address and port sent to it for the last query request.
When the C2000 works in the "UDP approved" mode, it can receive data from all IP addresses and ports, but only send the returned data to the specified IP address and port.
b) The application software can communicate with the converter in three ways:
1. The virtual serial port management program redirects the network data to the virtual serial port, and then reads the data from the virtual serial port;
2. Use the control edsockserver developed by our company OCX (or dynamic library edsockserver. DLL);
3. Use socket for communication.