14
- KV-EP21V/KV-8000/KV-7500/KV-5500/KV-NC1EP 用户手册 -
TCP 关闭处理步骤...........................................................................................................14-21
基于 TCP(有协议)通信时的样例程序 ............................................................................14-23
基于 TCP(无协议)通信时的样例程序 ............................................................................14-28
14-3 基于 UDP/IP 的通信........................................................................................14-34
通信流程 ..........................................................................................................................14-34
UDP 打开处理步骤 ..........................................................................................................14-35
UDP 发送处理步骤 ..........................................................................................................14-36
UDP 接收处理步骤 ..........................................................................................................14-37
UDP 关闭处理步骤 ..........................................................................................................14-38
基于 UDP 通信时的样例程序...........................................................................................14-39
14-4 KV 套接字通信用单元专用指令.......................................................................14-43
单元专用指令一览............................................................................................................14-43
U_SOPEN 打开设定.........................................................................................14-44
U_SWRBUF 发送数据写入 .................................................................................14-46
U_SRDBUF 接收数据读出 .................................................................................14-48
U_SSTAT 处理状态读出 .................................................................................14-50
U_SRCVNP TCP (无协议)接收设定 ..............................................................14-52
U_SUDPTO UDP 通信目标写入.........................................................................14-54
14-5 KV 套接字通信用单元专用函数.......................................................................14-57
单元专用函数一览............................................................................................................14-57
U_SOPEN 打开设定.........................................................................................14-58
U_SWRBUF 发送数据写入 .................................................................................14-60
U_SRDBUF 接收数据读出 .................................................................................14-61
U_SSTAT 处理状态读出 .................................................................................14-62
U_SRCVNP TCP (无协议)接收设定 ..............................................................14-63
U_SUDPTO UDP 通信目标写入.........................................................................14-64
14-6 通信状态的校验...............................................................................................14-65
关于TCP的连接状态........................................................................................................14-65
关于连接的切断 ...............................................................................................................14-66
处理时的错误校验(结束代码)........................................................................................14-67
响应结束代码...................................................................................................................14-69
14-7 KV 套接字通信的传输延迟时间.......................................................................14-70
第 15 章 访问窗
15-1 关于访问窗........................................................................................................15-2
何谓访问窗.........................................................................................................................15-2
访问窗设定.........................................................................................................................15-5
菜单结构 ............................................................................................................................15-5
访问窗的操作.....................................................................................................................15-6
移动到菜单画面 .................................................................................................................15-7
15-2 设定画面 .........................................................................................................15-11
传输速率(通信速率)...................................................................................................... 15-11
IP 地址 .............................................................................................................................15-13
其它设定项目...................................................................................................................15-16
15-3 监控画面 .........................................................................................................15-18
监控方法 ..........................................................................................................................15-18
监控项目 ..........................................................................................................................15-19