Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 13 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Mora1 +XWiki.Bob - Content
-
... ... @@ -68,12 +68,11 @@ 68 68 |SM151|Carry|It is ON when the result of the TADD(P) instruction exceeds the maximum clock data value of 23:59:59 69 69 |SM153|Zero|It is ON when the result of the TADD(P) instruction is 0:00:00 70 70 71 -(% class="box infomessage" %) 72 -((( 73 -✎**Note:** The devices specified in (s1), (s2), (d) occupy 3 points respectively. Be careful not to overlap with the device used for machine control. 71 +✎**Note:** 74 74 73 +The devices specified in (s1), (s2), (d) occupy 3 points respectively. Be careful not to overlap with the device used for machine control. 74 + 75 75 When using the clock data time (hour, minute, second) of the built-in real-time clock of the CPU module, use the TRD(P) instruction to read the value of the special register and assign the word device to each operand. 76 -))) 77 77 78 78 **Error code** 79 79 ... ... @@ -934,8 +934,7 @@ 934 934 935 935 **Timing Chart** 936 936 937 -(% style="text-align:center" %) 938 -[[image:图片3.png]] 936 +[[image:企业微信截图_16691725418532.png]] 939 939 940 940 **Features** 941 941 ... ... @@ -964,8 +964,7 @@ 964 964 965 965 **Example** 966 966 967 -(% style="text-align:center" %) 968 -[[image:图片4.png]] 965 +[[image:企业微信截图_16691729278938.png]] 969 969 970 970 T1 is used for storing time, setting the expected time as K10 and the time base as K10000. 971 971 ... ... @@ -975,7 +975,7 @@ 975 975 976 976 == **TONR/BIN 16-bit Hold-type turn-on delay timer** == 977 977 978 -**TONR(P)** 975 +[[image:file:///C:\Users\ADMINI~~1\AppData\Local\Temp\ksohtml8784\wps1.png]]**TONR(P)** 979 979 980 980 Specify the T timer device in (s1), the expected time in (s2), and the time base (resolution) in (s3). And store the time values of the accumulated multiple timing intervals into the device specified in (s1). 981 981 ... ... @@ -1000,8 +1000,7 @@ 1000 1000 1001 1001 **Timing Chart** 1002 1002 1003 -(% style="text-align:center" %) 1004 -[[image:图片2.png]] 1000 +[[image:企业微信截图_16691733488965.png]] 1005 1005 1006 1006 **Features** 1007 1007 ... ... @@ -1032,8 +1032,7 @@ 1032 1032 1033 1033 **Example** 1034 1034 1035 -(% style="text-align:center" %) 1036 -[[image:图片1.png]] 1031 +[[image:企业微信截图_16691733566206.png]] 1037 1037 1038 1038 T1 is used for storing time, setting the expected time as K10 and the time base as K10000. 1039 1039 ... ... @@ -1043,7 +1043,7 @@ 1043 1043 1044 1044 == **TOF/BIN 16-bit Turn-off delay timer** == 1045 1045 1046 -**TOF(P)** 1041 +[[image:file:///C:\Users\ADMINI~~1\AppData\Local\Temp\ksohtml8784\wps6.png]]**TOF(P)** 1047 1047 1048 1048 Specify the T timer device in (s1), the expected time in (s2), and the time base (resolution) in (s3). And store the time values of the accumulated multiple timing intervals into the device specified in (s1). 1049 1049 ... ... @@ -1068,8 +1068,7 @@ 1068 1068 1069 1069 **Timing Chart** 1070 1070 1071 -(% style="text-align:center" %) 1072 -[[image:图片5.png]] 1066 +[[image:企业微信截图_16691735325382.png]] 1073 1073 1074 1074 **Features** 1075 1075 ... ... @@ -1100,8 +1100,7 @@ 1100 1100 1101 1101 **Example** 1102 1102 1103 -(% style="text-align:center" %) 1104 -[[image:图片6.png]] 1097 +[[image:企业微信截图_16691735281572.png]] 1105 1105 1106 1106 T1 is used for storing time, setting the expected time as K10 and the time base as K10000. 1107 1107 ... ... @@ -1109,74 +1109,4 @@ 1109 1109 1110 1110 If the (M8) contact ON again during (T1) timing, the (T1) value clears to 0 and the timing ends 1111 1111 1112 -== **TP/BIN 16-bit Start pulse timer** == 1113 - 1114 -**TP(P)** 1115 - 1116 -Specify the T timer device in (s1), the expected time in (s2), and the time base (resolution) in (s3). And output TRUE in the set time of "(s2)*(s3)" product. 1117 - 1118 -PLC Editor2 version that supports this instruction: 2.3.1 and above. 1119 - 1120 --[TP (s1) (s2) (s3)] 1121 - 1122 -**Content, scope, data type** 1123 - 1124 -|**parameter**|**Content**|**range**|**type of data**|**Data type (label)** 1125 -|(s1)|T device|0~~511|Signed BIN 16 bit|ANY16_S 1126 -|(s2)|Expected time|0~~32767|Signed BIN 16 bit|ANY16_S 1127 -|(s3)|Time base(resolution)|1/10/100/1000/10000|Signed BIN 16 bit|ANY16_S 1128 - 1129 -**Device used** 1130 - 1131 -|(% rowspan="2" %)**instruction**|(% rowspan="2" %)**parameter**|(% colspan="24" %)**Devices**|**Offset modification**|**Pulse extension** 1132 -|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1133 -|(% rowspan="3" %)TON|Parameter 1| | | | | | | | | | | | | | |●| | | | | | | | | | | 1134 -|Parameter 2| | | | | | | | | | |●|●|●|●| |●|●|●|●| | |●|●| | | 1135 -|Parameter 3| | | | | | | | | | | | | | | | | | | | | |●|●| | | 1136 - 1137 -**Timing Chart** 1138 - 1139 -(% style="text-align:center" %) 1140 -[[image:图片7.png]] 1141 - 1142 -**Features** 1143 - 1144 -Timer that outputs TRUE only for the set time after startup 1145 - 1146 -1) When the enable input is turned on, timer (s1) is started and timer (s1) bit is immediately turned on. Timer (s1) stops as time increases and reaches the expected time. 1147 - 1148 -2) After timer (s1) reaches the predetermined time (s2), timer (s1) bit is disconnected. At this time, timer (s1) stops increasing. If the enable input becomes FALSE, timer (s1) will reset. The expected time (s2) becomes 0. 1149 - 1150 -3) After starting, if the enable input becomes FALSE before the timer (s1) reaches the expected time (s2), the timer will be reset after reaching the expected time (s2). 1151 - 1152 - 1153 -|**S3 time base**|**Actual value** 1154 -|1|100us 1155 -|10|1ms 1156 -|100|10ms 1157 -|1000|100ms 1158 -|10000|1s 1159 - 1160 -**Precautions** 1161 - 1162 -• Avoid timer number conflict: the same timer number cannot be used for TON, TONR, TOF, TP, OUT_T timers at the same time. For example, TON T32 and TOF T32 cannot be used at the same time (it may cause data confusion and not achieve the effect of the corresponding instruction function). 1163 - 1164 -**Error code** 1165 - 1166 -|**Error code**|**Content** 1167 -|4084H|Input data in (s2) (s3) is outside the specified range. 1168 -|4085H|Device tpye in (s1) (s2) (s3) is outside the specified range. 1169 -|4086H|Device tpye in (s1) is outside the specified range. 1170 - 1171 -**Example** 1172 - 1173 -(% style="text-align:center" %) 1174 -[[image:图片8.png]] 1175 - 1176 -T1 is used for storing time, setting the expected time as K5 and the time base as K10000. 1177 - 1178 -When the enable input (M8) is on, the timer (T1) is started and the timer (T1) bit turns on immediately. Timer (T1) stops as time increases and reaches the expected time. 1179 - 1180 -After timer (T1) reaches a predetermined time of 5s, timer (T1) bit is disconnected. At this time, timer (T1) stops increasing. If the enable input (M8) becomes FALSE, timer (T1) will reset. The expected time becomes 0. 1181 - 1182 -After startup, if the enable input (M8) becomes FALSE before the timer (T1) reaches the estimated time of 5s, the timer will be reset after reaching the estimated time of 5s. 1105 +
- 企业微信截图_16691747709508.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.4 KB - Content
- 企业微信截图_1669174775341.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.2 KB - Content
- 企业微信截图_16692613377006.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.1 KB - Content
- 企业微信截图_16692614835389.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.8 KB - Content
- 企业微信截图_16692615431415.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.1 KB - Content
- 图片1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.4 KB - Content
- 图片2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.7 KB - Content
- 图片3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -29.3 KB - Content
- 图片4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.1 KB - Content
- 图片5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.8 KB - Content
- 图片6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.2 KB - Content
- 图片7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.9 KB - Content
- 图片8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.0 KB - Content