HMT070AMC-C
LCD Module User Manual
Prepared by:
Checked by:
Approved by:
Song Mao
Date: 2021-04-20
Date:
Date:
Rev. Descriptions
Edit
Release Date
0.1
- Preliminary Draft release
Song Mao 2021-04-20
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 1 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
Table of Content
1 Basic Specification ........................................................................................................................................................ 3
1.1 General Specification ............................................................................................................................................... 3
1.2 Block Diagram ........................................................................................................................................................... 3
1.3 Terminal Function ..................................................................................................................................................... 4
2 Absolute Maximum Ratings ......................................................................................................................................... 4
3 Electrical Characteristics ............................................................................................................................................. 5
3.1 DC Characteristics .................................................................................................................................................... 5
4 Function Specifications ................................................................................................................................................ 6
4.1 Basic Operation Function Descriptions ................................................................................................................. 6
4.2 Quick Start Guide ...................................................................................................................................................... 7
4.3 Modbus configuration Descriptions ........................................................................................................................ 7
5 Optical Characteristics .................................................................................................................................................. 8
6 LCD Module Design and Handling Precautions ..................................................................................................... 9
7 CTP Mounting Instructions ........................................................................................................................................ 10
8 RTP Mounting Instructions ........................................................................................................................................ 11
Warranty ..................................................................................................................................................................... 12
Appendix A: ....................................................................................................................................................................... 13
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 2 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
1 Basic Specification
TOPWAY HMT070AMC-C is a Smart TFT Module with 32bit MCU on board. Its graphics engine provides
numbers of outstanding features. It supports TOPWAY TML for preload and pre-design display interface
that simplify the host operation and development time. Suitable for industry control, instrumentation,
medical electronics, power electric equipment applications.
1.1 General Specification
Screen Size(Diagonal) :
7.0”
Resolution :
800(RGB) x 480
Color Depth :
65k color (16bit)
Pixel Configuration :
RGB Stripe
Display Mode :
Transmissive / Normal White
Viewing Direction :
6H (*1) (gray-scale inverse)
12H (*2)
Outline Dimension :
185.9 x 109.5 x 19.3 (max) (mm)
(see attached drawing for details)
Active Area :
154.08 x 85.92 (mm)
Backlight :
LED
Command I/F:
RS485
Power Supply:
11.0 ~ 26.0V
Project Download:
by PC or by U-Drive (with OTG cable)
Operating Temperature :
-20 ~ +70°C
Storage Temperature :
-30 ~ +80°C
Highlight
RTC without battery, Support 90 degrees rotation,
Lua script engine, Buzzer
Note:
*1. For saturated color display content (eg. pure-red, pure-green, pure-blue, or pure-colors-combinations).
*2. For “color scales” display content.
1.2 Block Diagram
Touch Panel
7.0” TFT
800x480 pixels
K8
485_A
485_B
Display Function Controller
VDD, VSS
K2
D-, D+
Flash
Memory
RAM
VUSB, VSS
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 3 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
1.3 Terminal Function
RS485 Interface Terminal (K1)
Pin No.
Pin Name
I/O Descriptions
1
VDD
P
Power supply (11.0~26.0 V)
2,3
NC
--
No connection, leave open
4
485_A
I/O
RS485 Differential Signal A
5
485_B
I/O
RS485 Differential Signal B
6
VSS
P
Ground, (0V)
RS485 Interface Terminal (K7)
Pin No.
Pin Name
I/O Descriptions
1,2,3
VDD
P
Power supply (11.0~26.0 V)
4,6
NC
--
No connection, leave open
5
485_B
I/O
RS485 Differential Signal B
7
485_A
I/O
RS485 Differential Signal A
8,9,10
VSS
P
Ground, (0V)
RS485 Interface Terminal (K8)
Pin No.
Pin Name
I/O Descriptions
1,2
VDD
P
Power supply (11.0~26.0 V)
3
485_A
I/O
RS485 Differential Signal A
4
NC
--
No connection, leave open
5,6
485_B
I/O
RS485 Differential Signal B
7,8
VSS
P
Ground, (0V)
Note.
*1. User data and commands transfer through this terminal
*2. HW hand shake is suggested
USB Interface Terminal (K2)
Pin No.
Pin Name
I/O Descriptions
1
VUSB
P
Power supply(5.0V)
2
D-
I/O
USB DATA negative signal
3
D+
I/O
USB DATA positive signal
4
ID
I
USB_ID, 1:Client, 0:HOST
5
VSS
P
Ground, (0V)
Note:
1.Display files preload through this terminal.
2.Connect to U-Drive (with OTG cable), for files transfer
2 Absolute Maximum Ratings
Items
Symbol
Min.
Max.
Unit
Condition
Power Supply voltage
V dd
-0.3
26.0
V
RS485 A/B Input Voltage
V AB
-14.0
14.0
V
Operating Temperature
T OP
-20
70
C
No Condensation
Storage Temperature
T ST
-30
80
C
No Condensation
Notes:
*1.This rating applies to all parts of the module and should not be exceeded.
*2.The operating temperature only guarantees operation of the circuit. The contrast, response speed and the other
specification related to electro-optical display quality is determined at the room temperature, TOP=25 ℃ Ambient
temperature when the backlight is lit (reference value)
*3.Any Stresses exceeding the Absolute Maximum Ratings may cause substantial damage to the device. Functional
operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure
to extreme conditions may affect device reliability.
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 4 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
3 Electrical Characteristics
3.1 DC Characteristics
VSS=0V, VDD=12.0V, T OP =25 C
Items
Symbol
MIN.
TYP. MAX.
Unit Applicable Pin/FUNC
Operating Voltage
V DD
11.0
12.0
26.0
V
VDD
Differential Driver Output
(with load)(*1)
V OD
2
-
5
V
A/B
Receiver Differential
Threshold Voltage
V TH
-0.2
-
0.2
V
A/B
Operating Current
I DD
-
300
-
mA
VDD
(*2)
Operating Current (USB)
I VUSB
-
150
-
mA
VUSB
(*3)
Battery Supply Current
I BAT
-
0.6
-
uA
Notes:
*1.
A
(max=3V)
B
The Matching resistance at both ends of A and B is 120Ω;
A internal pull up at 1K;
B internal pull down at 1K;
*2.Normal display condition
*3.USB-drive (high-speed)
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 5 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
4 Function Specifications
4.1 Basic Operation Function Descriptions
HMT070AMC-C
Touch Panel
TML/XML files
Picture files
ICONS files
Custom
Memories
TFT Display
PC
VP variables
Control and Draw Engine
- TML files, images, icons are stored inside the flash memory area. They are pre-loaded into the
HMT070AMC-C via USB.
- The GUI’s appearance and responses are based on the preloaded TML files
- The Control- and Drawing- Engine executes RS485 / Modbus RTU commands.
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 6 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
4.2 Quick Start Guide
1.
Install TOPWAY
Graphics Editor
Import pictures
2. design UI flow
3.
Download to
Smart LCD
4. power on &
display
Connect to
5.
Slave
Show real
time data
4.3 Modbus configuration Descriptions
The HMT070AMC-C needs to add the configuration file "modbus.xml" to the project generated
by the TOPWAY RGTools to describe the relationship between the screen variables and the
registers of the Modbus Slave device.
Please refer to Appendix A for "Modbus.xml" formating.
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 7 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
5 Optical Characteristics
Item
Symbol
Condition
MIN.
TYP.
MAX.
UNIT
Note.
θ L
9 o’clock
60
80
-
Viewing angle
θ R
3 o’clock
60
80
-
(CR ≥ 10)
degree
*2
θ T
12 o’clock
50
60
-
θ B
6 o’clock
60
80
-
T f
-
msec
Response Time
25
35
*3
T r
-
msec
Contrast ratio
CR
400
500
-
-
Normal
W X
0.26
0.31
0.36
-
*1
Color chromaticity
θ=0 o
W Y
0.28
0.33
0.38
-
Luminance
L
-
400
-
cd/m 2
*4
Luminance uniformity
Y U
70
75
-
%
*4
Note:
*1. Definition of Contrast Ratio
The contrast ratio could be calculate by the following expression:
Contrast Ratio (CR) = Luminance with all pixels white / Luminance with all pixels black
*2 Definition of Viewing Angle
*3 Definition of response time
*4 Definition of Luminance Uniformity
Luminance uniformity (Lu)=
Min. Luminance form pt1~pt9 / Max Luminance form Pt1~pt9
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 8 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
6 LCD Module Design and
6 液晶显示模块设计和使用须知
Handling Precautions
- Please ensure V0, VCOM is adjustable, to enable LCD - 请注意 V0, VCOM 的设定, 以确保液晶显示模块在不同
module get the best contrast ratio under different
的使用温度下以及在不同的视角和位置观察模块显示,
temperatures, view angles and positions.
均能达到最佳对比度,请务必将应用电路上设置为对比
度可调。
- Normally display quality should be judged under the - 请注意液晶显示模块的显示品质判定是指在正常对比度
best contrast ratio within viewable area. Unexpected
下以及视窗(V.A)范围内进行的,非正常对比度下液晶
display pattern may com out under abnormal contrast
可能会出现非预期的显示不良,应注意区分。
ratio.
- 请勿在最大额定值以外使用液晶显示模块。
- Never operate the LCD module exceed the absolute
maximum ratings.
- 请勿在没有接通电源的条件下,给液晶显示模块输送信
- Never apply signal to the LCD module without power
号。
supply.
- 请尽可能缩短信号线的连接,以避免对液晶显示模块的
信号干扰。
- Keep signal line as short as possible to reduce external - 集成电路因 IC 芯片(如 TAB 或 COG)对紫外线极为敏
noise interference.
感,强光环境下可能会引起液晶显示模块功能失效,故
- IC chip (e.g. TAB or COG) is sensitive to light. Strong
应采用不透光的外壳。
light might cause malfunction. Light sealing structure - 请在液晶显示模块与外壳之间保留足够的空间(可使用
casing is recommended.
衬垫),以缓冲外力对液晶显示模块的损坏或因受力不
均而产生的显示不匀等异常现象。
- Make sure there is enough space (with cushion)
between case and LCD panel, to prevent external force - 避免液晶显示屏在某一画面下长时间点亮,否则有出现
passed on to the panel; otherwise that may cause
残影的风险;请通过软件每隔一段时间改变一次画面。
damage to the LCD and degrade its display result.
- 液晶显示模块的可靠性可能因温度冲击而降低。
- Avoid showing a display pattern on screen for a long - 请勿在阳光直射、高湿、高温或低温下储存和使用液晶
time (continuous ON segment).
显示模块,这将造成液晶显示模块的损坏或失效。
- LCD module reliability may be reduced by temperature - 请勿在极限环境(最大/最小存储/工作温度)下使用或放
shock.
置液晶显示模块超过 48 小时以上。
- When storing and operating LCD module, avoids - 液晶显示模块建议存储条件为: 0 C~40 C <80%RH 。
exposure to direct sunlight, high humidity, high or low - 请勿让液晶显示模块存储于带有 酸性, 碱性, 有害气
temperature. They may damage or degrade the LCD
体环境之中。
module.
- 在运输过程中, 请勿让液晶显示模块跌落与猛烈震动,
- Never leave LCD module in extreme condition
同时避免 异常挤压, 高湿度, 与阳光照射.
(max./min storage/operate temperature) for more than - 液晶显示模块极易受静电损坏,请务必保证液晶显示模
48hr.
块在防静电的工作环境中使用或保存。(如: 烙铁正确
- Recommend LCD module storage conditions is
接地,等)
0 C~40 C <80%RH.
- 拿取液晶显示模块时需注意操作人员的接地情况。
- LCD module should be stored in the room without acid, - 请手持液晶显示模块的边沿取放模块,防止热压纸或
alkali and harmful gas.
TAB 部位受力。
- Avoid dropping & violent shocking during - 焊接液晶模块时,请注意控制烙铁的温度、焊接时间,
transportation, and no excessive pressure press,
以免烫坏导光板或偏光片,导致显示不匀等不良现象发
moisture and sunlight.
生。
- LCD module can be easily damaged by static - 请勿使用洗板水等腐蚀性液体接触液晶模块,以免腐蚀
electricity. Please maintain an optimum anti-static
导光板或模块电路。
working environment to protect the LCD module. (eg.
ground the soldering irons properly)
- 仅可使用柔软的干布, 异丙醇或乙醇清洁液晶屏表面,
- Be sure to ground the body when handling LCD
其他任何溶剂(如:水)都有可能损坏液晶模块。
module.
- 请勿挤压液晶显示模块上的元器件,以避免产生潜在的
- Only hold LCD module by its sides. Never hold LCD
损坏或失效而影响产品可靠性。
module by applying force on the heat seal or TAB.
- 装配液晶显示模块时,请务必注意避免液晶显示模块的
- When soldering, control the temperature and duration
扭曲或变形。
avoid damaging the backlight guide or diffuser which - 请勿挤压液晶显示屏表面,这将导致显示颜色的异常。
might degrade the display result such as uneven - 液晶屏由玻璃制作而成,任何机械碰撞(如从高处跌落)
display.
均有可能损坏液晶显示模块。
- Never let LCD module contact with corrosive liquids,
which might cause damage to the backlight guide or
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 9 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
the electric circuit of LCD module.
- Only clean LCD with a soft dry cloth, Isopropyl Alcohol
or Ethyl Alcohol. Other solvents (e.g. water) may
damage the LCD.
- Never add force to components of LCD module. It may
cause invisible damage or degrade the module's
reliability.
- When mounting LCD module, please make sure it is
free from twisting, warping and bending.
- Do not add excessive force on surface of LCD, which
may cause the display color change abnormally.
- LCD panel is made with glass. Any mechanical shock
(e.g. dropping from high place) will damage the LCD
module.
- Protective film is attached on LCD screen. Be careful - 液晶屏表面带有保护膜, 揭除保护膜时需要注意可能产
when peeling off this protective film, since static
生的静电。
electricity may be generated.
- 因液晶显示屏表面的偏光片极易划伤,安装完成之前请
- Polarizer on LCD gets scratched easily. If possible, do
尽量不要揭下保护膜。
not remove LCD protective film until the last step of - 请缓慢揭除保护膜,在此过程中液晶显示屏上可能会产
installation.
生静电线,此为正常情况,可在短时间内消失。
- When peeling off protective film from LCD, static
charge may cause abnormal display pattern. The - 请注意避免被液晶显示屏的边缘割伤。
symptom is normal, and it will turn back to normal in a - 请不要试图拆卸或改造液晶显示模块。
short while.
- 当液晶显示屏出现破裂, 内部液晶液体可能流出; 相关
- LCD panel has sharp edges, please handle with care.
液体不可吞吃, 绝对不可接触嘴巴, 如接触到皮肤或衣
- Never attempt to disassemble or rework LCD module.
服, 请使用肥皂与清水彻底清洗.
- If display panel is damaged and liquid crystal
substance leaks out, be sure not to get any in your
mouth, if the substance comes into contact with your 7 电容触摸屏安装指导
skin or clothes promptly wash it off using soap and 7.1 面框安装(附图 1)
water.
- 客户面框窗口应大于 CTP 动作区域,各边离动作区应≥
0.5mm.
7 CTP Mounting Instructions
- 面框与 CTP 面板间应垫有胶垫,其最终间隙约为 0.5~
1.0mm.
7.1 Bezel Mounting (Figure 1)
- 建议必要时在背面提供附加支架(例如无安装结构的薄
- The bezel window should be bigger than the CTP
型 TFT 模块),应仅利用适当支撑以保持模块位置.
active area. It should be ≥ 0.5mm each side.
- Gasket should be installed between the bezel and the
CTP surface.
- 安装结构应具有足够的强度,以防止外部不均匀力或扭
The final gap should be about 0.5~1.0mm.
曲力作用到模块上.
- It is recommended to provide an additional support
bracket for backside support when necessary (e.g. slim
type TFT module without mounding structure). They
should only provide appropriate support and keep the
module in place.
- The mounting structure should be strong enough to
prevent external uneven force or twist act onto the
module.
Figure
1
7.2 Surface Mounting (Figure 2)
7.2 嵌入安装(附图 2)
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 10 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
- As the CTP assembling on the countersink area with - 客户面框应具有使用双面胶粘贴 CTP 的结构沉台面,其
double side adhesive.
粘贴面要求平整且洁净无污以保证粘贴牢靠.
The countersink area should be flat and clean to
ensure the double side adhesive installation result.
- The Bezel is recommend to keep a gap ( ≥ 0.3mm each - 考虑到制作误差,建议面框与 CTP 盖板之间四周留有≥
side) around the cover lens for tolerance.
0.3mm 间隙.
- It is recommended to provide an additional support - 建议必要时在背面提供垫有胶垫附加支架(例如无安装
bracket with gasket for backside support when
结构的 TFT 模块),应仅利用适当支撑以保持模块位置.
necessary (e.g.
TFT module without mounding
structure). They should only provide appropriate - 安装结构应具有足够的强度,以防止外部不均匀力或扭
support and keep the module in place.
曲力作用到模块上。
- The mounting structure should be strong enough to
prevent external uneven force or twist act onto the
module
Figure 2
7.3 Additional Cover Lens Mounting (Figure 3)
7.3 覆加盖板(附图 3)
- For the case of additional cover Lens mounting, it is - 需要覆加玻璃盖板的安装,为确保其功能,有必要查看
necessary to recheck with the CTP specification about
产品规格书中有关盖板材料和厚度的说明.
the material and thickness to ensure the functionality.
- It should keep a 0.2~0.3mm gap between the cover - 玻璃盖板与 CTP 表面之间应留有 0.2~0.3mm 间隙.
lens and the CTP surface..
- The cover lens window should be bigger than the active - 玻璃盖板视窗应大于 CTP 动作区域,各边离动作区应≥
area of the CTP.It should be ≥ 0.5mm each side.
0.5mm。
- It is recommended to provide an additional support - 建议必要时在背面提供附加支架(例如无安装结构的薄
bracket for backside support when necessary (e.g. slim
型 TFT 模块),应仅利用适当支撑以保持模块位置.
type TFT module without mounding structure). They
should only provide appropriate support and keep the
module in place.
- 安装结构应具有足够的强度,以防止外部不均匀力或扭
- The mounting structure should be strong enough to
曲力作用到模块上.
prevent external uneven force or twist act onto the
module.
Figure 3
8 RTP Mounting Instructions
8. 电阻触摸屏安装指导
- It should bezel touching the RTP Active Area (A.A.) to
- 为避免面框直接压在动作区(A.A.)上造成误动作,面框
prevent abnormal touch.It should left gab
与电阻触摸屏(RTP)之间应留有一定的空隙
D=0.2~0.3mm in between. (Figure 4)
D=0.2~0.3mm 之间.(附图 4)
- Outer bezel design should take care about the area
- 设计面框时,要注意用面框保护触摸屏四周的非保证操
outside the A.A. Those areas contain circuit wires
作区域,因为布线区域在此处形成一台阶,在此区域附
which is having different thickness. Touching those
近操作时 ITO Film 变形较大,容易导致 ITO 损坏而降
areas could de-form the ITO film. As a result bezel the
低寿命。为保护 RTP 和避免误操作,在 RTP 与面框之间
ITO film be damaged and shorten its lifetime.
垫缓冲物(Gasket),我们建议设计面框应覆盖动作区
It is suggested to protect those areas with gasket
的边缘,面框边缘到 V.A.区的距离 B≥0.50mm; 垫圈内
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 11 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
(between the bezel and RTP).The suggested figures
边缘到 V.A.区的距离 C≥0.50mm. (附图 4)
are B≥0.50mm; C≥0.50mm. (Figure 4)
- The bezel side wall should keep space E= 0.2 ~ 0.3mm - 在设计面框与 RTP 组装时,应考虑到面框内侧与 RTP 外
from the RTP. (Figure 4)
侧的间距 E≥0.2mm. (附图 4)
Figure 4
- In general design,
- 通常设计时:
RTP V.A. should be bigger than the TFT V.A.
RTP 的可视区 V.A. 应不小于 TFT 的可视区 V.A.
and RTP A.A. should be bigger than the TFT A.A.
及 RTP 的动作区 A.A. 应不小于 TFT 的动作区 A.A.
(Figure 5)
(附图 5)
Figure 5
Warranty
This product has been manufactured to our company’s specifications as a part for use in your company’s general
electronic products. It is guaranteed to perform according to delivery specifications. For any other use apart from general
electronic equipment, we cannot take responsibility if the product is used in medical devices, nuclear power control
equipment, aerospace equipment, fire and security systems, or any other applications in which there is a direct risk to
human life and where extremely high levels of reliability are required. If the product is to be used in any of the above
applications, we will need to enter into a separate product liability agreement.
- We cannot accept responsibility for any defect, which may arise form additional manufacturing of the product
(including disassembly and reassembly), after product delivery.
- We cannot accept responsibility for any defect, which may arise after the application of strong external force to the
product.
- We cannot accept responsibility for any defect, which may arise due to the application of static electricity after the
product has passed our company’s acceptance inspection procedures.
- When the product is in CCFL models, CCFL service life and brightness will vary according to the performance of the
inverter used, leaks, etc. We cannot accept responsibility for product performance, reliability, or defect, which may
arise.
- We cannot accept responsibility for intellectual property of a third part, which may arise through the application of our
product to our assembly with exception to those issues relating directly to the structure or method of manufacturing of
our product.
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 12 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
Appendix A:
Modbus RTU Master Xml configure v1.01
配置文件 Modbus.xml 文档示例
<Modbus>
<config>
<relative vpaddr="0x080000" vplen="1" slaveID="1" mbaddr="0x40000" mblen="1"/>
<relative vpaddr="0x080002" vplen="1" slaveID="1" mbaddr="0x40001" mblen="1"/>
<relative vpaddr="0x080004" vplen="1" slaveID="1" mbaddr="0x40002" mblen="1"/>
<relative vpaddr="0x020000" vplen="1" slaveID="1" mbaddr="0x40008" mblen="2"/>
<relative vpaddr="0x080034" vplen="1" slaveID="1" mbaddr="0x4000A" mblen="1"/>
</config>
<global>
<Read condition = "always" vpaddr_condition="0x080004" value_condition="100"
slaveID="1" mbaddr ="0x40008" mblen= "2" />
<BLCtrl condition = "==" vpaddr_condition="0x080004" value_condition="100"
value_type="const" vpaddr_val ="64" />
<BeepCtrl condition = "==" vpaddr_condition="0x080004" value_condition="100"
value_type="variable" vpaddr_val ="0x80034" />
</global>
<Page PageNo="1">
<Read condition = "always" vpaddr_condition="0x080004" value_condition="100"
slaveID="1" mbaddr ="0x40000" mblen= "3" />
</Page>
</Modbus>
说明:
配置类
说明
功能
<config>
关系定义
relative
- 定义 VP 与 MB 的对应关系
- 当 VP 内容被修改 , 模块会同时拷贝相关内容到 MB
<global>
定义全局的周期性操作
Read
- 读 MB
- 可按条件操作
- 模块会参考 <config>, 同时拷贝相关值到 VP (*1)
Write
- 写 VP
- 可按条件操作
- 模块会参考 <config>, 同时拷贝相关值到 MB(*1)
< Page
定页面 n 中的周期性操
BLCtrl
PageNo=n> 作
- 背光亮度设定
- 可按条件操作
BeepCtrl
- 蜂鸣器控制
- 可按条件操作
注释 :
VP= 智能模块块中的 VP 变量 ( 含 地址 )
MB= MODBUS 变量 ( 含 从设备 , 从地址 )
注 :
*1. 相关 MB 关联 VP, 必须在 <config> 中定义
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 13 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
元素 <relative>: 描述屏工程中变量与 modbus 地址变量的映射关系
属性
描述
vpaddr
屏的变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
vplen
变量个数,请填入 1
slaveID
操作的 Modbus Slave 设备 ID 号
mbaddr
Modbus 寄存器地址
0x coil : 地址 0x00000~0x0270F
1x input : 地址 0x10000~0x1270F
3x input Register : 地址 0x30000~0x3270F
4x holding Redister : 地址 0x40000~0x4270F
mblen
Modbus 地址数量 , 需要使 modbus 和 vpaddr 地址变量比特位相等
元素 <Read>: 依条件执行读取 Modbus 地址变量
属性
描述
condition
执行条件
"always",">","==","<","!=",">=","<="
vpaddr_condition 条件左值变量地址,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
仅条件 ">","==","<","!=",">=","<=" 有效
value_condition
条件右值对比值,参数为 10 进制数值
slaveID
操作的 Modbus Slave 设备 ID 号
mbaddr
Modbus 寄存器地址
0x coil : 地址 0x00000~0x0270F
1x input : 地址 0x10000~0x1270F
3x input Register : 地址 0x30000~0x3270F
4x holding Redister : 地址 0x40000~0x4270F
mblen
Modbus 地址数量
元素 <BLCtrl>: 依条件执行控制屏背光亮度为常量或变量 vpaddr_val 的值
属性
描述
condition
执行条件
"always",">","==","<","!=",">=","<="
vpaddr_condition 条件左值变量 ,参数为 16 进制数值以 "0x" 开头
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
仅条件 ">","==","<","!=",">=","<=" 有效
value_condition
条件右值对比值,参数为 10 进制数值
value_type
操作值为常量或者变量
参数值可选 "const" , "variable"
vpaddr_val
Value_type ="const" 时,参数为 10 进制数值
Value_type ="variable" 时,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 14 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
0x30000: 64 位数据变量
元素 <BeepCtrl>: 依条件执行控制蜂鸣器是否响 , 当常量值或变量 vpaddr_val 非 0 时蜂鸣器响 , 否则反
之。
属性
描述
condition
执行条件
"always",">","==","<","!=",">=","<="
vpaddr_condition 条件左值变量地址,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
仅条件 ">","==","<","!=",">=","<=" 有效
value_condition
条件右值对比值,参数为 10 进制数值
value_type
操作值为常量或者变量
参数值可选 "const" , "variable"
vpaddr_val
Value_type ="const" 时,参数为 10 进制数值
Value_type ="variable" 时,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
元素 <Write>: 依条件执行写操作,将常量或变量 vpaddr_val 写入 vpaddr 指定的地址中
属性
描述
condition
执行条件
"always",">","==","<","!=",">=","<="
vpaddr_condition 条件左值变量地址,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
仅条件 ">","==","<","!=",">=","<=" 有效
value_condition
条件右值对比值,参数为 10 进制数值
value_type
操作值为常量或者变量
参数值可选 "const" , "variable"
vpaddr_val
Value_type ="const" 时,参数为 10 进制数值
Value_type ="variable" 时,参数为 16 进制数值以 "0x" 开头的屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
vpaddr
需要写入操作的变量地址 , 对应屏变量地址
0x80000: 16 位数据变量
0x20000: 32 位数据变量
0x30000: 64 位数据变量
vplen
VP 地址数量
注:
mbaddr: 指 Modbus 寄存器地址
0x coil : 地址 0x00000~0x0270F
1x input : 地址 0x10000~0x1270F
3x input Register : 地址 0x30000~0x3270F
4x holding Register : 地址 0x40000~0x4270F
vpaddr : 指屏的变量
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 15 of 16
TOPWAY
LCD Module User Manual
HMT070AMC-C
0x80000: 16 位数据变量,对应 modbus 1 个 3x 和 4x 地址 ,16 个 0x 和 1x 地址
0x20000: 32 位数据变量,对应 modbus 2 个 3x 和 4x 地址 ,32 个 0x 和 1x 地址
0x30000: 64 位数据变量,对应 modbus 4 个 3x 和 4x 地址 ,64 个 0x 和 1x 地址
屏变量与 modbus 位地址的关系以 16 位变量对应关系为例
16 位变量 Bit15
Bit8
Bit7
Bit0
0x coil
0x0000F
0x00008 0x00007
0x00000
1x input
0x1000F
0x10008 0x10007
0x10000
URL: www.topwaydisplay.com
Document Name:HMT070AMC-C-Manual-Rev0.1
Page: 16 of 16