webnovel

Using r instruction to program the control of the positive and negative rotation of the motor

2026-07-01 22:15
2026-07-02 02:32

The following is the general idea of programming the motor reverse rotation control based on the S (set) and R (reset) commands: ##I. I/O allocation 1. ** Entering Device ** - A stop button (such as I0.0) is required to stop the operation of the motor. - Forward rotation button (for example, I0.1). When this button is pressed, the motor will start in the forward direction. - Reverse button (e.g. I0.2), press this button to start the motor in reverse. 2. ** Outputting Device ** - Forward Contactor (e.g. Q0.1), used to control the opening and closing of the forward circuit of the motor. - Reverse Contactor (such as Q0.2), which controls the connection and interruption of the motor reverse circuit. ##2. Program logic 1. ** Forward Rotation Control Logics ** - When the Forward Rotation button (I0.1) is pressed, use the S command to set the Forward Rotation Contactor (Q0.1), and the motor starts to rotate forward. At the same time, in order to prevent the forward and reverse rotation from running at the same time, it was necessary to use interlocked logic. That is, when Q0.1 is set, the logic of the normally closed contact Q0.1 is inverted and then connected in series with the reversal control logic to ensure that the reversal contactors (Q0.2) cannot be energized. - When the stop button (I0.0) is pressed, use the R command to reset the forward rotating contactors (Q0.1), and the motor stops rotating forward. 2. ** Reverse control logic ** - When the reverse button (I0.2) is pressed, use the S command to set the reversing contactors (Q0.2), and the motor will reverse. Similarly, when Q0.2 is set, the logic of the normally closed contact Q0.2 is inverted and connected in series with the forward rotation control logic to prevent the forward rotation contactors (Q0.1) from being energized. - When the stop button (I0.0) is pressed, the reversing contactors (Q0.2) are reset through the R command, and the motor stops reversing. The following is a simple ladder diagram example (described in a programming style similar to the ladder diagram of a PC): ###(I) Forward Rotation |--I0.1 (Forward Turn button)--|S|--Q0.1 (Forward Contactor)--| |--Q0.1 (normally closed)--||--I0.2 (Reverse button)--|(Interlocking logic) |--I0.0 (stop button)--|R|--Q0.1 (Forward Contactor)--| ###(2) Reverse Part |--I0.2 (Reverse button)--|S|--Q0.2 (Reverse Contactor)--| |--Q0.2 (normally closed)--||--I0.1 (Forward Turn button)--|(Interlocking logic) |--I0.0 (stop button)--|R|--Q0.2 (Reverse Contactor)--| In this way, the positive and negative rotation control programming of the motor could be realized through the S and R instructions and the interlocked logic. In actual programming, it was also necessary to consider the protection mechanism of the motor, such as overload protection, and make appropriate adjustments according to the specific model of the PC and the programming environment. Read more exciting novels for free

Latest Questions

What are the medicines to cure blisters of the foot?

There were two types of medicines to cure blisters of athlete's foot: external and oral. Topical drugs can choose a cream or water agent with less irritation, such as amorolfine cream, maconidol cream, Ketoconidol cream, Econidol cream, 3% Boric acid solution, terbinafine cream, maconidol cream, amorolfine liniments, etc. If there is erosion and exudate, you can apply ravenule and Boric acid solution wet compress. When the blisters are large and the local treatment is not good, you can consider taking oral antimycotics for systematic treatment. Commonly used drugs include itraconazole,terbinafine, terbinafine tablets, etc. In addition, it could also be used in conjunction with B vitamins, vitamins C, etc. to assist in treatment and improve the skin's ability to resist fungus infection. It should be noted that the above drugs should be used according to the doctor's advice. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:58

The names of the main characters in entertainment novels are all about girls

The following were some names of female protagonists in entertainment novels that appeared in the reference materials: Ruan Yunqiao, Su Shiyu, Xie Qiu. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:57

The Mermaid Princess

