PWM instruction
Title
Question
Madam/Sir,
What will happen if we press both the NO switches viz. NO1 & NO2 at a time or say in simulation mode keep booth the states of XSwitch1 and XSwitch2 as 1.
Also please can you explain what we are doing physically in changing speed by PWM by changing duty cycle? Here practically just changing the switches say pressing the switches NO1 & NO2 one by one to get two speeds at two different duty cycles.
You may ask me to learn it from internet but I want to learn it from you in brief via your notes because as a professor you know what's the level of student according to the subject also while searching about it on Internet will consume ahuge time but your Theory about the process will be simple, specific and will consume less time to learn it.
OpenPLC-with-LDmicro PWM-Instruction 04-05 min 40-50 sec
Answers:
Ideally it is recommended not to change the states of Xswitch1 and Xswitch2. Because it would mean we are trying to assign two different values to the variable dc, which is not possible practically.
The PWM pin of the microcontroller usually outputs a pulse with the duty cycle mentioned. Therefore whichever is being connected to the PWM pin (be it an LED or fan) would receive that pulse signal generated by PWM as an input.
The PWM pin of the microcontroller usually outputs a pulse with the duty cycle mentioned. Therefore whichever is being connected to the PWM pin (be it an LED or fan) would receive that pulse signal generated by PWM as an input.
Login to add comment