In PLC, setting is a way to change the input through external force, thereby mapping the input to the output; reset is to change the input value to the initial state when power is turned on through the program.
Simply speaking, in terms of function, setting means making the coil 1, and resetting means making the coil 0. For example, the output Y0 has no output at first. After it is set, it outputs 1, and then it becomes 0 again after it is reset.
The relationship between set and reset:
The two of them appear in pairs 99% of the time every time they are used, as long as we If set is used in one place in the program, reset will be used in another place in the program. So their relationship is always that you wait for me and I wait for you, coexisting at the same time.
Related recommendations: "FAQ"
Extended information:
PLC reset reset program setting Bit execution steps:
1. When the external normally open button is not pressed, I0.0 is not turned on, and the Q0.1 setting coil has no output.
2. When the external normally open button is pressed, I0.0 is turned on, and the Q0.1 setting coil has output.
3. When the external normally open button is released, I0.0 is disconnected and not connected. Although I0.0 has been disconnected and not connected, the Q0.1 setting coil still has output, which is achieved. Self-locking function. It will not output until there is a reset signal. This is the characteristic of the set operation instruction.
Reset execution steps of PLC set reset program:
1. When the external normally closed button is not pressed, I0.5 is not turned on, and the Q0.1 reset coil has no output.
2. When the external normally closed button is pressed, I0.5 is turned on, and the Q0.1 reset coil has output. It will reset the position coil Q0.1, so that Q0.1 has no output.
3. Even if the external normally closed button is released and I0.5 is no longer turned on, the reset coil Q0.1 is still fixed in the reset state. Q0.1 has no output and realizes the stop function.
The above is the detailed content of What is the set reset command?. For more information, please follow other related articles on the PHP Chinese website!