Execution Mode Relay Flags
Execution Mode Relay Flags (F000)
The execution mode flags, F000, are used to indicate the current operation mode of the PLC.
These flags provide critical status information for system monitoring and control.
| Execution Mode Relay Flags | |||
|---|---|---|---|
| Flag Bit | Name | Description | Use Case |
| F000.0 | Run Mode | ON when the PLC is in RUN mode | Indicates the PLC is executing the program |
| F000.1 | Stop Mode | ON when the PLC is in STOP mode | Indicates the PLC is not executing the program |
| F000.2 | Pause Mode | ON when the PLC is in Pause mode | Helps identify temporary pauses in execution |
| F000.3 | Debug Mode | ON when the PLC is in Debug mode | Assists with step-by-step program debugging |
| F000.7 | Remote Mode | ON when the PLC is in Remote mode | Indicates control via a remote device or network |
| F000.F | Execute STOP Instruction | ON when the STOP instruction is executed | Used to confirm that a program STOP was issued |
F000.0 - RUN Mode
Description
The RUN Mode flag is ON (1) when the PLC is actively executing the program.
This indicates that the PLC is performing normal operations.
Use Case
- Used to monitor if the PLC is operational and running the current program.
- Essential for diagnostics when verifying system activity.
F0.0 OFF
F0.0 ON
F000.1 - STOP Mode
Description
The STOP Mode flag is ON (1) when the PLC is NOT actively executing the program.
This indicates that the PLC is NOT performing normal operations.
This flag is ON (1) when the RUN/STOP switch is turned to STOP on the PLC.
Use Case
- Used to confirm the PLC is ready for program modifications.
- Prevents inadvertent program execution during updates.
F0.1 OFF
F0.1 ON
F000.2 - Pause Mode
Description
The Pause Mode flag is ON (1) when the PLC is temporarily paused.
This halts execution without changing the program.
Use Case
- Useful during debugging to pause execution and analyze specific states.
- Allows for temporary halts without terminating the program.
F0.2 OFF
F0.2 ON
F000.3 - Debug Mode
Description
The Debug Mode flag is ON (1) when the PLC is in debugging mode.
This enables step-by-step execution for testing and troubleshooting.
Use Case
- Allows precise control over the program execution during testing.
- Helps identify logic errors in the program.
F0.3 OFF
F0.3 ON
F000.7 - Remote Mode
Description
The Remote Mode flag is ON (1) when the PLC is controlled via a remote device or network.
This is typically used in distributed or automated systems.
When the PLC is being monitored by the computer, this flag is ON (1).
Use Case
- Indicates the PLC is under remote supervision or operation.
- Helps monitor network-based control operations.
F0.7 OFF
F0.7 ON
F000.F - Execute STOP Instruction
Description
The Execute STOP Instruction flag is ON (1) when the PLC executes the STOP instruction.
This halts the current program.
The PLC RUN/STOP mode is changed from RUN→STOP when the STOP instruction is executed.
As a result, the STOP Mode flag (F0.1) is ON (1).
Use Case
- Confirms that a STOP instruction has been issued in the program.
- Can be used as part of safety protocols to ensure proper shutdown.