Set & Reset in Siemens PLC (Simatic Step7)

preview_player
Показать описание
To program the "set" command, I first place a "normally open" contact.
Then from "bit logic", I put the command "set" on the right side.
I address the "normally open" contact "I0.0" and the "set" output "Q-0-dot-0".
In this video, I teach "set" and "reset" commands in "Simatic Step 7" software, owned by Siemens PLCs.
To program the "reset" command in "network 2", I first place a "normally open" contact.
Then from "bit logic", I put the command "reset" on the right side.
I address the "normally open" contact "I-0-dot-1" and the "Reset" output "Q0.0".
I save, download and monitor.
I simulate.
As you can see, if I turn on the first "normally open" contact (even for a short moment), the output turns on permanently. And only by turning on the second "normally open" contact, the output is turned off.
If I turn on both contacts at the same time, the output turns off.
Because if there are two conflicting commands, the priority is the last command.
And in this program, the last command is "Reset" (or off).
Look at the STL language of this program.
Look at the FBD language of this program.
If you like this video, like it and subscribe to PLC channels.
Рекомендации по теме