Changes for page 12 Clock operation

Last modified by Mora Zhou on 2023/11/21 17:27

From version 21.1
edited by Bob
on 2022/11/23 16:25
Change comment: There is no comment for this version
To version 15.1
edited by Bob
on 2022/11/23 11:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -== ==
1 +== ==
2 2  
3 3  == **TADD/The addition of clock data** ==
4 4  
... ... @@ -933,7 +933,6 @@
933 933  
934 934  **Timing Chart**
935 935  
936 -(% style="text-align:center" %)
937 937  [[image:企业微信截图_16691725418532.png]]
938 938  
939 939  **Features**
... ... @@ -963,7 +963,6 @@
963 963  
964 964  **Example**
965 965  
966 -(% style="text-align:center" %)
967 967  [[image:企业微信截图_16691729278938.png]]
968 968  
969 969  T1 is used for storing time, setting the expected time as K10 and the time base as K10000.
... ... @@ -971,212 +971,3 @@
971 971  After set on (M8) contact and waiting for the value in the turn-on delay timer (T1) to reach the estimated time of 10s, the contact of (T1) on and output Y0.
972 972  
973 973  If the (M8) contact is off in the process of turn-on delay timer (T1) timing, the turn-on delay timer (T1) value is cleared to 0 and the timing ends.
974 -
975 -== **TONR/BIN 16-bit Hold-type turn-on delay timer** ==
976 -
977 -**TONR(P)**
978 -
979 -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).
980 -
981 -PLC Editor2 version that supports this instruction: 2.3.1 and above.
982 -
983 --[TONR (s1) (s2) (s3)]
984 -
985 -**Content, scope, data type**
986 -
987 -|**parameter**|**Content**|**range**|**type of data**|**Data type (label)**
988 -|(s1)|T device|0~~511|Signed BIN 16 bit|ANY16_S
989 -|(s2)|Expected time|0~~32767|Signed BIN 16 bit|ANY16_S
990 -|(s3)|Time base(resolution)|1/10/100/1000/10000|Signed BIN 16 bit|ANY16_S
991 -
992 -**Device used**
993 -
994 -|(% rowspan="2" %)**instruction**|(% rowspan="2" %)**parameter**|(% colspan="24" %)**Devices**|**Offset modification**|**Pulse extension**
995 -|**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**
996 -|(% rowspan="3" %)TON|Parameter 1| | | | | | | | | | | | | | |●| | | | | | | | | | |
997 -|Parameter 2| | | | | | | | | | |●|●|●|●| |●|●|●|●| | |●|●| | |
998 -|Parameter 3| | | | | | | | | | | | | | | | | | | | | |●|●| | |
999 -
1000 -**Timing Chart**
1001 -
1002 -(% style="text-align:center" %)
1003 -[[image:企业微信截图_16691733488965.png]]
1004 -
1005 -**Features**
1006 -
1007 -1) When the timer starts timing, the instruction after the timer starts to run when the timing time is greater than the time value of "the product of S2 and S3".
1008 -
1009 -2) When the coil in front of the timer is off, the TONR timer saves the current value. When the coil is on, the TONR timer continues to timing.
1010 -
1011 -3) The current value of TONR can be cleared using the reset command. After the preset time is reached, TONR maintains the current value of the timer.
1012 -
1013 -
1014 -|**S3 time base**|**Actual value**
1015 -|1|100us
1016 -|10|1ms
1017 -|100|10ms
1018 -|1000|100ms
1019 -|10000|1s
1020 -
1021 -**Precautions**
1022 -
1023 -• 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).
1024 -
1025 -**Error code**
1026 -
1027 -|**Error code**|**Content**
1028 -|4084H|Input data in (s2) (s3) is outside the specified range.
1029 -|4085H|Device tpye in (s1) (s2) (s3) is outside the specified range.
1030 -|4086H|Device tpye in (s1) is outside the specified range.
1031 -
1032 -**Example**
1033 -
1034 -(% style="text-align:center" %)
1035 -[[image:企业微信截图_16691733566206.png]]
1036 -
1037 -T1 is used for storing time, setting the expected time as K10 and the time base as K10000.
1038 -
1039 -When the (M8) contact off and on again during timing. (T1) maintains the value at the last disconnection and continues timing until the estimated time of 10s. After the estimated time is reached, the (T1) contact on and output Y0. If the (M8) contact off in this time, the (T1) contact is still ON but Y0 is off.
1040 -
1041 -When (M0) contact turn ON, the (T1) timer value is cleared to 0 with the RST reset command, the (T1) contact is off, and the Y0 OFF.
1042 -
1043 -== **TOF/BIN 16-bit Turn-off delay timer** ==
1044 -
1045 -**TOF(P)**
1046 -
1047 -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).
1048 -
1049 -PLC Editor2 version that supports this instruction: 2.3.1 and above.
1050 -
1051 --[TOF (s1) (s2) (s3)]
1052 -
1053 -**Content, scope, data type**
1054 -
1055 -|**parameter**|**Content**|**range**|**type of data**|**Data type (label)**
1056 -|(s1)|T device|0~~511|Signed BIN 16 bit|ANY16_S
1057 -|(s2)|Expected time|0~~32767|Signed BIN 16 bit|ANY16_S
1058 -|(s3)|Time base(resolution)|1/10/100/1000/10000|Signed BIN 16 bit|ANY16_S
1059 -
1060 -**Device used**
1061 -
1062 -|(% rowspan="2" %)**instruction**|(% rowspan="2" %)**parameter**|(% colspan="24" %)**Devices**|**Offset modification**|**Pulse extension**
1063 -|**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**
1064 -|(% rowspan="3" %)TON|Parameter 1| | | | | | | | | | | | | | |●| | | | | | | | | | |
1065 -|Parameter 2| | | | | | | | | | |●|●|●|●| |●|●|●|●| | |●|●| | |
1066 -|Parameter 3| | | | | | | | | | | | | | | | | | | | | |●|●| | |
1067 -
1068 -**Timing Chart**
1069 -
1070 -(% style="text-align:center" %)
1071 -[[image:企业微信截图_16691735325382.png]]
1072 -
1073 -**Features**
1074 -
1075 -1) After the input is disconnected, the output is delayed for a fixed time before stopping. The timer bit turns on immediately when the input is started and the current value is set to 0. When the input is disconnected, timing starts until the current time is equal to the preset time, then timing stops.
1076 -
1077 -2) When the preset value is reached, the timer bit is disconnected and the current value stops incrementing; If the input is turned on again before the TOF reaches the preset value, the timer bit remains on.
1078 -
1079 -3) For the TOF timer to start timing, the enable input must perform an on-off transition.
1080 -
1081 -
1082 -|**S3 time base**|**Actual value**
1083 -|1|100us
1084 -|10|1ms
1085 -|100|10ms
1086 -|1000|100ms
1087 -|10000|1s
1088 -
1089 -**Precautions**
1090 -
1091 -• 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).
1092 -
1093 -**Error code**
1094 -
1095 -|**Error code**|**Content**
1096 -|4084H|Input data in (s2) (s3) is outside the specified range.
1097 -|4085H|Device tpye in (s1) (s2) (s3) is outside the specified range.
1098 -|4086H|Device tpye in (s1) is outside the specified range.
1099 -
1100 -**Example**
1101 -
1102 -(% style="text-align:center" %)
1103 -[[image:企业微信截图_16691735281572.png]]
1104 -
1105 -T1 is used for storing time, setting the expected time as K10 and the time base as K10000.
1106 -
1107 -Make the (M8) contact ON and oFF, When (M8) ON, (T1) contact is ON and Y0 is ON. when (M8) OFF, (Y0) is OFF and (T1) starts timing. When the estimated time of 5s is reached, the (T1) contact is also 0FF.
1108 -
1109 -If the (M8) contact ON again during (T1) timing, the (T1) value clears to 0 and the timing ends
1110 -
1111 -== **TP/BIN 16-bit Start pulse timer** ==
1112 -
1113 -**TP(P)**
1114 -
1115 -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.
1116 -
1117 -PLC Editor2 version that supports this instruction: 2.3.1 and above.
1118 -
1119 --[TP (s1) (s2) (s3)]
1120 -
1121 -**Content, scope, data type**
1122 -
1123 -|**parameter**|**Content**|**range**|**type of data**|**Data type (label)**
1124 -|(s1)|T device|0~~511|Signed BIN 16 bit|ANY16_S
1125 -|(s2)|Expected time|0~~32767|Signed BIN 16 bit|ANY16_S
1126 -|(s3)|Time base(resolution)|1/10/100/1000/10000|Signed BIN 16 bit|ANY16_S
1127 -
1128 -**Device used**
1129 -
1130 -|(% rowspan="2" %)**instruction**|(% rowspan="2" %)**parameter**|(% colspan="24" %)**Devices**|**Offset modification**|**Pulse extension**
1131 -|**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**
1132 -|(% rowspan="3" %)TON|Parameter 1| | | | | | | | | | | | | | |●| | | | | | | | | | |
1133 -|Parameter 2| | | | | | | | | | |●|●|●|●| |●|●|●|●| | |●|●| | |
1134 -|Parameter 3| | | | | | | | | | | | | | | | | | | | | |●|●| | |
1135 -
1136 -**Timing Chart**
1137 -
1138 -(% style="text-align:center" %)
1139 -[[image:企业微信截图_16691747709508.png]]
1140 -
1141 -**Features**
1142 -
1143 -Timer that outputs TRUE only for the set time after startup
1144 -
1145 -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.
1146 -
1147 -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.
1148 -
1149 -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).
1150 -
1151 -
1152 -|**S3 time base**|**Actual value**
1153 -|1|100us
1154 -|10|1ms
1155 -|100|10ms
1156 -|1000|100ms
1157 -|10000|1s
1158 -
1159 -**Precautions**
1160 -
1161 -• 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).
1162 -
1163 -**Error code**
1164 -
1165 -|**Error code**|**Content**
1166 -|4084H|Input data in (s2) (s3) is outside the specified range.
1167 -|4085H|Device tpye in (s1) (s2) (s3) is outside the specified range.
1168 -|4086H|Device tpye in (s1) is outside the specified range.
1169 -
1170 -**Example**
1171 -
1172 -(% style="text-align:center" %)
1173 -[[image:企业微信截图_1669174775341.png]]
1174 -
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.
企业微信截图_16691733488965.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bob
Size
... ... @@ -1,1 +1,0 @@
1 -16.1 KB
Content
企业微信截图_16691733566206.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bob
Size
... ... @@ -1,1 +1,0 @@
1 -6.4 KB
Content
企业微信截图_16691735281572.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bob
Size
... ... @@ -1,1 +1,0 @@
1 -5.2 KB
Content
企业微信截图_16691735325382.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bob
Size
... ... @@ -1,1 +1,0 @@
1 -14.8 KB
Content
企业微信截图_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