Creating blocking (also known as interlocking or permissive logic) in ladder logic within PCS 7 (Siemens Process Control System 7) is a common requirement for ensuring safe and reliable process operation. Below, I’ll guide you through the general steps and provide an example of how to implement blocking/interlocking logic using ladder logic in PCS 7.
1. Understanding Blocking/Interlocking
Blocking in process automation typically means preventing an action (e.g., starting a pump) unless certain conditions (permissives) are met. For example, a pump should not start unless a valve is open and a tank level is above a minimum.
2. PCS 7 and Ladder Logic
PCS 7 uses CFC (Continuous Function Chart) and SFC (Sequential Function Chart) as its main programming languages, but it also supports LAD (Ladder Logic) and FBD (Function Block Diagram) via the SIMATIC Manager/STEP 7 environment.
3. Example Scenario
Requirement:
Start a Pump only if:
- The Valve is open (
Valve_Open signal is TRUE)
- The Tank Level is above minimum (
Level_OK signal is TRUE)
- There is No Fault (
No_Fault signal is TRUE)
4. Ladder Logic Implementation
A. Inputs and Outputs
-
Inputs:
Valve_Open (BOOL)
Level_OK (BOOL)
No_Fault (BOOL)
Start_Command (BOOL)
-
Output:
B. Ladder Logic Diagram
Here’s how you would represent this in ladder logic:
|----[ ]----[ ]----[ ]----[ ]----------------( )----|
| Valve_Open Level_OK No_Fault Start_Command Pump_Run
Explanation:
- All four conditions must be TRUE for
Pump_Run to be energized.
- If any condition is FALSE, the pump will not start (blocked).
C. PCS 7 Implementation Steps
- Open SIMATIC Manager and your PCS 7 project.
- Navigate to the PLC program (usually under "Program Blocks").
- Insert a new LAD block (OB, FB, or FC as appropriate).
- Add contacts for each permissive (
Valve_Open, Level_OK, No_Fault, Start_Command) in series.
- Add a coil for the output (
Pump_Run).
- Download the logic to your PLC.
5. Example in PCS 7 LAD (STEP 7)
|----[ ]----[ ]----[ ]----[ ]----------------( )----|
| Valve_Open Level_OK No_Fault Start_Command Pump_Run
[ ] = Normally Open Contact (TRUE when signal is TRUE)
( ) = Coil (output)
6. Tips for PCS 7
- Use symbolic names for clarity.
- Document each rung for future reference.
- For more complex interlocks, use Function Blocks (FBs) or CFC for modularity.
- For diagnostics, add status bits or alarms if a permissive is not met.
7. Advanced: Using CFC for Interlocks
In PCS 7, you can also use CFC to create interlocks by connecting the output of AND blocks (AND gates) to the enable input of your actuator block (e.g., a pump).
Summary Table
| Condition | Signal | Type |
|---|
| Valve Open | Valve_Open | BOOL |
| Level OK | Level_OK | BOOL |
| No Fault | No_Fault | BOOL |
| Start Command | Start_Command | BOOL |
| Pump Run | Pump_Run | BOOL |
Conclusion
Blocking/interlocking in PCS 7 using ladder logic is straightforward: use series contacts for each permissive condition, and the output coil for the final action. This ensures the action only occurs when all conditions are met.
If you need a sample PCS 7 project file or a screenshot, let me know your PCS 7 version and I can provide more tailored guidance!