TABC Instrumentation training

Binary Logic Diagram

Fundamentals of Instrumentation · 20 concepts

Three Documentation Drawings: Functional Diagram, P&ID, and Hardware Drawing

A complete description of a process requires three drawings: a process functional diagram (a site-specific binary logic diagram), which shows the control strategy; a P&ID, which shows equipment and instruments; and a hardware or wiring drawing. The P&ID usually does not include start and stop switches or logic details, and understanding the logic diagram does not require circuit knowledge.

To fully understand a process, you usually need three drawings together: the functional diagram shows the control strategy; the P&ID shows the equipment and instrumentation; and the hardware drawing shows connection and wiring details. Each answers a different question, and none replaces the others.

In everyday life

Suppose you want to explain your home coffee maker to someone else. One sheet shows the conditions under which the machine starts or stops, another shows components such as the reservoir and pump, and a third drawing shows how the wires and switches are connected.

On the job

For a reactor backup vacuum pump, the functional diagram shows the pump's start and stop commands and control logic. The P&ID shows the pump, vacuum vessel, and associated instruments, but usually does not include the start and stop switches or logic details; the hardware drawing specifies the wiring and electrical connections.

Step by step

  1. First, read the functional diagram to understand which conditions cause the equipment to start, continue running, or stop.
  2. Next, review the P&ID to identify the locations of equipment, piping, and measurement and control instruments.
  3. Then, refer to the hardware drawing to clarify the wiring paths and the connections between instruments and the control system.
  4. By considering all three drawings together, you can fully understand the process behavior, the equipment involved, and its electrical implementation.

Key rule: Look for the logic in the functional diagram, the equipment and instruments in the P&ID, and the connections in the hardware drawing.

Logic 1 and 0, Active and Inactive

In a logic diagram, each signal has only two states: 1 (true, active) and 0 (false, inactive). Whether 1 means a closed or open contact, or a high or low voltage, is shown on the wiring diagram. A fixed-speed pump is either on or off, but saying a control valve is “not closed” does not mean it is fully open.

In a binary logic diagram, each signal has only two states: 1 means the condition is true or active, and 0 means it is false or inactive. These numbers alone do not indicate whether a contact is open or closed, or whether the voltage is high or low; you must determine that from the wiring diagram.

In everyday life

Consider a light switch: in simple logic, 1 means a request to turn the light on, and 0 means a request to turn it off. These two states describe whether the request is on or off, not the exact configuration of the contact inside the switch.

On the job

For a fixed-speed pump, a logic signal of 1 may be the command to run the pump, and 0 the command to stop it; the pump can only be on or off in response to this command. For a control valve, however, “not closed” only tells you that the valve is not fully closed; it does not specify that it is fully open. To understand the physical state represented by the signal, you must also refer to the wiring diagram.

Step by step

  1. Read the input signal in the diagram as 1 or 0.
  2. Check what 1 and 0 mean in the diagram’s logic: an active or inactive condition.
  3. Refer to the wiring diagram to determine the contact state or voltage level.
  4. Interpret the output according to the equipment: a pump is on or off, but a valve may also be in an intermediate position.

Key rule: First read 1 and 0 as logic states; refer to the wiring diagram to determine the contact and voltage states.

AND Gate

The AND output is active only when all inputs are active; for example, if both PSH and TSH are 1, the pump alarm becomes 1. It is used in start-permissive logic (all conditions ready); the two-input truth table has an output of 1 only when both inputs are 1.

An AND gate outputs 1 only when all inputs are 1; if even one input is 0, the output is 0. In a binary logic diagram, it is used for conditions such as “all start permissives are satisfied.”

In everyday life

Suppose that to leave the house, you must both take your key and lock the door. If either action has not been completed, the condition is not satisfied; with an AND gate, the output is active only when both inputs are active.

On the job

In the alarm logic for a pump, if both the PSH input and the TSH input are 1, the AND gate sets the pump alarm output to 1; if either one is 0, the output of this gate remains 0. In pump start-permissive logic, the “ready” inputs can also be connected to an AND gate so that the start command is issued only when all conditions are satisfied.

