Changes for page 04 Library

Last modified by xingzhi lin on 2025/09/24 10:01

From version 7.1
edited by Joe
on 2025/09/18 10:36
Change comment: There is no comment for this version
To version 9.1
edited by Joe
on 2025/09/18 15:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -613,3 +613,146 @@
613 613  == [[**TTS function**>>https://docs.we-con.com.cn/bin/view/PIStudio/09%20Lua%20Editor/Lua%20Script/#HTTS]] ==
614 614  
615 615  = **Schedule** =
616 +
617 +**The schedule function allows the HMI to execute pre-scheduled tasks at specified times or according to specified conditions.
618 +Compatible models: ig series, RH series
619 +The scheduling function supports setting up to 128 scheduled tasks, each with 8 triggers and 8 execution tasks.**
620 +
621 +Project configuration → Library→ Schedule.
622 +
623 +Click "New schedule" to create task.
624 +
625 +(% style="text-align:center" %)
626 +[[image:1.png]]
627 +
628 +== **Trigger** ==
629 +
630 +
631 +(% style="text-align:center" %)
632 +[[image:2.png]]
633 +
634 +
635 +(% style="text-align:center" %)
636 +[[image:3.png]]
637 +
638 +There are six different Start task
639 +
640 +**AS Scheduled:** Schedules are divided into four different modes: **Once, Every day, Every week and Every month**.
641 +
642 +* **Once**: This mode executes only once, triggered only when the start time arrives.
643 +* **Every day: **The trigger will be triggered at the same time every day after the start time, and **the trigger interval can be set.**
644 +* **Every week:** It will be triggered on the set date every week after the start time, and the number of weeks for the interval trigger can be set.
645 +
646 +(% style="text-align:center" %)
647 +[[image:4.png]]
648 +
649 +* **Every month: In the monthly mode, there are two modes:**
650 +
651 +1. **By day mode: **In this mode, after the start time, the day of the month can be set to trigger, and you can select multiple months and days.
652 +
653 +(% style="text-align:center" %)
654 +[[image:5.png]]
655 +
656 +1. **Weekly mode:** In this mode, after the start time, the day of the week can be set in the month to trigger. Both the number of weeks and the day of the week can be multiple selected.
657 +
658 +(% style="text-align:center" %)
659 +[[image:6.png]]
660 +
661 +**Bit address value changes: **Set the bit address value to trigger from ON->OFF or from OFF->ON
662 +
663 +(% style="text-align:center" %)
664 +[[image:7.png]]
665 +
666 +**Word address value changes: **Set the word address value to meet the set conditions (greater than, equal to, or less than a certain value) to trigger
667 +
668 +(% style="text-align:center" %)
669 +[[image:8.png]]
670 +
671 +**On the specified screen: **Jump to the specified screen trigger.
672 +
673 +(% style="text-align:center" %)
674 +[[image:9.png]]
675 +
676 +**Successful upload to Cloud: **Triggered when the device successfully or fails to access the cloud. If set to "fail to access the cloud", if the device has not accessed the cloud after a period of time (about 2 minutes) after startup, it will be judged as a cloud access failure.
677 +
678 +(% style="text-align:center" %)
679 +[[image:10.png]]
680 +
681 +**When the specified user logs in: **Set to be triggered after a user successfully logs in.
682 +
683 +(% style="text-align:center" %)
684 +[[image:11.png]]
685 +
686 +(% class="box infomessage" %)
687 +(((
688 +Note:
689 +~1. After setting a start time, the trigger will automatically start at the specified start time.
690 +2. All triggers must have a start time, and an end time is optional. If an end time is set, the trigger will not fire if the current time exceeds the end time. If an end time is not set, the trigger will persist if the current time exceeds the start time.
691 +)))
692 +
693 +== ** Executor ** ==
694 +
695 +Select the executor. This interface can adjust the execution order of the executor.
696 +
697 +(% style="text-align:center" %)
698 +[[image:9.png]]
699 +
700 +Click "New" to pop up the interface where  the operation is selected to perform. There are seven optional operations.
701 +
702 +(% style="text-align:center" %)
703 +[[image:1.png]]
704 +
705 +(% class="box infomessage" %)
706 +(((
707 +Note:
708 +1.All execution operations are performed after the trigger is triggered.
709 +2.Each action can be delayed, which can delay execution for a period of time at the start of the execution time.
710 +)))
711 +
712 +* **Bit address write:** 0 or 1 can be written to a certain bit address.
713 +
714 +(% style="text-align:center" %)
715 +[[image:2.png]]
716 +
717 +* **Word address write:** Write data of a specified data format to a word address.
718 +
719 +(% style="text-align:center" %)
720 +[[image:3.png]]
721 +
722 +* **Screen jump:** Jump to the specified screen.
723 +
724 +(% style="text-align:center" %)
725 +[[image:4.png]]
726 +
727 +* **Pop-up sub-screen: ** The specified sub-screen can be popped up, the coordinates of the sub-screen pop-up can be customized, and the position of the sub-screen pop-up in the HMI grid can also be set.
728 +
729 +(% style="text-align:center" %)
730 +[[image:5.png]]
731 +
732 +* **Close sub-screen:** Closes an opened sub-screen.
733 +
734 +(% style="text-align:center" %)
735 +[[image:6j.png]]
736 +
737 +* **Execute Lua script: ** Writing a Lua script will execute the Lua script content, but one executor only supports writing one Lua script.
738 +
739 +(% style="text-align:center" %)
740 +[[image:7.png]]
741 +
742 +* **Restart: **Restart HMI.
743 +
744 +(% style="text-align:center" %)
745 +[[image:8.png]]
746 +
747 +== **Advance** ==
748 +
749 +(% style="text-align:center" %)
750 +[[image:10.png]]
751 +
752 +* **Repeated execution **
753 +
754 +1. **Repeat time: **Specifies the number of times the executor executes after the trigger is triggered. The default value is one.
755 +1. **Repeat Interval: **Specifies the interval between repetitions. The default value is one second.
756 +
757 +* Control address: This bit address controls whether the** entire scheduled task is started**.
758 +* TTS voice broadcast: Specifies whether to play a voice prompt when the executor executes.
1.png
Size
... ... @@ -1,1 +1,1 @@
1 -25.3 KB
1 +10.8 KB
Content
2.png
Size
... ... @@ -1,1 +1,1 @@
1 -40.1 KB
1 +8.2 KB
Content
10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +18.6 KB
Content
11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +10.6 KB
Content
3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +10.1 KB
Content
4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +8.2 KB
Content
5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +12.1 KB
Content
6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +20.3 KB
Content
6j.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +8.7 KB
Content
7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +9.7 KB
Content
8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +7.3 KB
Content
9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +20.8 KB
Content