Last modified by Mora Zhou on 2024/08/08 14:35

From version 25.2
edited by Stone Wu
on 2022/09/26 10:21
Change comment: There is no comment for this version
To version 21.2
edited by Stone Wu
on 2022/09/26 10:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1011,9 +1011,9 @@
1011 1011  • Output the ON time specified in (s1) and the cycle pulse specified in (s2) to the output destination specified in (d).
1012 1012  
1013 1013  (((
1014 -• Specify the output pulse width in (s1). (The setting range is 0 to 32,767)
1014 +• Specify the output pulse width in (s1). (The setting range is 0 to 32,767ms)
1015 1015  
1016 -• Specify the output pulse period in (s2). (The setting range is 1 to 32,767)
1016 +• Specify the output pulse period in (s2). (The setting range is 1 to 32,767ms)
1017 1017  
1018 1018  • Specify the device that outputs pulses in (d). Only Y devices with positioning parameters can be specified.
1019 1019  
... ... @@ -1032,10 +1032,10 @@
1032 1032  **Related device**
1033 1033  
1034 1034  (% class="table-bordered" %)
1035 -|=(% scope="row" style="width: 233px;" %)**Output shaft**|(% scope="col" style="width:81px" %)**Y0**|(% scope="col" style="width:104px" %)**Y1**|(% scope="col" style="width:111px" %)**Y2**|(% scope="col" style="width:107px" %)**Y3**|(% scope="col" style="width:108px" %)**Y4**|(% scope="col" style="width:108px" %)**Y5**|(% scope="col" style="width:115px" %)**Y6**|(% scope="col" %)**Y7**
1035 +|=(% scope="row" style="width: 233px;" %)**Output shaft**|=(% style="width: 81px;" %)**Y0**|=(% style="width: 104px;" %)**Y1**|=(% style="width: 111px;" %)**Y2**|=(% style="width: 107px;" %)**Y3**|=(% style="width: 108px;" %)**Y4**|=(% style="width: 108px;" %)**Y5**|=(% style="width: 115px;" %)**Y6**|=**Y7**
1036 1036  |=(% style="width: 233px;" %)Percentage mode sign|(% style="width:81px" %)SM897|(% style="width:104px" %)SM957|(% style="width:111px" %)SM1017|(% style="width:107px" %)SM1077|(% style="width:108px" %)SM1137|(% style="width:108px" %)SM1197|(% style="width:115px" %)SM1257|SM1317
1037 1037  
1038 -|=(% scope="row" style="width: 217px;" %)**Output shaft**|(% scope="col" style="width:105px" %)**Y0**|(% scope="col" %)**Y1**|(% scope="col" %)**Y2**|(% scope="col" %)**Y3**|(% scope="col" %)**Y4**|(% scope="col" %)**Y5**|(% scope="col" %)**Y6**|(% scope="col" %)**Y7**
1038 +|=(% scope="row" style="width: 217px;" %)**Output shaft**|=(% style="width: 105px;" %)**Y0**|=**Y1**|=**Y2**|=**Y3**|=**Y4**|=**Y5**|=**Y6**|=**Y7**
1039 1039  |=(% style="width: 217px;" %)PWM unit selection|(% style="width:105px" %)SM902|SM962|SM1022|SM1082|SM1142|SM1202|SM1262|SM1322
1040 1040  |(% colspan="9" scope="row" %)Take Y0 as an example: When SM902 is OFF, the Y0 PWM output cycle and pulse width are in "ms"; When SM902 is ON, the Y0 PWM output cycle and pulse width are in "us".
1041 1041  
... ... @@ -1068,21 +1068,21 @@
1068 1068  **Content, range and data type**
1069 1069  
1070 1070  (% class="table-bordered" %)
1071 -|=(% scope="row" %)**Parameter**|=**Content**|=**Range**|=**Data type**|=**Data type (label)**
1072 -|=(s1)|Set output pulse duty cycle|0 to 1000|Signed BIN16|ANY16_S
1073 -|=(s2)|Set pulse output cycle|1 to 32767|Signed BIN16|ANY16_S
1074 -|=(d)|Pulse output channel number, device number|-|Bit|ANY_BOOL
1071 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
1072 +|(s1)|Set output pulse duty cycle|0 to 1000|Signed BIN16|ANY16_S
1073 +|(s2)|Set pulse output cycle|1 to 32767|Signed BIN16|ANY16_S
1074 +|(d)|Pulse output channel number, device number|-|Bit|ANY_BOOL
1075 1075  
1076 1076  **Device used**
1077 1077  
1078 1078  (% class="table-bordered" %)
1079 -|=(% rowspan="2" %)**Instruction**|=(% rowspan="2" %)**Parameter**|=(% colspan="11" %)**Devices**|=**Offset modification**|=(((
1079 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|(((
1080 1080  **Pulse**
1081 1081  
1082 1082  **extension**
1083 1083  )))
1084 -|=**Y**|=**KnX**|=**KnY**|=**KnM**|=**KnS**|=**T**|=**C**|=**D**|=**R**|=**K**|=**H**|=**[D]**|=**XXP**
1085 -|=(% rowspan="3" %)PWM|Parameter 1| |●|●|●|●|●|●|●|●|●|●|●|
1084 +|**Y**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**K**|**H**|**[D]**|**XXP**
1085 +|(% rowspan="3" %)PWM|Parameter 1| |●|●|●|●|●|●|●|●|●|●|●|
1086 1086  |Parameter 2| |●|●|●|●|●|●|●|●|●|●|●|
1087 1087  |Parameter 3|●| | | | | | | | | | | |
1088 1088  
... ... @@ -1093,12 +1093,12 @@
1093 1093  It is necessary to turn on the permil mode of the PWM instruction, and the corresponding related device:
1094 1094  
1095 1095  (% class="table-bordered" %)
1096 -|=(% scope="row" %)**Output shaft**|**Y0**|**Y1**|**Y2**|**Y3**|**Y4**|**Y5**|**Y6**|**Y7**
1097 -|=Permil mode sign|SM897|SM957|SM1017|SM1077|SM1137|SM1197|SM1257|SM1317
1096 +|**Output shaft**|**Y0**|**Y1**|**Y2**|**Y3**|**Y4**|**Y5**|**Y6**|**Y7**
1097 +|Percentage Mode Sign|SM897|SM957|SM1017|SM1077|SM1137|SM1197|SM1257|SM1317
1098 1098  
1099 1099  Specify the output pulse duty ratio in (s1). (The setting range is 0 to 1000)
1100 1100  
1101 -Specify the output pulse period in (s2). (The setting range is 1 to 32,767)
1101 +Specify the output pulse period in (s2). (The setting range is 1 to 32,767ms)
1102 1102  
1103 1103  Specify the device that outputs the pulse in (d). Only Y devices with positioning parameters can be specified.
1104 1104  
... ... @@ -1106,7 +1106,7 @@
1106 1106  
1107 1107  High level time (ms) = set cycle time (ms) x duty cycle / 1000
1108 1108  
1109 -Low level time (ms) = period (ms) - high level time (ms)
1109 +Low level time (ms) = period (ms)-high level time (ms)
1110 1110  
1111 1111  That is, the period is set to 100ms, if the duty cycle is set to 500, the output is high for 50ms and low for 50ms; if the duty cycle is set to 100, the output is high for 10ms and low for 90ms; If it is set to 900, the output will be high for 90ms and low for 10ms. The fractional part of the calculated pulse output time is output by rounding.
1112 1112  
... ... @@ -1124,13 +1124,9 @@
1124 1124  • Percentage mode flag
1125 1125  
1126 1126  (% class="table-bordered" %)
1127 -|=(% scope="row" %)**Output shaft**|**Y0**|**Y1**|**Y2**|**Y3**|**Y4**|**Y5**|**Y6**|**Y7**
1128 -|=Permil mode sign|SM897|SM957|SM1017|SM1077|SM1137|SM1197|SM1257|SM1317
1127 +|**Output shaft**|**Y0**|**Y1**|**Y2**|**Y3**|**Y4**|**Y5**|**Y6**|**Y7**
1128 +|Percentage Mode Sign|SM897|SM957|SM1017|SM1077|SM1137|SM1197|SM1257|SM1317
1129 1129  
1130 -|=(% scope="row" %)**Output shaft**|**Y0**|**Y1**|**Y2**|**Y3**|**Y4**|**Y5**|**Y6**|**Y7**
1131 -|=PWM unit selection|SM902|SM962|SM1022|SM1082|SM1142|SM1202|SM1262|SM1322
1132 -|(% colspan="9" scope="row" %)Take Y0 as an example: When SM902 is OFF, the Y0 PWM output cycle and pulse width are in "ms"; When SM902 is ON, the Y0 PWM output cycle and pulse width are in "us".
1133 -
1134 1134  **Error code**
1135 1135  
1136 1136  (% class="table-bordered" %)
... ... @@ -1144,12 +1144,12 @@
1144 1144  The period is set to 100ms, if the duty cycle is set to 500, the output is high for 50ms and low for 50ms; if the duty cycle is set to 100, the output is high for 10ms and low for 90ms; duty cycle If it is set to 900, then the output is high for 90ms and low for 10ms;
1145 1145  
1146 1146  (% style="text-align:center" %)
1147 -[[image:08_html_ace0b444319fb8c4.png||height="155" width="905" class="img-thumbnail"]]
1143 +[[image:08_html_ace0b444319fb8c4.png||class="img-thumbnail"]]
1148 1148  
1149 1149  The waveform diagram is as follows, the period is 300ms, the duty cycle is 100, and the output is 30ms high level and 270ms low level:
1150 1150  
1151 1151  (% style="text-align:center" %)
1152 -[[image:08_html_13acf8747e8703ff.png||height="221" width="625" class="img-thumbnail"]]
1148 +[[image:08_html_13acf8747e8703ff.png||class="img-thumbnail"]]
1153 1153  
1154 1154  = **G90G01 Absolute position line interpolation instruction** =
1155 1155