Step by step

  1. Define a binary input, 0 or 1, for each condition.
  2. Connect the inputs to an AND gate in the logic diagram.
  3. The gate checks whether all inputs are 1.
  4. If they are all 1, the output is 1; otherwise, the output remains 0.

Key rule: Rule of thumb: AND means “all conditions must agree”; a single 0 input is enough to make the output 0.

Worked example

For a pump alarm, the AND gate output is PSH AND TSH; if PSH=1 and TSH=0, what is the output?

  1. An AND gate outputs 1 only when both inputs are 1.
  2. One of the inputs, TSH, is 0.

Answer: The alarm output is 0. If PSH=1 and TSH=1, the output is 1.

OR Gate

The OR output is active when and as long as one or more inputs are active; for example, if PSH or TSH is 1, the alarm is 1. It is used in trip logic, where any one cause is sufficient.

An OR gate sets its output to 1 if at least one input is 1; the output remains active as long as at least one input is 1. In a binary logic diagram, it is used when any one of several causes is sufficient on its own to generate an alarm or trip.

In everyday life

Imagine a home alarm that activates when either the smoke detector or the gas detector gives an alarm; both do not have to activate at the same time. The alarm stays on as long as at least one detector is giving an alarm.

On the job

In a process unit, if the line high-pressure switch (PSH) or the equipment high-temperature switch (TSH) activates, the OR gate sets its output to 1 and the common alarm turns on. The alarm remains active as long as at least one of the two inputs is active.

Step by step

  1. The binary signals from PSH and TSH are fed into an OR gate in the logic diagram.
  2. The gate checks whether at least one input is 1.
  3. If one or both inputs are 1, the gate output becomes 1 and the alarm activates.
  4. When both inputs become 0, the gate output becomes 0 and the alarm deactivates.

Key rule: For an OR gate, one active input is sufficient; the output is inactive only when all inputs are inactive.

NOT, NAND, and NOR Gates

NOT inverts the input (1 to 0 and vice versa), and is also shown by a small bubble on the line; NAND means inverted AND (the output is 0 if both inputs are 1), and NOR means inverted OR (the output is 0 if either input is 1). Combining NOT with a timing function can confuse the reader, so use it with care.

A logic gate applies a simple rule to zero and one inputs: NOT inverts the input, NAND means AND with an inverted output, and NOR means OR with an inverted output. A small bubble on the line indicates inversion; read this inversion carefully when it is used alongside a timing function, because the sequence and timing of state changes can be confusing.

In everyday life

Suppose that in a house, a warning light is on when neither of two doors is open; this is the behavior of a NOR gate with two door sensors. If a light turns off only when both acknowledgment buttons are pressed, its behavior is NAND; NOT simply inverts the state of one sensor or button.

On the job

In the start logic for an auxiliary vacuum pump, the motor overload and high discharge temperature inputs can be connected to a NOR gate to produce the output “neither fault is active”; NOT also inverts the state of an individual fault input. If the start request and automatic mode conditions are fed into a NAND gate, the output is zero only when both conditions are one; therefore, this output must be labeled and assigned the correct function in the diagram.

Step by step

  1. For each input, specify exactly what zero and one represent; for example, the presence or absence of a fault.
  2. Apply the rule: NOT inverts the input, NAND inverts the AND output, and NOR inverts the OR output.
  3. Label the output clearly, for example, “no fault” or “start condition not met.”
  4. If a timing function is also present, check the input and output states separately before and after the delay, and avoid ambiguous combinations of symbols.

Key rule: A small bubble indicates inversion; for NAND, the output is 0 only when all inputs are 1, and for NOR, any input of 1 makes the output 0.

Worked example

For inputs A=1 and B=0, find the outputs of NOT A, NAND, and NOR.

  1. NOT A equals 0 because NOT inverts the input value.
  2. AND of A and B equals 0; therefore, NAND, the inversion of AND, equals 1.
  3. OR of A and B equals 1; therefore, NOR, the inversion of OR, equals 0.