The story of the mermaid princess in Hans Christian Andersen's fairy tales was a more classic version. The little mermaid princess lived at the bottom of the sea. She had the love of her family. She would often sneak out to the sea to play and sing. Once, the prince fell into the sea and the little mermaid saved him. However, when the prince woke up and saw the girl who had come to save him, he thought that the girl had saved him and decided to get engaged to her. In order to be with the prince, the little mermaid begged the witch to turn herself into a human. The witch took away her beautiful voice and told her that it would be painful to walk after her tail became a foot. If the prince married someone else, she would turn into a bubble and die. The little mermaid, who had turned into a human, came to the prince. The prince and the people in the palace loved her very much, but she suffered great pain with every step she took, and she could not say that she was the one who saved the prince. In the end, the prince still wanted to marry the girl. The little mermaid's sisters gave her a sword and asked her to kill the prince to save herself, but the little mermaid could not do it and eventually turned into a bubble. There were also some adapted versions. For example, in some versions, the little mermaid princess became smarter and witty. When faced with Princess Lola who wanted to annex the prince's country, she cleverly used the witch to learn about Princess Lola's ambitions. Although she could not speak, she told the prince the truth with the help of paper and pen. In the end, she successfully saved herself and married the prince. There were also some modern versions that incorporated modern elements. For example, in the story versions of the late 21st century, due to the deterioration of the Earth's environment, the mermaid race at the bottom of the sea was affected by environmental pollution. The mermaid princess escaped to the land to take refuge. At the same time, there were scenes such as Prime Minister Turtle plotting a coup at the bottom of the sea. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:57

What are the names of Helan's novels?

The novels written by the author named He Lan included " Ghost Taoist Master "," Heart Fire ", and " Only You ";;; The novel " He Lan Jue and Liao Minzhi " written by the author named Xiu Tu Cheng; and the novel " The Demon Concubine of a Fallen Country, I Really Didn't Want to Be a Catastrophe " written by Heavenly Silkworm Trendy Bean had a character named Helan Yin Sangning. In addition, there was also a character named He Lan in Xuan Se's novel and manga,"Mute House," but it was not mentioned whether it was a novel of the same name. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:56

The anime where the female lead picks up trash

The following were some animes where the female lead picked up trash: - In " The Weakest Tamer Begins a Trash Picking Journey ", the female protagonist Abby's skill was a " beast tamer " who could tame monsters, but her level was the weakest " zero star ". After being expelled from the village, she started an adventure while picking up garbage in the garbage dump. She earned money by catching wild rats and ate the bread she dreamed of. In the process of picking up garbage, she used the special abilities of monsters and the memories of her previous life to overcome many difficulties. - There was also an anime where the female lead was Nana. She was born in an ordinary family and lived in a poor city full of garbage and serious environmental pollution. However, she did not give up. She carefully studied all kinds of waste and found treasures that were ignored or underestimated. Then, she started a counterattack in the process of picking up garbage. From waste to wealth, she became a queen of wealth. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:56

What kind of unit is the Electronic Surveillance Center?

The electronic monitoring center is a subordinate institution of the Discipline Inspection and Supervision Committee. For example, the Qidong City Electronic Supervision Center is a subordinate institution of the Municipal Discipline Inspection and Supervision Committee. The Jiangyang District Comprehensive Electronic Supervision Center of Luzhou City is a public welfare unit. The superior unit is the Jiangyang District Discipline Inspection and Supervision Committee of Luzhou City. Its main responsibilities include formulating the operation plan of the comprehensive electronic monitoring system, researching and refining the working rules of the electronic monitoring system to provide system guarantee for the effective operation of the electronic monitoring system platform, using the comprehensive electronic monitoring system to carry out full-process monitoring, supervision, supervision, and comprehensive analysis of the operation of the power network, providing a basis for the formulation and adjustment of the policy to improve the business environment, and putting forward suggestions for the leadership's decision-making. Fulfill the supervision duties, supervise and inspect the implementation of the work requirements of each unit, strengthen the application of the results and incorporate them into the annual comprehensive performance appraisal, and report them in time. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:55

Shandong Mantou

