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
Supports third-party Modbus RTU devices by user-defined DI/DO/AI/AO.
Supports screen saver function to auto-off the LCD backlight when idle.
Configure the include\hmi_options.h file to enable this function. #define HMI_LCD_AUTO_OFF 0// 0 = disable, 1= 5 ~ 300 seconds #define HMI_LCD_ON_BEEP 1// 0 = disable, 1 = Beep when LCD backlight is turned on #define HMI_LCD_OFF_BEEP 1// 0 = disable, 1 = Beep when LCD backlight is turned off
Add link to the [Pictures] folder in the project.
So, each project can put its own pictures in the project directory and make the management easily.
Add "Light(M), Light(S), Controller(M), Controller(S)" picture folders. Add some more pictures.
Add hmi_UserParamsGet() and hmi_UserParamsSet() functions to get/set the user parameter area in the MCU internal flash.
There is write/erase times limitation, and does not suggested to use it frequently. The user parameter area is 256-byte size, and the iOffset + iSize cannot larger than 256. // iOffset : 0 ~ 255
// iSize : 0 ~ 255
// pcBuffer: User's data buffer
// return : 1 (true) = OK, 0 (false) = Failure
int hmi_UserParamsGet(int iOffset, int iSize, char *pcBuffer);
int hmi_UserParamsSet(int iOffset, int iSize, char *pcBuffer);
Changed:
The g_sParameters.UserParamsData area is not available.
Use the following two functions, hmi_UserParamsGet() and hmi_UserParamsSet(), instead.
Update the USB driver to support 64-bit Windows 7/XP.
Supports more pictures for CheckBox widget (in ladder mode).
Use a virtual tag (linked in TagName) to indicate which picture (in the ObjList) should be displayed. The valid range of the index (virtual tag value) should be between 0 and (picture_count -1). The index is equal to (virtual_tag_value % picture_count) if it exceeds that range.
Draw "X" in HMIWorks when the picture file does not exist. So we can find out the missing part easily in the design time.
Fixed:
The uart_SetTimeout() does not work correctly, fixed.
Buttons sometimes may not back to normal status, fxied.
Some function blocks lack the write-flag, and cause DO does not work. Fixed.
Show message when download failed, not just disappeared. Fixed.
Draw "X" in HMIWorks when the picture file does not exist. So we can find out the missing part easily in the design time.
Note: It is required to update MiniOS8 of TPD-280U/430 and VPD-130 to v1.0.3 when using HMIWorks v2.03, since the internal flash data structure has something different.