Answer: NOT A=0, NAND(A,B)=1, and NOR(A,B)=0.

Conditional OR: Exactly, at Least, or at Most n Inputs

A conditional OR is active when a specified number of inputs are active: ≥2 means two or more (such as a 2-out-of-3 vote), =2 means exactly two (for example, run the feeder only when two and only two mills are in service), and other conditions include >, ≤, <, and ≠. The number and mathematical symbol are written inside the symbol.

A Conditional OR (Qualified OR) turns its output on based on the number of active inputs, not merely on whether at least one input is active. The symbol and number inside it specify how many inputs must be active; for example, “≥2” means two or more, and “=2” means exactly two.

In everyday life

Suppose three family members vote on which movie to watch. With a “≥2” condition, the choice is made if two or all three vote in favor; a “=2” condition is met only when exactly two vote in favor.

On the job

In a mill unit, the service-status inputs for three mills are connected to a Conditional OR symbol with the condition “=2,” and its output provides the feeder run command. Therefore, the feeder receives a command only when exactly two mills are in service; the output is not activated when one or all three mills are in service.

Step by step

  1. For each input, determine whether it is active or inactive from the equipment's binary signal.
  2. Connect the required inputs to the Conditional OR symbol in the logic diagram.
  3. Place the required symbol and number, such as “≥2” or “=2,” inside the symbol.
  4. Check different input combinations and confirm that the output is activated only for the required conditions.

Key rule: First count the active inputs, then compare that count with the condition inside the symbol.

Worked example

Three mills have binary inputs, and a Conditional OR output with the condition “=2” is connected to the feeder command. If the mill statuses are 1, 1, and 0, what is the output?

  1. Count the active inputs: two inputs are active.
  2. The symbol condition is “=2,” which means the output is activated only when exactly two inputs are active.

Answer: The output is active, and the feeder run command is issued.

Memory (SR Flip-Flop)

The memory is activated by input S (Set), and output C remains active even after S is deactivated, until input R (Reset) is activated; the second output, D, is always the inverse of C. A momentary pump start command using Set and a stop command using Reset are a common example.

An SR memory stores one bit: input S sets output C to 1, and C remains on even when S is deactivated. Input R clears the memory; output D is always the inverse of C.

In everyday life

Suppose you turn on a light with a button and then release the button; the light stays on. Pressing the off button turns the light off, and it stays off until you turn it on again.

On the job

In a pump binary logic diagram, the momentary START pushbutton is connected to the S input of the SR memory, and output C holds the pump run command. The STOP pushbutton is connected to input R; when activated, it sets C to 0. D is always the inverse of C.

Step by step

  1. The memory is in the off state, and C is 0.
  2. The momentary START command activates input S and sets C to 1.
  3. When START is released, the memory retains the on state and the pump run command remains active.
  4. The STOP command activates input R, sets C to 0, and sets D to 1.

Key rule: S turns the output on and holds the state; R turns it off and holds the new state until the next Set.

Set or Reset Dominance in a Memory

If S and R are active at the same time, it must be clear which one has priority: a circle around S indicates Set-dominant, and a circle around R indicates Reset-dominant. In safety logic, Reset (stop or trip) is usually dominant so the stop command always wins. In a basic latch with no priority, the outputs change state, which is not suitable for safety.

A Set/Reset latch retains its last state, but if the Set and Reset commands are active at the same time, it must be clear which one wins. A circle around S means Set is dominant, and a circle around R means Reset is dominant. In safety logic, Reset is usually made dominant so the stop or trip command remains the winner.

In everyday life

Suppose you press the on and off buttons of a fan with memory at exactly the same time. If switching off has priority, the fan stays off; if switching on has priority, it turns on. So it must be clear in advance which command is dominant.

On the job

For a standby vacuum pump, suppose the START command and the STOP command become active at the same time. If the pump command latch is Reset-dominant, the Reset input wins and the pump remains off through its starting circuit; this gives priority to stopping.

