Wei Lun through the screen (HMI) development of advanced course three: to explain the data address format

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/nick_chain/article/details/87195514

In the preferred EasyBuiler Pro, the menu "View" check the "Address View" in order to put the address bar displayed. Today we mainly talk about the HMI address:

 

Here address mode is divided into Word Address Bit Address word address and bit address.

The default address of the local device name has HMI and PLC device address other needs you have created, you can "system parameters" position to add or remove PLC device in the menu.

The station number may not be needed default pipe.

Address types LW and RW and so on, we said that the two main address.

Corresponding to a word address Word Address is 16 bits, namely two bytes in length.

A Bit Address bit address corresponds to a.

In fact Bit Address word Address and corresponding relationship, if you operate word Address Address LW = 90, then the corresponding LW-Bit: 10000-9015 (DDDdd format, wherein h: address bits 00-15) is operated, here front LW-bit 90 is the decimal representation, after two 00-bit representation, the 00-15 is a total of 16 bits, namely two bytes, words do not understand, it does not matter, we continue.

                                                        LW = 90, a block address word red is used Description

 

                                                LW-Bit = 9000-9015, described red word address used

 

LW地址内存是没有掉电保持的特性,可以说是一种“局部变量”吧,就是说HMI屏幕重启后,LW内存地址自动清零,LW地址范围为:0-10799(格式:DDDDD,表示十进制格式)

RW地址内存是有掉电保持的特性,当你给RW赋值后,哪怕掉电重启后,RW相应的地址还是你赋值的地址。RW地址也叫配方寄存器,范围:0-524287(格式:DDDDDD,表示十进制格式)

还有一个地址需要说明,就是LB地址,叫本地位地址,范围为:0-12095(格式:DDDDD,表示十进制格式),他和LW一样没有掉电保持特性,LW字地址,LB是位地址。

如有疑问的话,可在评论区提问。

Guess you like

Origin blog.csdn.net/nick_chain/article/details/87195514