Temporary bypasses are common during commissioning.
A sensor has not been installed yet. A valve-position switch is wired incorrectly. A remote device is unavailable. An interlock keeps preventing startup, and the commissioning team needs to test the rest of the machine.
Someone adds a bypass bit.
The machine starts, testing continues and everyone intends to remove the override later.
Months—or years—after commissioning, the same bypass may still be active.
This is how a temporary troubleshooting shortcut becomes a permanent control-system hazard.
What Is a PLC Bypass?
A bypass allows equipment to operate without satisfying its normal condition.
For example, a pump may normally require confirmation that an isolation valve is open:
Pump_Permitted :=
Valve_Open_Feedback;During commissioning, a bypass may be added:
Pump_Permitted :=
Valve_Open_Feedback
OR Valve_Bypass;When Valve_Bypass is true, the PLC permits the pump to run even though the valve-open feedback is missing.
This may help engineers continue testing, but it also removes the protection provided by the original permissive.
The important distinction is that the valve has not become healthy. The program has merely been instructed to ignore its unhealthy state.
The Typical Bypass Failure Sequence
Many permanent bypass problems follow the same pattern:
- An interlock prevents startup.
- Production or commissioning is under time pressure.
- A temporary override is added.
- Testing continues successfully.
- The underlying problem receives less attention.
- The bypass is never removed.
- Future operators assume the machine is operating normally.
The system may continue running for a long time before the hidden override contributes to an incident.
By then, the engineer who created it may no longer work at the site, and nobody remembers why the bit exists.
Bypasses Hide the Real Fault
A bypass does not repair:
- Incorrect wiring
- Failed sensors
- Unstable communication
- Poor sequence timing
- Wrong mechanical adjustment
- Missing feedback
- Defective field equipment
It only prevents the PLC from reacting to the problem.
For example, a valve may fail to produce open feedback because:
- The limit switch is misaligned.
- The valve is moving too slowly.
- The sensor cable is damaged.
- The actuator does not have enough air pressure.
- The remote I/O data is stale.
- The transition timer is too short.
Bypassing the feedback may allow startup, but none of those causes has been corrected.
Worse, the bypass may conceal evidence needed to diagnose the original problem.
A Bypass Can Create False Health
One of the weakest bypass structures is:
Valve_OK :=
Valve_Open_Feedback
OR Valve_Bypass;Once the bypass is active, Valve_OK becomes true.
Every part of the program—and often the HMI—now treats the valve as correctly positioned.
The diagnostic distinction has disappeared.
A better design keeps the true field state separate:
Valve_Feedback_Healthy :=
Valve_Open_Feedback;
Valve_Operation_Permitted :=
Valve_Open_Feedback
OR
(
Valve_Bypass
AND Maintenance_Mode
AND Bypass_Authorized
);The machine may be allowed to perform a restricted maintenance function, but the HMI should still show:
Valve-open feedback missing — bypass active
The override should never make an unhealthy device appear healthy.
“Temporary” Latch Bits Become Permanent
Commissioning bypasses are often implemented as internal memory bits.
Examples include:
Bypass_Valve_12Ignore_Drive_ReadyForce_Pressure_OKTemp_Start_EnableCommissioning_ModeDisable_Timeout
The problem becomes more serious when these bits are:
- Retentive
- Controlled from an undocumented HMI screen
- Set from several program locations
- Hidden inside a data block
- Enabled without a timeout
- Restored automatically after power loss
A retentive bypass may survive CPU restarts and remain active indefinitely.
Every override should have a clearly defined power-up state. In most cases, it should return to false after power loss or controller restart and require deliberate reauthorization.
Startup Works Only in Maintenance Mode
A warning sign appears when the machine can start only with one or more bypasses enabled.
This usually indicates an unresolved dependency problem.
Possible causes include:
- Permissives become valid in the wrong order.
- A start request is too short.
- Remote data arrives late.
- A sensor is unreliable.
- The startup sequence checks a running condition too early.
- The equipment cannot physically satisfy the original design.
- The logic uses an incorrect feedback signal.
Leaving the machine in maintenance mode is not a solution.
The commissioning team should record which exact condition prevents normal startup and determine why it does not become valid.
Forced Permissives Hide Timing Problems
A startup failure may appear to be fixed when a permissive is forced true.
For example, forcing Drive_Ready allows the motor sequence to proceed.
That does not prove the drive-ready signal is unnecessary.
The real fault might be that:
- The drive takes longer to initialize than expected.
- The communication telegram updates after the start request disappears.
- The program checks readiness before communication is valid.
- The HMI displays an old ready state.
- The PLC uses the wrong status bit.
The correct repair may require a startup state, handshake or validation timer—not removal of the permissive.
Bypassing timing problems often creates a machine that works during commissioning but behaves unpredictably after power interruptions or communication recovery.
Operators Begin Depending on the Bypass
A dangerous cultural shift occurs when operators learn that enabling an override is the quickest way to restart production.
The procedure becomes:
- Machine fails to start.
- Operator opens the maintenance screen.
- Operator enables a bypass.
- Production resumes.
- No fault investigation occurs.
Over time, bypass operation becomes normal operation.
This creates several risks:
- Different shifts use different override combinations.
- Nobody knows which protections are active.
- Maintenance personnel cannot reproduce faults.
- Operators start equipment with invalid feedback.
- The original machine design is no longer being followed.
Bypass access should therefore be limited and monitored.
Safety Functions Must Not Be Bypassed Casually
Standard PLC permissives and safety functions are not interchangeable.
A safety-rated guard, emergency-stop circuit or safe drive function must not be defeated through ordinary PLC logic.
Any temporary suspension of a safety function requires formal procedures, risk controls and appropriate authorization. Depending on the application, additional protective measures may be required before testing can continue.
A standard maintenance bit must never be treated as an acceptable substitute for a properly validated safety architecture.
Where a safety system provides an authorized override or muting function, it should be designed according to the machine’s risk assessment and applicable requirements.
Bypasses Affect Fault Recovery
An override that seems harmless during normal operation can create dangerous recovery behaviour.
Consider a valve-position bypass that remains active during a power interruption.
After power returns:
- The PLC restores the bypass.
- The valve position is unknown.
- The valve feedback remains false.
- The bypass makes the permissive true.
- The pump receives a start command.
- The machine operates without confirmed valve position.
The restart sequence may appear correct because every logical condition is true.
The physical process is not necessarily safe.
Recovery logic should treat active bypasses as abnormal states. Automatic restart may need to remain blocked until the machine has been inspected and the override reauthorized.
Bypasses Can Suppress Valuable Alarms
Sometimes programmers bypass both the permissive and its alarm:
Valve_Fault :=
NOT Valve_Open_Feedback
AND NOT Valve_Bypass;When the bypass is active, the alarm disappears.
That creates a clean HMI screen but removes evidence that the device remains unhealthy.
A better approach is to maintain separate information:
Valve_Feedback_Fault :=
NOT Valve_Open_Feedback;
Valve_Bypass_Active :=
Valve_Bypass;The machine may allow limited operation, but both conditions remain visible:
- Valve feedback fault
- Authorized bypass active
This prevents the override from hiding the actual field condition.
Safer Bypass Design Principles
Where a bypass is genuinely required, it should be engineered as a controlled operating mode.
Require authorization
Only trained personnel should be able to activate it.
Possible controls include:
- Password-protected HMI access
- Key switch
- Maintenance login
- Supervisory approval
- Controlled physical selector
Display it clearly
An active bypass should be visible on every relevant screen.
Use messages such as:
WARNING: Pump suction-valve feedback bypass active
Avoid vague indications such as BYPASS 3.
Generate an alarm or event
The system should record:
- Which bypass was activated
- Date and time
- User or authorization level
- Reason
- When it was removed
Restrict operating modes
A bypass may be permitted only in:
- Maintenance mode
- Reduced-speed operation
- Manual mode
- Local control
- Controlled commissioning state
Automatic production may remain blocked.
Add an expiration time
Where appropriate, the bypass can reset automatically after:
- A defined duration
- Mode change
- Machine stop
- PLC restart
- Power interruption
- Completion of the maintenance action
Automatic expiration does not replace proper authorization, but it reduces the chance of indefinite use.
Preserve the raw condition
Always retain the actual sensor or interlock state for diagnostics.
A bypass should modify permission—not rewrite reality.
Use a Bypass Register
Larger systems benefit from a centralized bypass-management structure.
For every override, record:
- Bypass name
- Affected equipment
- Raw condition
- Bypass state
- Authorization source
- Activation time
- Expiration time
- Operating restriction
- Alarm status
- Reset condition
A centralized HMI page can list every active bypass.
The machine should also provide a general status such as:
Any_Bypass_ActiveThis bit can:
- Block automatic restart
- Generate a warning banner
- Prevent unattended operation
- Trigger maintenance notification
- Record production under bypassed conditions
Review Bypasses Before Handover
Before commissioning is considered complete, perform a formal bypass review.
Use cross-reference tools to search for terms such as:
- Bypass
- Override
- Force
- Ignore
- Temporary
- Test
- Commissioning
- Simulation
- Disable
- Always true
Also inspect:
- Retentive memory
- HMI maintenance screens
- Forced PLC tags
- Safety overrides
- Hidden engineering variables
- Disabled alarms
- Permanently true contacts
- Commented-out interlocks
Every remaining bypass should have a documented purpose and approved operating requirement.
Anything described as temporary should be removed or converted into a properly managed maintenance function.
PLC Forces Are Also Bypasses
Online forcing deserves the same caution as programmed bypass logic.
A forced input or output can remain active while the programmer watches a different part of the program. Other technicians may not realize that the hardware value has been overridden.
Forces should be:
- Logged before use
- Clearly communicated
- Limited to controlled testing
- Reviewed before disconnecting
- Removed after the test
- Verified through the PLC force table
Before returning equipment to production, confirm that no active forces remain in the CPU.
Recommended Troubleshooting Workflow
When an interlock prevents startup:
- Record the exact missing condition.
- Confirm the raw physical input.
- Inspect wiring and power.
- Check module diagnostics.
- Verify communication validity.
- Compare field state with PLC state.
- Review timing and filter settings.
- Trace the startup sequence.
- Correct the actual fault.
- Remove and verify all temporary overrides.
Adding a bypass should never be the first diagnostic step.
It may be used during a controlled test, but only after the risk and purpose are understood.
Warning Signs of a Bypass Problem
Investigate immediately when:
- The machine runs only in maintenance mode.
- Operators know which override “usually fixes it.”
- A force table contains permanent entries.
- A bypass bit is retentive.
- Automatic startup depends on an override.
- An interlock alarm is suppressed when bypassed.
- Nobody knows why a bypass exists.
- HMI screens do not show active overrides clearly.
- The bypass has no expiration or reset condition.
- Several unrelated faults are ignored by one master bypass.
These are signs that temporary commissioning logic has become part of the production architecture.
Final Thoughts
A bypass can be useful during controlled troubleshooting, but it does not repair anything.
It hides a condition, suppresses a response or allows the program to proceed without information it was originally designed to require.
The real danger begins when the override remains active after the test ends.
Temporary bypasses should be visible, authorized, time-limited and carefully documented. The raw fault must remain available, and automatic operation should be restricted where necessary.
Most importantly:
Never use bypass logic as a substitute for proper fault isolation.
The goal of commissioning is not merely to make the machine run.
It is to make the machine run correctly without needing the commissioning shortcuts that were used to get there.