Step by step

  1. Identify input S as Set and input R as Reset on the diagram.
  2. Decide which command should win when both inputs are activated at the same time.
  3. Draw a circle around S if Set should win, or around R if Reset should win.
  4. Activate both inputs at the same time and check that the latch output changes according to the designed priority.

Key rule: In stop and trip logic, Reset is usually made dominant, so draw a circle around R.

Memory on Power Loss: Retentive or Non-Retentive

Memory behavior during loss of logic power must be identified by changing the letter S: retentive memory (for example, a standby pump continues to run until the end of the sequence after it has started, even if logic power is lost) or non-retentive memory (the pump remains off after power is restored); showing memory with a logic feedback signal is not recommended. Power loss can be shown as a binary input in the diagram.

Binary logic memory retains the previous state so that the output does not change automatically when inputs are switched on and off. The letter next to S specifies whether this state is retained or lost when logic power is lost.

In everyday life

Suppose you pause a game: if the device loses power and the game resumes from where you left off, the state was saved; if the game starts over, the previous state was lost. This is the difference between retaining and losing memory.

On the job

In the standby vacuum pump logic diagram, if a start command has been issued and the pump is required to run until the end of the process sequence despite a loss of logic power, its memory is specified as retentive, for example, MS. If the memory is non-retentive, the pump remains off after logic power is restored and must receive another start command, for example, LS.

Step by step

  1. Determine whether the block's memory should be lost, retained, or considered irrelevant when logic power is lost.
  2. Change the letter S according to the required behavior: LS for memory loss, MS for memory retention, and NS when this behavior is irrelevant.
  3. If power loss affects the sequence, show it as a binary input in the diagram.
  4. Test the loss and restoration of power as part of the logic test, and state the expected result explicitly.

Key rule: Rule of thumb: before selecting LS or MS, ask, “After logic power is restored, should the output resume its previous state or remain off?”

Start Delay (DI, Delay On)

With DI, the input must remain continuously active for a specified time before the output activates. The output deactivates immediately when the input becomes inactive. Example: If a high-pressure alarm remains active for 4 seconds, the auxiliary vacuum pump starts; when the alarm clears, the pump stops. This function is used to prevent trips caused by brief spikes.

Start Delay (DI) means the input must remain continuously active for the configured time before the output activates. When the input becomes inactive, the output deactivates immediately.

In everyday life

Imagine a light that turns on only when you hold its button for 4 seconds; a brief press will not turn it on. Once it is on, releasing the button turns it off immediately.

On the job

In the logic diagram for a process unit, if the high-pressure alarm (PAH) remains continuously active for 4 seconds, the DI output turns on the auxiliary vacuum pump. If the alarm clears, the output deactivates immediately and the pump stops.

Step by step

  1. The input, such as activation of a high-pressure alarm, is sent to the DI function.
  2. When the input activates, the timer starts.
  3. If the input remains continuously active until the configured time elapses, the output activates.
  4. If the input becomes inactive before the configured time elapses, the output does not activate; if the output is already active, it deactivates immediately.

Key rule: DI waits before turning on, but not before turning off.

Worked example

The DI time is 4 seconds. The input remains active for 3 seconds, then becomes active again and this time remains continuously active for 5 seconds. When does the output activate and deactivate?

  1. On the first occurrence, the input becomes inactive before reaching 4 seconds, so the output does not activate.
  2. On the second occurrence, the output activates when 4 continuous seconds have elapsed.
  3. The input becomes inactive at the fifth second; the output turns off immediately.

Answer: The output does not activate on the first occurrence. On the second occurrence, it activates after 4 seconds and deactivates immediately when the input becomes inactive at the fifth second.

Off-Delay (DT, Shutdown Delay)

With DT, the output turns on immediately when the input is activated and remains on for a set time after the input is deactivated. For example, the jacket water pump starts when the vacuum pump starts and continues running for another 5 minutes after it stops. If the vacuum pump restarts before the 5 minutes are up, the water pump stays on.

Off-delay (DT) means that the output turns on immediately when the input is activated, but remains on until the set time has elapsed after the input is deactivated. If the input is activated again during this interval, the output stays on.

