HMIWorks is the development software for the TouchPAD series, including TPD series and VPD series. Now it supports TPD-280/TPD-283/TPD-280U/TPD-430/
TPD-430-EU/VPD-130/VPD-130N.
The main features of HMIWorks:
C programming Language and Ladder Diagram Design
Support for a wide range of Widgets, Shorten Development Time
Modbus TCP receiving error
Clear the TCP input buffer before sending Modbus TCP commands. This reduces errors when I/O device sometimes have small delay in its responses.
Modbus RTU/DCON (RS-485) receiving error
Clear the serial input buffer before sending DCON or Modbus RTU commands. Note: TPD-280 should update the library, while the TPD-280U/TPD-430 should update the MiniOS8.
No responses from touch screen
When I/O scan time (default 100 ms) of a TouchPAD is smaller than I/O timeout value, the system can then be blocked and causes no response to the touch screen. Modify the system to improve the responsiveness of the touch screen.
Added:
Watchdog function
Supports watchdog function for TPD-280/283/280U/430 and VPD-130.
Now, users can enable the hardware watchdog just by change the settings in the hmi_options.h file.
#define HMI_WDT_ENABLE 0 // 1 = Enable, 0 = Disable (default)
#define HMI_WDT_TIMEOUT 2000 // about 2,000 ms to reboot (Valid 1,000 ~ 50,000 ms)
#define HMI_WDT_CLEAR (HMI_WDT_TIMEOUT / 4) // about 500 ms to clear WDT & preventing reboot
A simple C code as following can be used to test the watchdog function.
while (1) ; // infinite loop to block the system
Startup-beep/ touch-beep settings
Supports startup-beep and touch-beep settings in the hmi_options.h file.
#define HMI_STARTUP_BEEP 1 // 1 = Beep when startup, 0 = disable
#define HMI_TOUCH_BEEP 0 // 1 = Beep each touch, 0 = disable
Auto-reconnect for Modbus TCP
Now we support auto-reconnect for the Modbus TCP modules. When I/O devices are online again, it may takes about 5 seconds to auto-reconnect.
Modbus RTU master API functions
Modbus RTU master API functions in library for TPD-280/280U/430 and VPD-130.