当前位置:网站首页>Byte, word, doubleword relationship
Byte, word, doubleword relationship
2022-06-30 00:26:00 【WX_ LW】
bit The bit
byte byte
word word
double word Two words
Integer Integers
Real number The set of real Numbers
Floating-point number Floating point numbers
1double word = 2 word
1 word = 2 byte
1 byte =8 bit
for example :
VB100= VB100.7~ VB100.0 ( High position Low position )
VW100= VB100 VB101 ( High position Low position )
VD100= VW100 VW102 = VB100 VB101 VB102 VB103 ( High position Low position )
for example :
MB516 from M516.0~M516.7 form , because M516.3 by 1, therefore MB516 The binary representation of is 0000 1000, So its decimal value is 8.
MW516 from MB516,MB517 form , Because Siemens is different from other manufacturers , Large tail storage mode is adopted , therefore MW516 The content of is 0000 1000 0000 0000, Its decimal number is 2048.
MD516 from MW516 and MW518 form ,MW516 from MB516 and MB517 form ,MW518 from MB518 and MB519 form ,MD516 The content of is 0000 1000 0000 0000 0000 0000 0000 0000, Its decimal number is 134217728.
Chart :
| DWORD | DW0 | 12345678 | |
| WORD | WORD0 | 1234 | |
| WORD2 | 5678 | ||
| BYTE | BYTE0 | 12 | |
| BYTE1 | 34 | ||
| BYTE2 | 56 | ||
| BYTE3 | 78 |
| BYTE0 | BIT31 | BIT30 | BIT29 | BIT28 | BIT27 | BIT26 | BIT25 | BIT24 | |
| 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | ||
| BYTE1 | BIT23 | BIT22 | BIT21 | BIT20 | BIT19 | BIT18 | BIT17 | BIT16 | |
| 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | ||
| BYTE2 | BIT15 | BIT14 | BIT13 | BIT12 | BIT11 | BIT10 | BIT9 | BIT8 | |
| 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | ||
| BYTE3 | BIT7 | BIT6 | BIT5 | BIT4 | BIT3 | BIT2 | BIT1 | BIT0 | |
| 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 |
边栏推荐
- Applying for let's encrypt SSL certificate with certbot
- Solr basic operation 11
- HDCP Paring
- MySQL Foundation 2
- Introduction to reptiles: data capture of Betta barrage, with 11 introductory notes attached
- Solr基础操作8
- Web APIs environment object - dark horse programmer
- Sofaregistry source code | data synchronization module analysis
- modbus-tcp-rtu协议图表
- Solr基础操作15
猜你喜欢
![Clone undirected graph [bfs accesses each edge but not only nodes]](/img/34/2a1b737b6095293f868ec6aec0ceeb.png)
Clone undirected graph [bfs accesses each edge but not only nodes]

Cloud native enthusiast weekly: cool collection of grafana monitoring panels

学位论文的引用

俞敏洪:我的退与进;架构师必须了解的5种最佳软件架构模式;Redis夺命52连问|码农周刊VIP会员专属邮件周报 Vol.096

博途V16 更改PLC的型号和固件版本

Mysql:sql overview and database system introduction | dark horse programmer

数据中台的五个关键要素

单位固定资产怎么管理,行政单位的固定资产应该怎么管理

SSH key disclosure (module B competition topic) -- Application Service Vulnerability scanning and utilization

vsftp 与 TFTP 与 samba 与 nfs 复习
随机推荐
Solr基础操作15
Rotating colored clover
传统微服务框架如何无缝过渡到服务网格 ASM
Finding a job in 2022 is the "last lesson" for graduates
Solr basic operation 11
Vulnhub靶机-MoriartyCorp
GET 和 POST请求的本质区别是什么?
Fine grained identification, classification, retrieval data set collation
自动融合,驰骋海外丨跨境电商YescomUSA携手云扩实现一站式自动化服务
克隆無向圖[bfs訪問每條邊而不止節點]
【编程题】迷宫问题
JS draw polar color gradient
01背包问题
[rust weekly library] Tokei - a utility for statistics of code lines and other information
leetcode 416. Partition Equal Subset Sum 分割等和子集(中等)
Code analysis platform sonarqube actual combat
DataGridView上移 下移行
[review and Book delivery] 6 interesting R language projects for beginners
leetcode 416. Partition equal subset sum partition equal subset sum (medium)
Findbugs modification summary