In everyday life

Imagine a bathroom fan that starts immediately when you turn on the light. When you turn off the light, the fan runs for another 5 minutes. If you turn the light back on before that time is up, the fan does not turn off.

On the job

In a process unit, the jacket water pump starts immediately when the vacuum pump starts. When the vacuum pump stops, the jacket water pump runs for another 5 minutes. If the vacuum pump restarts before those 5 minutes are up, the jacket water pump stays on.

Step by step

  1. The input indicating that the vacuum pump is running is activated, and the jacket water pump output turns on immediately.
  2. The vacuum pump stops, and the 5-minute delay timer starts.
  3. The output and jacket water pump remain on until the time has elapsed.
  4. If the vacuum pump restarts during this interval, the output stays on. If it does not restart, the output deactivates when the time has elapsed.

Key rule: With DT, the output turns on immediately; the delay applies only when the output turns off.

Worked example

The vacuum pump stops, and the DT time for the jacket water pump is 5 minutes. The vacuum pump restarts 3 minutes later. When does the jacket water pump turn off?

  1. When the vacuum pump stops, the 5-minute timer starts and the jacket water pump stays on.
  2. After 3 minutes, the vacuum pump restarts, so the jacket water pump output stays on.
  3. When the vacuum pump stops again later, a new 5-minute timer starts.

Answer: The jacket water pump turns off 5 minutes after the vacuum pump stops the next time; the previous 3-minute stop does not turn it off.

Fixed-Duration Pulse Output (PO)

In a fixed-duration PO, when the input activates, the output remains active for a set time even if the input is deactivated immediately; for example, if the tank purge fails even momentarily, the drain pump runs for 3 minutes and stops. A variable-duration pulse is also available; it ends when the set time elapses, the input is deactivated, or a reset occurs.

A fixed-duration Pulse Output (PO) turns the output on for a preset time when the input changes from off to on. Even if the input turns off early, the output remains on until that time has elapsed.

In everyday life

Imagine a buzzer that starts with a brief press and rings for exactly 10 seconds on its own; you do not need to hold the button down. This is similar to a fixed-duration PO: the input only starts it, and the output completes the specified duration.

On the job

In a process unit, if the “tank purge failure” signal becomes active even momentarily, the PO logic turns on the drain pump. With the duration set to 3 minutes, the pump runs for 3 minutes after the input activates, even if the failure signal turns off immediately, and then stops.

Step by step

  1. The input changes from inactive to active and starts the pulse.
  2. The output turns on, and the preset time starts counting.
  3. If the input becomes inactive during this period, the output remains on.
  4. When the fixed duration elapses, the output turns off.

Key rule: In a fixed-duration PO, input activation starts the operation; the set time determines when the output turns off.

Worked example

The tank purge failure signal becomes active momentarily, and the PO for the drain pump is set to 3 minutes. How long does the pump run?

  1. Input activation starts the pulse.
  2. The input turning off immediately does not cancel the pulse.
  3. The output remains active until the 3 minutes have elapsed.

Answer: The drain pump runs for 3 minutes and then stops.

Valve State Labels in Logic: Open, Closed, Not Closed, and Intermediate

For an element with more than two states, separate labels are needed: “closed” means 0% open, “not closed” means more than 0% open (it may not be fully open), “intermediate” means at a specified position between 0 and 100%, and “not intermediate” means fully open or closed. Read the diagram literally, and do not infer from “not closed” that the valve is fully open.

A valve may have more than just “open” and “closed” states, so separate labels are used for its states in a logic diagram. “Not closed” only means the valve is more than 0% open; by itself, it does not indicate that the valve is fully open.

In everyday life

Think of a water tap: if you have turned the handle slightly, the tap is not closed, but it is not fully open. If the handle is exactly at a specified intermediate position, you can say it is at that intermediate position.

On the job

In a process unit logic diagram, the states of a control valve can be shown separately as “closed,” “not closed,” “intermediate,” and “not intermediate.” If the logic output only indicates “not closed,” it means the valve is more than 0% open; you cannot conclude that the valve is 100% open.

