Changes for page 03 Project Settings
Last modified by Joe on 2025/09/17 11:26
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -721,120 +721,7 @@ 721 721 (% style="text-align:center" %) 722 722 [[image:LANBackground.png]] 723 723 724 -= Time Synchronization/DST = 725 725 726 -To accommodate regional time differences and daylight saving time in some areas, PI provides an NTP time update function. This function allows users to configure the HMI display time as needed and automatically adjusts to daylight saving time. 727 -PI offers two configuration methods: **tool configuration** and **special register configuration**. 728 - 729 -**Tool configuration** 730 - 731 -Project Setting →Time Synchronization/DST 732 - 733 -* **HMI Time Zone**: Customize the device's time zone. Once configured, the system time zone will be changed to the user-selected time zone. 734 -* **Synchronize HMI time with external device when HMI starts**: After enabling, select the** first address** to store time information. After configuration, read **six consecutive addresses** representing **year, month, day, hour, minute, and second.** 735 -* **Enable Time Synchronization: ** 736 - 737 -(% class="box infomessage" %) 738 -((( 739 -**Note: NTP synchronization and external device synchronization are mutually exclusive; only one synchronization mode can be selected.** 740 -))) 741 - 742 -* **Run Time Synchronization When the HMI Starts:** Performs a time synchronization** immediately upon device startup**. 743 -* **Primary Time Server :** The first time server is required and the others are optional. IP can be customized. The drop-down list shows commonly used time servers. 744 -* **Update cycle:** After the project is downloaded to the device, the update interval is in seconds. The HMI will synchronize the time every update interval. 745 - 746 -(% class="box infomessage" %) 747 -((( 748 - Note: HSW11809 displays the time difference from the last successful time synchronization. If the value of HSW11809 is greater than the update period, it means that the time synchronization has failed. Users can use the value of HSW11809 to determine whether the time synchronization is normal. 749 -))) 750 - 751 -* ** Automatic daylight saving time(DST):** 752 - 753 - The start and end times can be set for daylight saving time. During the daylight saving time period, the device time will be adjusted forward by the time adjustment value. 754 - 755 -**For example:** 756 - 757 -(% class="box successmessage" %) 758 -((( 759 -if configure daylight saving time from 2:00 AM on the first Monday of June to 3:00 AM on the first week of September, with a time adjustment value of 1:30, then when it reaches 4:00 PM on the second week of June, the device will display 5:30 PM. When daylight saving time ends, the time will return to the original time, adjusted forward by the time adjustment value. 760 -))) 761 - 762 -(% style="text-align:center" %) 763 -[[image:1.png]] 764 - 765 -**Register Configuration ** 766 - 767 -Except for the time zone and server IP address, all other configurations can be modified through registers. 768 - 769 -Registers corresponding to the relevant configurations: 770 - 771 -|**Special Register**|Function|Remark| 772 -|HSW11775|Enable NTP|((( 773 -1: Enable 774 - 775 -0: Disable 776 -)))| 777 -|HSW11776|Immediate time synchronization|((( 778 -1: The device will synchronize its time immediately after powering on. 779 - 780 -0: The device will not synchronize its time immediately after powering on, but will synchronize its time after the update cycle has expired. 781 -)))| 782 -|HSW11777|((( 783 -Primary time server IP 784 - 785 -(required after NTP is enabled) 786 -)))|Primary time server IP high word 1| 787 -|HSW11778| |Primary time server IP high word 2| 788 -|HSW11779| |Primary time server IP high word 3| 789 -|HSW11780| |Primary time server IP high word 4| 790 -|HSW11781|Alternate time server1 (optional)|Alternate time server1 IP high word 1| 791 -|HSW11782| |Alternate time server1 IP high word 2| 792 -|HSW11783| |Alternate time server1 IP high word 3| 793 -|HSW11784| |Alternate time server1 IP high word 4| 794 -|HSW11785|Alternate time server2 (optional)|Alternate time server2 high word 1| 795 -|HSW11786| |Alternate time server2 high word 2| 796 -|HSW11787| |Alternate time server2 high word 3| 797 -|HSW11788| |Alternate time server2 high word 4| 798 -|HSW11789|Alternate time server3 (optional)|Alternate time server3 high word 1| 799 -|HSW11790| |Alternate time server3 high word 2| 800 -|HSW11791| |Alternate time server3 high word 3| 801 -|HSW11792| |Alternate time server3 high word 4| 802 -|HSW11793|Update cycle|Update cycle **high **order| 803 -|HSW11794| |Update cycle **low **order| 804 -|HSW11795|Daylight saving time|((( 805 -0: Enable daylight saving time 806 - 807 -1: Disable daylight saving time 808 -)))| 809 -|HSW11796|Time adjustment value|Hour| 810 -|HSW11797| |Minute| 811 -|HSW11798|**Month** when daylight saving time **starts**|Valid range: 1-12| 812 -|HSW11799|**Which week **of the month will Daylight Saving Time **start**|Valid range: 1-5| 813 -|HSW11800|**Day of the week** when daylight saving time **begins**|((( 814 -Valid range: 0-6 815 - 816 -(0 represents Sunday) 817 -)))| 818 -|HSW11801|**The hour** when daylight saving time **starts**|Valid range: 0-23| 819 -|HSW11802|**The minute **when daylight saving time **starts**|Valid range: 0-59| 820 -|HSW11803|**Month** when daylight saving time **ends**|Valid range: 1-12| 821 -|HSW11804|**Which week **of the month will Daylight Saving Time **end**|Valid range: 1-5| 822 -|HSW11805|**Day of the week** when daylight saving time **ends**|((( 823 -Valid range: 0-6 824 - 825 -(0 represents Sunday) 826 -)))| 827 -|HSW11806|**The hour** when daylight saving time **ends**|Valid range: 0-23| 828 -|HSW11807|**The minute **when daylight saving time ends|Valid range: 0-59| 829 -|HSW11808|State of daylight saving time|((( 830 -1 , it is in daylight saving time 831 - 832 -0 , it is not in daylight saving time 833 -)))| 834 -|HSW11809|Time difference since the last successful time synchronization|Unit: Second| 835 - 836 - 837 - 838 838 = Font pack = 839 839 840 840 "Font pack" is for setting built-in font for HMI project, in this way, the text in some objects of the HMI could be displayed in the desired font.