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

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

2026-07-01 14:15
1 answer

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

Are girls control teen boy stories positive or negative?

In general, it depends on the context and how the control is exercised. If it's based on mutual respect and the goal is to achieve something positive together, then it's positive. But if it's about one - sided domination, it's negative.

1 answer
2024-11-29 15:27

Out-of-Control Program

"Out of Control" tells the story of a child who chooses to run away after his mother paved the way for him. Originally, it was supposed to be a happy ending when the grandmother coincidentally found the child when she went to the ranch to cut sheep. The child returned to his mother's side and grew up happily. However, in fact, the nightmare began after the child left. The author of the book had many thoughts, such as wanting to dive into the sea and become a skeleton at the bottom of the sea, lamenting that it would be great if reality could be as disillusioned as writing on the sand, and also asking how to delete his own history. The table of contents included chapters such as the foreword and ending, going missing, and going around in circles, which unfolded the story from different angles. There were also plots in the book such as the koala realizing that the sheep was no longer under control, and the situation and plot development in the story were expressed through figurines such as the truck losing control. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>

1 answer
2026-01-16 16:31

How to create caricatures using a program?

Creating caricatures using a program can be fun. Begin by researching and choosing a user-friendly program. Once you have it, start with simple shapes and build up the features. Don't be afraid to experiment and make mistakes. With patience and practice, you'll improve.

1 answer
2025-05-14 18:01

Positive and negative lines

Positive and negative lines refer to a plot that often appears in novels, where the characters express the opposite meaning to achieve a special effect or plot development. In some novels, the characters would say some "serious words" to express their beliefs and values. These words were usually very official, rigorous, and convincing. However, in other novels, the characters will say some "irony" to express their true thoughts. These irony are usually very ironic, humorous and can attract the attention of the readers. Positive and negative lines were one of the common plots in novels. It could increase the interest and expressiveness of the story, and at the same time, it could deepen the reader's understanding of the characters and the story.

1 answer
2024-09-12 16:32

Positive and negative crosstalk

Positive and negative crosstalk was a form of crosstalk. In this kind of crosstalk performance, one actor would say a sentence, and the other actor would have to reverse the order of the words in the sentence to respond. For example, if one party said " my table ", the other party would say " my child table ". This required the actor to have a good ability to adapt, organize language, and grasp the rhythm of the crosstalk. It was a part of the basic skills of crosstalk actors in speaking, learning, teasing, and singing. It could also display the artistic charm of crosstalk language.

1 answer
2026-06-18 00:20

Ten Pithy Words of Numerical-Control Program

The following are some of the chants for numerical control programming: 1. Planar processing, flat bottom priority, less ball cutter selection, saving time key. 2. Open the thick broadsword, the remaining material knife, the remaining amount is the same, and then use the light knife. 3. The bronze workers were rough, the alloy throwing knives were used, and the white steel was rarely used. The speed of rotation was not high. 4. Copper workers clean the angle, first check the R angle, the size of the ball knife, according to the needs of the selection. 5. Calibrating the surface of the table, the four corners of the gong are flat, the slope is rounded, and the inclined knife is used for processing. 6. If the work piece is too high, open it in layers and choose a reasonable route with a long knife and a short knife. 7. To be able to go with the finisher instead of the ROUGH, WCut programming, this was the way of thinking. 8. Knife path programming was mainly simple. It circled around the same height and walked as little as possible. 9. Program the tolerance, set it reasonably, drive the rough and fine car, and weigh the difference. 10. The shape of the knife is smooth, rough first and then fine, the work piece is too high, the edge first and then the bottom. " When a programmer meets a psychologist " is equally exciting. Everyone is welcome to click to read it!

1 answer
2026-02-11 07:19

How to create an animated caricature using a program?

You can start by choosing a suitable animation software like Adobe Animate or Toon Boom Harmony. Then, learn the basic tools and features of the software to draw and animate your caricature.

2 answers
2025-04-04 06:37

How to convert photos into caricatures using a program?

A good way to do it is by using online tools like Canva. Upload your photo, select the caricature effect, and adjust the settings to your liking. It's quite straightforward and doesn't require any advanced skills.

1 answer
2025-05-13 16:06

What are the benefits of using a program that writes stories?

One benefit is organization. These programs often have tools to manage characters, plotlines, and settings. For example, you can create character profiles with details like appearance and personality traits.

2 answers
2024-11-16 02:59
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