Step by step

  1. First, identify how many meaningful states the final element, such as a control valve, has.
  2. For 0% opening, read the label as “closed”; for an opening greater than 0%, read it as “not closed.”
  3. The label “intermediate” is used for a specified position between 0% and 100%.
  4. “Not intermediate” means the valve is at a position other than the specified intermediate position; interpret the diagram exactly as written.

Key rule: “Not closed” means more than 0% open, not necessarily fully open.

Rules for Drawing a Good Logic Diagram

State the result positively (“Valve fully open” rather than “not closed”); provide a separate label for each position of a multi-position element; label all inputs and outputs on every sheet; use one symbol for each timing function; do not change the standard symbol set, and if the logic cannot be expressed simply with AND, OR, and NOT, think it through again; avoid ladder symbols because only a small percentage of people can read them.

A good logic diagram must state precisely and unambiguously what will happen; for example, “Valve fully open,” not “Valve not closed.” It clearly identifies the inputs, outputs, different equipment states, and each timing function, using standard symbols.

In everyday life

Suppose you leave a note for a family member saying that if the water tank is empty, they should open the valve fully. If you write “Valve not closed,” it is unclear whether they should open it fully or just a little. So you state the result clearly and label the input and the required action.

On the job

The same clarity is needed in the backup vacuum pump logic diagram: the command should specify, for example, “Backup vacuum pump starts” or “Cooling water valve fully open,” not an ambiguous phrase such as “Valve not closed.” Inputs such as the HS “START” command and the PSH pressure alarm, as well as the outputs on the sheets, must be labeled; each time delay also gets its own symbol.

Step by step

  1. First, state the expected result positively and precisely; for example, “Valve fully open.”
  2. If the equipment also has an intermediate position, define a separate label for that position.
  3. Label all inputs and outputs of each logic group and each sheet so their sources and destinations are clear.
  4. Use the standard AND, OR, and NOT symbols, and a separate symbol for each timing function; if the logic cannot be made simple and clear, review the design.

Key rule: If a reader cannot unambiguously tell from the diagram which input activates which output, rewrite the diagram.

Sheet Labels and Off-Page Connectors

Each sheet in a multi-sheet diagram identifies the unit location, process name, date of last update, and “Sheet 5 of 11.” A line leaving a sheet is labeled with its source and destination: 5-7/8-3 means output 7 on sheet 5 connects to input 3 on sheet 8. The same line is labeled 8-3/5-7 on sheet 8 to provide a two-way check.

In a multi-sheet logic diagram, the title block on each sheet identifies the unit and process covered by the diagram, when it was last updated, and which sheet it is out of the total number of sheets. Labels on lines between sheets show the source and destination of a signal. Repeating the label in reverse makes it possible to verify the connection from both ends.

In everyday life

Imagine a recipe that spans several pages, with each page numbered at the bottom. If the instructions on page 5 continue on page 8, you write the destination page number next to the output on page 5 and put the same reference in reverse next to the input on page 8, so it is clear that the two sections are connected.

On the job

In a backup vacuum pump logic diagram, sheet 5 may send a signal to sheet 8. The label 5-7/8-3 means output 7 on sheet 5 goes to input 3 on sheet 8. The input for that same line on sheet 8 is identified as 8-3/5-7. The sheet title block also includes the unit location, process name, date of last update, and sheet number out of the total number of sheets.

Step by step

  1. For each sheet, enter the unit location, process name, date of last update, and sheet number out of the total number of sheets.
  2. Number the outputs on each sheet from top to bottom, and identify the external inputs on the destination sheet in the same way.
  3. On the output line, write the source and destination; for example, 5-7/8-3.
  4. Reverse the same label at the destination input, then cross-check both ends of the connection.

Key rule: Every line between two sheets must have matching source and destination references, shown in reverse, at both ends.

The Golden Rule and the Living Document Status of a Logic Diagram