There were many types of Shandong steamed buns. The following were some common ingredients and methods: - [Shandong Hard Noodle Mantou: The raw materials include 2500 grams of flour, 20 grams of edible soda, and 100 grams of flour fertilizer.] - ** Shandong Big Mantou (One Stirring Method, Old Noodle Fermented)**: 500 grams of Old Noodles, 500 grams of medium flour, 125 grams of water. The method was to first put the old flour and flour into a container, pour water, knead it into a smooth dough with both hands, then relax for 5 minutes and start shaping, such as kneading it into long strips, cutting it into 8 equal portions, or directly kneading it into 8 equal portions of dough. Then, the smooth dough was pressed out, the smooth side rolled inward and pressed out air, and then the smooth dough was held in the hand to converge and stick into a ball shape. Then, it was placed on the workbench and kneaded into a cone at the bottom. It was erected on the workbench and kneaded until it was firm and smooth. After shaping, it was shaped into a towering circle. He placed it on the anti-stick wax paper and placed it in a steamer. Finally, it fermented for 25 - 30 minutes. Then, he poured cold water into the pot and steamed it for about 23 minutes. - ** Shandong Big Mantou (Common Method)**: 300 grams of flour, 3.5 grams of yeast, 170 grams of water, 3.5 grams of sugar, 15 grams of milk powder. First, add water to the ingredients and stir them into a fluffy dough. Knead them into a smooth dough and wake them up to 1.5 times the size. Then, divide them into equal portions and knead them into shape. Put them in the steamer and wake them up again for ten minutes. Steam them over high heat for about fifteen minutes. Then, let them stew for two to three minutes before taking them out of the pot. - ** Super Shandong Big Mantou **: 1500 grams of flour, 200 - 300 grams of flour used for making dough, 750 grams of clear water, 15 grams of dry yeast. First, stir and melt the yeast in clear water, then pour it into the flour to make a dough. Fermenting at room temperature for 60 - 90 minutes (adjusted according to room temperature and season) until it is 2 - 2.5 times the size of the original dough. After the first fermentation, move it to the panel and knead the dough. Add the dry flour in 4 - 5 times. After kneading, judge according to the degree of the flour, and reach the "forehead hardness". The dough was weighed and divided into 400 - 500 grams of dough per piece. The dough was kneaded again to form a raw steamed bun embryo. The dough was placed in a steamer with a wet cage cloth at the bottom. The water was boiled in the pot until there was steam coming out. The steamed bun was placed in the steamer to ferment for 10 minutes and then steamed for 30 minutes. After steaming, the fire was stopped and the lid was placed for 1 minute. - ** Shandong Diced Meat Mantou **: 1000 grams of flour, 12 grams of edible soda, 500 grams of pork belly, 300 grams of onions, 50 grams of ginger, appropriate amount of refined salt and gourmet powder, 200 grams of soy sauce, 75 grams of sesame oil. While waiting for the TV series, he could also read the exciting content related to this site!

1 answer
2026-10-01 15:55

Elementary school mathematics second grade second volume corner understanding

