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.
1. 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
2. Enter PC (FTP Server) IP address and port number (Default 21).
3. Change the filename of the file that needs to be uploaded. If run on as Offline Simulator, the simulate upload path of "udisk:1.png" will be "C:\WECON\USB\1.png" on the PC.
4. Change drive letter of file save path according to drop-down list (There are three option available: Flash, UDisk and SDCard).
5. Change the filename of the file that needs to be downloaded from PC(Server).
6. Set the default configuration in file "Script_BG.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.