1 64bits Address Basic Algorithm
The example shows how to do the Addition, Subtraction, Multiplication and Division for HMI internal address.
2 MQTT Client
The example shows how to connect to the MQTT server.(Test on MaQiaTTo)
3 Timer
The example shows how to use the Lua Timer function.
4 Trigger
The example shows how to use the Lua Trigger function.
5 User Free Protocol
The example shows the simple write and read of User Free protocol
6 Arabic Keypad
The example shows how to use the Lua to achieve the Arabic keypad. Also available for other non-English language like Cyrillic.
7 FTP Client
The example shows how the to establish the FTP server at WIN10 OS and make the HMI as FTP client.
Step1: About how to set up the FTP server in Windows PC: Build an FTP Site on IIS , How to set up and manage an FTP server on Windows 10
Step2: Change the IP, port, username and password in Script_BG.lua, to connect user's own server.
Step3: Change the filename want to download or upload in Script_BG.lua
Step4: Change the string "udisk:smtp.jpg", into the storage path user want to download from FTP server save to HMI, in function Main_download() in Main.lua.
8 Telegram Notification
The example shows how to use Bot API to push the notification to channel or group of Telegram. Please change the Token and Chat id to users' own one.