In the second volume of the second grade of elementary school mathematics, the understanding of angles included the following contents: 1. ** The definition and composition of an angle ** - An angle was a geometric figure formed by one or more rays intersecting at a common end point. This common end point was the apex of the angle. The rays that formed the angle were called the sides of the angle. The angle was usually represented by the symbol "". For example, ABC represented the angle ABC. A corner had one apex and two sides. 2. ** Horn classification ** - ** Right angle **: An angle equal to 90 degrees is a right angle. One could use the right angle on a triangular ruler to compare to determine whether a corner was a right angle. - ** Sharp angle **: An angle less than 90 degrees is an acute angle. For example, when the hour hand is at 10, 20, 10, or 110, the angle formed by the minute hand and the hour hand is an acute angle. - ** Obtuse angle **: An angle greater than 90 degrees but less than 180 degrees is an obtuse angle. For example, when the hour hand is at 40, 50, 70, or 80 degrees, the angle formed by the minute hand and the hour hand is an obtuse angle. 3. ** Comparing the sizes of the horns ** - The size of the angle depended on the angle between the two rays. The larger the angle, the larger the angle. When comparing the size of an angle, one could use the overlapping method. First, the two vertexes were aligned, and then one side of the two angles overlapped. Looking at the position of the other side, the corner of the other side on the outside was large, the corner of the other side was the same size, and the corner of the other side on the inside was small. 4. ** Angular measurement and tools ** - The most basic unit of measurement for angles was degrees, which divided a circle into 360 degrees. The tool used to measure the angle was a protractor. The protractor had two inner and outer scale rings, corresponding to 0 degrees and 180 degrees respectively. When using a protractor to measure an angle, the center point of the protractor should be coincided with the apex of the angle, and the 0 degree scale line should be coincided with one side of the angle. Eyes should be aimed at the inner scale circle of the protractor, and the corresponding degree of the other side should be found, which is the size of the angle. At the same time, attention should be paid to the accuracy. Try to choose a suitable protractor or measure the average value many times. 5. ** A corner in life ** - On the clock, the minute hand and hour hand formed different angles at different times. For example, at 30 or 90 hours, the angle formed by the minute hand and hour hand was a right angle; at 3:30 in the afternoon, the angle formed by the minute hand and hour hand was a right angle. 6. ** Corner related teaching activities ** - Students could learn how to recognize and compare the sizes of the horns through folding paper. For example, the teacher would ask the students to prepare a square piece of paper before class. After class, the teacher would first use the pictures in the class to find the corner with the child, and then find the corner in the classroom. When the students had an understanding of the corner, the students would fold a corner themselves, and then try to compare whose corner was bigger. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-10-01 15:55

Harry Potter Ranking of Good People

There are many characters in the Harry Potter series who are considered good people. Here are some of the main ones: 1. ** Albus Dumbledore ** He is knowledgeable, powerful, and Headmaster of Hogwarts. He guided and protected Harry Potter, was the only person Voldemort feared, and devoted his life to fighting against the Dark Arts. Although he had his own complicated past, he always stood on the side of justice. 2. Harry Potter: The protagonist of the story, brave, kind, and full of justice. He had saved the wizarding world by fighting Voldemort and his Death Eaters many times. 3. ** Hermione Granger **: Smart, brave and kind, a good friend of Harry Potter, who played an important role in the fight against the Dark Arts. 4. ** Ron Weasley **: Harry Potter's best friend, from a pure wizarding family, although occasionally jealous and other small emotions, but always accompanied Harry Potter against black magic, showing bravery in battle. 5. ** Severus Snape **: On the surface, he was a strict and even cold Potions professor, but in fact, he was a spy behind enemy lines. He loved Harry Potter's mother, Lily, and made many secret contributions to protect Harry Potter and fight against Voldemort. Although the way he did it was not understood, he was undoubtedly a good person. 6. Alastor Moody, nicknamed Mad-Eye, was an outstanding Auror of the Ministry of Magic. He was one of the top figures among the Auror and the earliest member of the Order of the Phoenix. He had fought against Dark Magic many times and had outstanding achievements. 7. ** Professor Flis **: Professor at Hogwarts, fought against Voldemort in the First and Second Wizarding Wars, and defeated many Death Eaters at the Battle of Hogwarts. 8. ** Sirius Black **: Harry Potter's godfather. He bravely fought against Voldemort and his Death Eaters, and always stood on the side of justice even when he was wronged. 9. ** Luna Lovegood **: Harry Potter's friend, who, though a bit of a maverick, has shown bravery and kindness in the fight against the Dark Arts. Harry Potter and the Chamber of Secrets is not enough. Everyone is welcome to click to read the novel!

1 answer
2026-10-01 15:55

White moonlight dressed as six big shots

From the information provided, it was known that there was a short story in the school essay that mentioned the system mission as " White Moonlight, who became the villain of six villains at the same time ". However, there was no more detailed description of the plot, so it was impossible to know the specific story content and other related information.

1 answer
2026-10-01 15:54
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z