If a logic diagram does not clearly, simply, and unambiguously show what happens, it has little value and must be redrawn; a logic diagram is a living document that is updated whenever the control strategy changes. Symbols may vary slightly between sites and industries, so first consult the symbol legend for the site in question.

A Binary Logic Diagram must clearly and unambiguously show what the system does in each condition. If readers cannot readily understand its behavior, the diagram must be revised. This diagram is a living document and is updated whenever the control strategy changes. Since symbols may differ between sites, first consult the symbol legend for the site in question.

In everyday life

Suppose you have a set of instructions for making coffee that says not to turn on the machine if the water tank is empty, and to press the start button if there is enough water. If the instructions are ambiguous or are not revised when the machine changes, they become confusing instead of helpful.

On the job

In a process unit, the logic diagram for a backup vacuum pump must make clear which inputs cause the pump to start or stop, and how important conditions affect it. If the control strategy changes, the diagram must also be updated. To understand its symbols, first consult the symbol legend for the site in question.

Step by step

  1. Identify the equipment's expected behavior and its control inputs and outputs.
  2. Draw the logic using the symbols accepted at that site, and label all inputs and outputs.
  3. Review the diagram from the operator's and maintenance technician's perspectives, and resolve any ambiguity or possible misinterpretation.
  4. After every change to the control strategy, review the diagram and make the updated version available.

Key rule: If reading the diagram does not let you say immediately and without guessing what will happen, revise it. Before reading it, consult the symbol legend for the site in question.

Reading a Logic Diagram from Right to Left

Logic diagrams often have many inputs and few outputs (for example, seven inputs and one independent output), so it is best to start at the output on the right and work backward to see what activates or resets it; the key to understanding the logic is usually the main memory block inputs.

In a logic diagram, start at the output on the right and trace the paths backward to determine which condition activates or resets the output. In diagrams with many inputs, the main memory block inputs are usually the key to understanding the behavior of the entire system.

In everyday life

Suppose a light turns on with a push button and stays on until you press the off button. To understand the light's status, start with the light itself and ask what keeps it on and what turns it off.

On the job

In the backup vacuum pump diagram, start at the pump run command on the right and work backward to find the main memory block and its Set/Reset inputs. For example, a stop command, high discharge temperature, or motor overload can reset the memory block; a start command, or automatic mode combined with high system pressure, can provide the start condition.

Step by step

  1. Locate the final output and determine what its active state means in the unit; for example, the pump is running.
  2. Trace the wires from the output to the left until you reach the memory block and its inputs.
  3. Check the Set input to understand the start conditions and the Reset input to understand the stop conditions.
  4. Trace the logic for each input and the Set or Reset priority to clarify the output behavior under every condition.

Key rule: First ask, “What activates or resets this output?” Then trace the path from the memory block back to the inputs.

Active-High and Active-Low Inputs and Outputs

Before reading a large diagram, first determine whether each signal is active when it is 1 (active high) or when it is 0 (active low). For example, a pump runs with a 1, but the green lamp indicating that the motor circuit breaker is not closed may turn on with an inverted signal; sometimes a line over the symbol indicates active-low operation. Always check the wiring diagram to confirm.

An active-high signal activates a device when it receives a 1; an active-low signal activates a device when it receives a 0. Therefore, 1 and 0 alone do not tell you whether equipment is on or off; you need to know which signal level activates that device's input.

In everyday life

Suppose a lamp indicates that a refrigerator door is not properly closed. In this example, the lamp turns on when the sensor signal is 0, so the lamp input is active low, even though the signal value is zero.

On the job

In the backup vacuum pump control diagram, the pump command input is activated by a 1 and starts the pump; therefore, the pump input is active high. The green lamp XL-A, which indicates that the motor circuit breaker is not closed, may turn on with a 0 signal; in that case, its input is active low. Check the wiring diagram as well to confirm.

Step by step

  1. For each input and output, identify the equipment status it indicates; for example, a pump running or a warning lamp on.
  2. Check whether that active status occurs with a signal of 1 or a signal of 0.
  3. If there is a line over the symbol, treat it as a possible indication of active-low operation, not as a substitute for checking the circuit.
  4. Check the wiring diagram, then read the diagram logic using the same active and inactive definitions.

