There are basically two modes of operation for plc processors program mode and variations of run mode. Number of modes changes with the manufacturer.
There are key switches shown above that allow selecting the modes.
The mode in which new programs are entered. The program mode also used to edit or update existing program and used to upload, download files, document program (print out). When the PLC is switched into the program mode, all outputs from the PLC are forced off regardless of their rung logic status, and the ladder I/O scan sequence is halted.
The run mode is used to execute the user program. Input devices are monitored and output devices are energized accordingly.
After entering all instruction to a PLC program, the processor is put into run mode.
This feature is often used after developing or editing a program to test the program execution before allowing the PLC to operate real-world outputs. Without energizing any output a new or modified program is tested with the inputs.
There are different types of the test mode can include the single-step test mode, which directs the processor to execute a selected single rung or group of rungs; the single-scan test mode. which executes a single processor operating scan or cycle; and the continuous-scan test mode, which directs the processor to continuously run the program for checking or troubleshooting.
The Remote position gives remote access to a PLC to select the program and run mode by a personal computer connected to the PLC processor. The remote mode may be benefi cial when the controller is in a location that is not easily accessible.