Project

General

Profile

Feature #590

Modbus 增强版规约

Added by xiangyang li over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
jingke lu
Target version:
Start date:
06/10/2020
Due date:
08/31/2020
% Done:

100%

Estimated time:
Defect version:

Description

modbus_tcpex / modbus_commex 规约开发:
支持用户的灵活配置,实现复杂功能:
1 用户灵活配置召唤数据的分组,包括起始寄存器地址偏移、功能码;
2 支持数据的按位分裂或聚合处理;
3 存储数据类型AI、DI、PI自由选择


Files

History

#1

Updated by yiquan wang over 4 years ago

  • Due date set to 06/15/2020
  • Start date changed from 06/15/2020 to 06/10/2020
  • % Done changed from 0 to 100
#2

Updated by yiquan wang over 4 years ago

  • File 示例.csv added
  • File MODBUS_TCPEX规约使用说明.docx added
  • File MODBUS_COMMEX规约使用说明 .docx added
#3

Updated by yiquan wang over 4 years ago

modbus_tcpex / modbus_commex 规约开发:
支持用户的灵活配置,实现复杂功能:
1 用户灵活配置召唤数据的分组,包括起始寄存器地址偏移、功能码;
2 支持数据的按位分裂或聚合处理;
3 存储数据类型AI、DI、PI自由选择;
4 支持寄存器高低位配置;
5 可以通过06 16命令操作DO,通过05 06命令操作AO
5 根据寄存器数值,设定特定位为0或1

#4

Updated by yiquan wang over 4 years ago

yiquan wang wrote:

modbus_tcpex / modbus_commex 规约开发:
支持用户的灵活配置,实现复杂功能:
1 用户灵活配置召唤数据的分组,包括起始寄存器地址偏移、功能码;
2 支持数据的按位分裂或聚合处理;
3 存储数据类型AI、DI、PI自由选择;
4 支持寄存器高低位配置;
5 可以通过06 16命令操作DO,通过05 15命令操作AO
5 根据寄存器数值,设定特定位为0或1

#5

Updated by yiquan wang over 4 years ago

增加需求,一个寄存器部分位和前一个或多个寄存器组成一个点,剩余数据组成一个点

#6

Updated by yiquan wang over 4 years ago

  • File deleted (示例.csv)
#7

Updated by yiquan wang over 4 years ago

  • File deleted (MODBUS_TCPEX规约使用说明.docx)
#8

Updated by yiquan wang over 4 years ago

  • File deleted (MODBUS_COMMEX规约使用说明 .docx)
#9

Updated by yiquan wang over 4 years ago

  • File MODBUS_TCPEX规约使用说明.docx added
  • File modbus_tcpex_rtu1.csv added
  • File MODBUS_COMMEX规约使用说明 .docx added
#10

Updated by yiquan wang over 4 years ago

支持值类型设置

#11

Updated by xiangyang li over 4 years ago

  • Target version changed from FEP_V3.1 to FEP_V3.0
#12

Updated by yiquan wang over 4 years ago

  • File deleted (modbus_tcpex_rtu1.csv)
#13

Updated by yiquan wang over 4 years ago

  • File deleted (MODBUS_TCPEX规约使用说明.docx)
#14

Updated by yiquan wang over 4 years ago

  • File MODBUS_TCPEX规约使用说明.docx added
  • File modbus_tcpex_rtu1.csv added
#15

Updated by yiquan wang over 4 years ago

  • Due date changed from 06/15/2020 to 07/20/2020
  • Status changed from New to In Progress
#16

Updated by xiangyang li over 4 years ago

  • Target version changed from FEP_V3.0 to FEP_V3.0.2
#17

Updated by xiangyang li over 4 years ago

  • File deleted (MODBUS_TCPEX规约使用说明.docx)
#18

Updated by xiangyang li over 4 years ago

  • File MODBUS_TCPEX规约使用说明.docx added
#19

Updated by xiangyang li over 4 years ago

  • Status changed from In Progress to Resolved
#20

Updated by xiangyang li about 4 years ago

  • Due date changed from 07/20/2020 to 08/31/2020
  • Status changed from Resolved to In Progress
  • Assignee changed from yiquan wang to jingke lu
#21

Updated by jingke lu about 4 years ago

modbus_tcpex / modbus_commex 规约开发:
支持用户的灵活配置,实现复杂功能:
1 用户灵活配置召唤数据的分组,包括起始寄存器地址偏移、功能码;
2 支持数据的按位分裂或聚合处理;
3 存储数据类型AI、DI、PI自由选择;
4 支持寄存器高低位配置;
5 可以通过15 05 06命令操作DO,通过06 16命令操作AO
6 根据寄存器数值,设定特定位为0或1

针对代码改动的详细说明:
本次修改了代码的格式,更加对齐 减少错位,增加了注释便于理解;
内容修改:
函数Operate_16中对15号命令组包长度计算问题(533行 603行);
函数ComparePoint_reg中 针对PI点使用0-15位一个寄存器无法处理的问题(1105行 1459行 1534行 1872行)
函数ComparePoint_reg中 对使用到两个寄存器数据,对后一位寄存器数据计算时左移位数错误的问题 (1199行 1228行 1344行 1372行 1618行 1646行 1760行 1788行)

#22

Updated by jingke lu about 4 years ago

  • File deleted (MODBUS_TCPEX规约使用说明.docx)
#23

Updated by jingke lu about 4 years ago

  • File deleted (modbus_tcpex_rtu1.csv)
#25

Updated by jingke lu about 4 years ago

  • File deleted (MODBUS_COMMEX规约使用说明 .docx)
#26

Updated by jingke lu about 4 years ago

  • File deleted (MODBUS_TCP_C_EX规约配置使用说明.docx)
#27

Updated by jingke lu about 4 years ago

对modbus_commex规约中错误进行修改 包括为取32位数据 对后一位寄存器数据计算时左移位数错误的问题 对PI点使用0-15位一个寄存器无法处理的问题

#28

Updated by jingke lu about 4 years ago

  • Status changed from In Progress to Resolved
#29

Updated by jingke lu about 4 years ago

  • Status changed from Resolved to In Progress

linux 读取配置文件路径写法不对

#30

Updated by jingke lu about 4 years ago

  • Status changed from In Progress to Resolved

linux 配置文件路径问题解决

Also available in: Atom PDF