Key rule: First ask, “Which signal level activates the device?” Then read the diagram logic.

Complete Example: Backup Vacuum Pump Logic

All outputs (pump, cooling-water valve, red and green lights) come from one memory with dominant reset and non-retentive memory on power loss; Set comes from the AND gate for “pump run”: selector at Start or (at Auto and PSH active), provided TSH and motor overload are not active; Reset comes from the OR gate for “pump reset”: selector at Stop or TSH or motor overload; overload is held in a second memory until manual reset and takes priority over manual reset; if pressure is not corrected within 10 minutes, the PAH alarm is activated.

A binary logic diagram shows how on/off inputs are converted into equipment commands using AND and OR gates and memory. In backup vacuum pump logic, a reset-dominant memory holds the pump status and several related outputs.

In everyday life

Suppose you press the start button and a device turns on, then stays on until you press the stop button; that is the role of memory. If the device's protective device detects a fault, it shuts the device down and prevents it from restarting until the fault is cleared and a manual reset is performed.

On the job

In a process unit, HS “Start” or HS “Auto” together with an active PSH generates a request to run the backup vacuum pump; however, this request is passed only when TSH and motor overload are not active. The reset-dominant memory determines the commands for the pump, cooling-water valve, red light and green light; Stop, high temperature or overload can reset the pump.

Step by step

  1. The start command comes from HS “Start,” or in Auto mode is generated when HS “Auto” and active PSH are both present.
  2. The AND gate passes the command only when TSH and the overload status are not inhibiting operation.
  3. The Stop command, TSH or overload goes through the OR path to the memory reset input. Because reset is dominant, reset takes priority if it coincides with a start command.
  4. Overload is held in a second memory and prevents restart until the overload is cleared and a manual reset is performed; if pressure is not corrected within 10 minutes after the request, PAH is activated.

Key rule: In a reset-dominant memory, if Set and Reset are active at the same time, the output turns off; overload is also not cleared until a manual reset is performed.

Worked example

A request to run the backup vacuum pump has been issued, but pressure has still not returned to an acceptable condition after 10 minutes. What happens?

  1. Time is measured from the moment the pump run request is issued.
  2. Pressure is monitored during the 10-minute period.
  3. If pressure has not been corrected by the end of this period, the alarm condition is met.

Answer: The high-pressure alarm PAH is activated; this timer alone does not issue a pump shutdown command.

Read the Diagram as Written

The greatest risk when reading a logic diagram is seeing what “should be there” instead of what is actually shown. The person who draws the diagram is responsible for making it unambiguous; the reader is responsible for interpreting it without preconceptions. Once both agree on what the diagram says, discuss whether the logic is good or bad and propose changes.

First, read the logic diagram exactly as drawn and labeled; do not replace the actual labels and connections with what you think should be there. Once everyone agrees on the diagram’s current meaning, discuss whether the logic is correct or whether a change is needed.

In everyday life

Suppose a recipe says, “Add the salt after the water boils.” If you add the salt beforehand because you think that is better, you are no longer reading the recipe as written. First clarify the actual instructions with everyone else; then discuss how to improve them.

On the job

In the backup vacuum pump logic diagram, trace the HS “START” and HS “AUTOMATIC” paths as they are connected to the start logic. The logic shows that the pump receives a run request either from the START command or from AUTOMATIC mode together with a high-pressure alarm from PSH. According to the diagram’s connections, TSH at high discharge temperature or motor overload can inhibit startup or stop the pump; do not replace this behavior with what you think “should” happen.

Step by step

  1. Find the output being considered, such as the pump run command.
  2. Trace the connections from the output back to the inputs, and read the signal names and logic symbols exactly.
  3. Consider the start, stop, and memory conditions together as drawn, and state the expected behavior.
  4. After agreeing on how to read the diagram, discuss safety, whether the logic is suitable, or how it should be revised.

Key rule: First ask, “What exactly does the diagram say?” Then ask, “Is this logic good?”