In my 'STL Basics - Bit Logic Operations | Part1 | ' video we have seen how to use the bit logic operations in the STL. In this video, the branching of bit logic operations is explained by using the relay logic and simulation as well. By using the branching, we can minimize the size of PLC code and simplify the complex logic which includes plenty of AND (NO contact) and Negated AND (NC contact).
Please see my video on Bit Logic Operations (link given below) before using the branching options.
0:00 - Intro and Objective
0:28 - Defining the logic states
2:50 - AND logic operation with branching
5:56 - Negated AND Logic operation with branching
8:06 - OR Logic operation with branching
10:06 - Negated OR Logic operation with branching
12:17 - EXCLUSIVE OR Logic operation with branching
14:20 - Negated EXCLUSIVE OR Logic operation with branching
16:42 - Close branch
Also see my other videos mentioned below which can help you to write PLC code in Siemens TIA Portal.
STL Basics - Bit Logic Operations | Part1 | - TIA Portal
https://youtu.be/RHmeAqQG2d0
Creating ProDiag Function Block - TIA Portal
https://youtu.be/p1HtvuHAuPk
ProDiag Overview and Supervision Tags - TIA Portal
https://youtu.be/AXCEixghV3E
Calculating Time between two 'Time-of-day' values - TIA Portal
https://youtu.be/db5MreWgwFQ
Extract Time of day from Local Time - TIA Portal
https://youtu.be/ySxvlwuqtYs