Changes for page 3.5.03 MC_PWM

Last modified by xingzhi lin on 2025/12/03 23:06

From version 2.1
edited by xingzhi lin
on 2025/12/03 23:05
Change comment: There is no comment for this version
To version 4.1
edited by xingzhi lin
on 2025/12/03 23:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,7 +3,7 @@
3 3  |**Instruction**|(% colspan="2" %)MC_PWM (FB)
4 4  |**Name**|(% colspan="2" %)Pulse width modulation
5 5  |(% colspan="2" %)**Graphical performance**|**ST performance**
6 -|(% colspan="2" %)[[image:file:///C:/Users/111/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]](((
6 +|(% colspan="2" %)(((
7 7  (% style="text-align:center" %)
8 8  [[image:1764774334496-387.png]]
9 9  )))|(((
... ... @@ -59,6 +59,17 @@
59 59  [[image:1764774322875-747.png]]
60 60  
61 61  
62 +== **Error description** ==
62 62  
64 +ErrorID in MC_ERROR describes the cause of the corresponding error.
63 63  
66 +|**Error ID**|**Initial value**|**Description**
67 +|0|MC_NO_ERROR|No error
68 +|5|MC_PWM_PORT_ERROR|Port input error
69 +|6|MC_PWM_PORT_WAS_RUN|The corresponding port is running
70 +|7|MC_PWM_PERIOD_LESS_THAN_WIDTH|The pulse width is smaller than the high level pulse width
71 +|8|MC_PWM_PORT_WASNT_ENABLE|Port is not enabled
72 +
73 +
74 +
64 64