Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1102,4 +1102,75 @@ 1102 1102 1103 1103 If the (M8) contact ON again during (T1) timing, the (T1) value clears to 0 and the timing ends 1104 1104 1105 - 1105 +== **TP/BIN 16-bit Start pulse timer** == 1106 + 1107 +**TP(P)** 1108 + 1109 +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. 1110 + 1111 +PLC Editor2 version that supports this instruction: 2.3.1 and above. 1112 + 1113 +-[TP (s1) (s2) (s3)] 1114 + 1115 +**Content, scope, data type** 1116 + 1117 +|**parameter**|**Content**|**range**|**type of data**|**Data type (label)** 1118 +|(s1)|T device|0~~511|Signed BIN 16 bit|ANY16_S 1119 +|(s2)|Expected time|0~~32767|Signed BIN 16 bit|ANY16_S 1120 +|(s3)|Time base(resolution)|1/10/100/1000/10000|Signed BIN 16 bit|ANY16_S 1121 + 1122 +**Device used** 1123 + 1124 +|(% rowspan="2" %)**instruction**|(% rowspan="2" %)**parameter**|(% colspan="24" %)**Devices**|**Offset modification**|**Pulse extension** 1125 +|**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** 1126 +|(% rowspan="3" %)TON|Parameter 1| | | | | | | | | | | | | | |●| | | | | | | | | | | 1127 +|Parameter 2| | | | | | | | | | |●|●|●|●| |●|●|●|●| | |●|●| | | 1128 +|Parameter 3| | | | | | | | | | | | | | | | | | | | | |●|●| | | 1129 + 1130 +**Timing Chart** 1131 + 1132 +(% style="text-align:center" %) 1133 +[[image:企业微信截图_16691747709508.png]] 1134 + 1135 +**Features** 1136 + 1137 +Timer that outputs TRUE only for the set time after startup 1138 + 1139 +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. 1140 + 1141 +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. 1142 + 1143 +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). 1144 + 1145 + 1146 +|**S3 time base**|**Actual value** 1147 +|1|100us 1148 +|10|1ms 1149 +|100|10ms 1150 +|1000|100ms 1151 +|10000|1s 1152 + 1153 +**Precautions** 1154 + 1155 +• 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). 1156 + 1157 +**Error code** 1158 + 1159 +|**Error code**|**Content** 1160 +|4084H|Input data in (s2) (s3) is outside the specified range. 1161 +|4085H|Device tpye in (s1) (s2) (s3) is outside the specified range. 1162 +|4086H|Device tpye in (s1) is outside the specified range. 1163 + 1164 +**Example** 1165 + 1166 +(% style="text-align:center" %) 1167 +[[image:企业微信截图_1669174775341.png]] 1168 + 1169 + 1170 +T1 is used for storing time, setting the expected time as K5 and the time base as K10000. 1171 + 1172 +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. 1173 + 1174 +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. 1175 + 1176 +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.
- 企业微信截图_16691747709508.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bob - Size
-
... ... @@ -1,0 +1,1 @@ 1 +8.4 KB - Content
- 企业微信截图_1669174775341.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bob - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.2 KB - Content