Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 4
2017-03-15 09:58
603 查看
说到mobus,其寄存器的结构非常特殊,16位的,
这种情况下,有很多初学者犯憷,不知道如何处理了。
特别是对于float,double等类型的,
发送数据,接收数据都很难办。 怎么学习modbus开发呢?除了前面推荐的清华出版的书籍之外,
现在推荐一个非常好用的工具:
http://www.binaryconvert.com/
提供各种数据类型的16进制和十进制之间的转换:
这种情况下,有很多初学者犯憷,不知道如何处理了。
特别是对于float,double等类型的,
发送数据,接收数据都很难办。 怎么学习modbus开发呢?除了前面推荐的清华出版的书籍之外,
现在推荐一个非常好用的工具:
http://www.binaryconvert.com/
提供各种数据类型的16进制和十进制之间的转换:
Online Binary-Decimal Converter |
This converter allows you to convert numbers from decimal format to binary format and from binary format to decimal format. It supports the main variable data types used in most programming languages. It also floating point numbers (single and double precision) according to the standard IEEE754. Supported types are shown in the following table: |
How to convert from decimal to binary? |
![]() | Enter the number in decimal form in the corresponding field. For floating-point numbers, the following formats are valid: 128001.5766 1.280015766E5 | ![]() | |
![]() | The result is shown on the next page both in hexadecimal and in binary. Each bits is represented by a square (green = 1, gray = 0). The closest decimal value that can be represented by this binary expression is also shown in the field "Most accurate representation". | ![]() |
How to convert from binary to decimal? |
![]() | Enter the number in hexadecimal form or in binary form in the corresponding field. | ![]() | |
![]() | A bit can be toggled by clicking on the corresponding square. | ![]() | |
![]() | The decimal value is shown. For display purpose, the number of figures is limited to 30. However, all computations are performed with full precision without any rounding. | ![]() |
相关文章推荐
- Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 2
- Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 1
- Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 3
- Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 3
- Modbus软件开发实战指南 之 modbus 地址
- 如何自己开发软件测试工具?
- C#软件开发实例.私人订制自己的屏幕截图工具(五)针对拖拽时闪烁卡顿现象的优化
- C#软件开发实例.私人订制自己的屏幕截图工具(十)在截图中包含鼠标指针形状
- C#软件开发实例.私人订制自己的屏幕截图工具(七)添加放大镜的功能
- C#软件开发实例.私人订制自己的屏幕截图工具(十)在截图中包含鼠标指针形状
- C#软件开发实例.个人定制自己的屏幕抓图工具(八)加入了截图功能键盘
- C#软件开发实例.私人订制自己的屏幕截图工具(四)基本截图功能实现
- C#软件开发实例.私人订制自己的屏幕截图工具(七)加入放大镜的功能
- 如何自己开发软件测试工具
- C#软件开发实例.私人订制自己的屏幕截图工具(七)添加放大镜的功能
- C#软件开发实例.私人订制自己的屏幕截图工具(十一)编辑工具栏的实现
- C#软件开发实例.私人订制自己的屏幕截图工具(三)托盘图标及菜单的实现
- C#软件开发实例.私人订制自己的屏幕截图工具(四)基本截图功能实现
- C#软件开发实例.私人订制自己的屏幕截图工具(一)功能概览
- C#软件开发实例.私人订制自己的屏幕截图工具(三)托盘图标及菜单的实现