Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 4
说到mobus,其寄存器的结构非常特殊,16位的,
【Modbus软件开发实战指南 之 开发自己的Modbus Poll工具 - 4】这种情况下,有很多初学者犯憷,不知道如何处理了。
特别是对于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. | 文章图片 |
推荐阅读
- 《机器学习实战》高清中文版PDF英文版PDF+源代码下载
- --木木--|--木木-- 第二课作业#翼丰会(每日一淘6+1实战裂变被动引流# 6+1模式)
- 2020-07-29《吴军·阅读与写作50讲》24实战才能转化效能
- Python实战计划学习笔记(9)为大规模爬取准备
- 韵达基于云原生的业务中台建设 | 实战派
- 【V课会】第3季-30天小学思维导图实战营
- 【思维导图实战派】刻意练习计划“遇见……”|【思维导图实战派】刻意练习计划“遇见……” 1/300 人教版数学五下第三单元《正方体和长方体的认识》
- OpenCV|OpenCV-Python实战(18)——深度学习简介与入门示例
- 技术|为参加2021年蓝桥杯Java软件开发大学B组细心整理常见基础知识、搜索和常用算法解析例题(持续更新...)
- 分布式|《Python3网络爬虫开发实战(第二版)》内容介绍