05 Lua Script

Version 5.1 by Hunter on 2022/07/07 21:02

1 64bits Address Basic Algorithm

The example shows how to do the Addition, Subtraction, Multiplication and Division for HMI internal address. 

Download link

2 MQTT

The example shows how to connect to the MQTT server.(Test on MaQiaTTo)

Download link

3 Timer

The example shows how to use the Lua Timer function.

Download link

4 Trigger

The example shows how to use the Lua Trigger function.

Download link

5 User Free Protocol

The example shows the simple write and read of User Free protocol

Download link

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.

Download link

7 FTP Client

The example shows how the to establish the FTP server at WIN10 OS and make the HMI as FTP client.

Download link

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.

Download link