欧姆龙PLC的FINS协议解释(实测通过)

欧姆龙PLC的FINS协议解释
UDP访问方式:
读取示例:读取DM区20个字, 从DM100H开始
命令:80 00 02 00 41 00 00 0B 00 00 01 01 82 00 64 00 00 14
说明:
80 00 02       固定帧头
00 41 00       设备的网络号,节点号,单元号
00 0B 00       PC的网络号,节点号,单元号
00 01 01        SID+MRC+SRC
82 表示DM区
00 64 首地址
00 固定
00 14 读取数量
响应: D100=0x1388, D101=0x1770, D102=0x1b58
c0 00 02 00 0b 00 00 41 00 00 01 01 00 00 13 88 17 70 1b 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
说明:
C0 00 02    固定帧头
00 0B 00     PC网络号,节点号,单元号
00 41 00     设备网络号,节点号,单元号
00 01 01     SID+MRC+SRC
00 00
数据区:
 13 88 17 70 1b 58 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


你可能感兴趣的:(C/C++技术,数据通迅,工业自动化控制)