12-2
12.1 Use of Duplicated Output
12.1.1 Duplicated Output
What is duplicated output?
- Duplicated output refers to repeatedly specifying the same output in a sequence program.
- If the same output is specified for the "OT" and "KP" instructions, it is considered to be duplicated
output.
(Even if the same output is used for multiple instructions, such as the SET, RST instruction or high-
level instruction (such as data transfer), it is not regarded as duplicated output.)
- If you enter RUN mode while the duplicated output condition exists, it will be normally flagged as an
error. (The ERROR/ALARM LED will flash and the self-diagnostic error flag R9000 will go on.)
How to check for duplicated use
You can check for duplicated outputs in the program using the programming tool, by the following
method.
Using FPWIN GR
Select the "Debug" → "Totally Check Program" in the menu bar, and click "Execute". If there are any
duplicated outputs, an error message and the address will be displayed.
Using FPWIN Pro
If there are any duplicated outputs, an error message and the address will be displayed when compiling
programs.
Enabling duplicated output
- If you need to use output repeatedly due to the content of the program, duplicated output can be
enabled.
- In this case, change the setting of system register 20 to "enable".
- When this is done, an error will not occur when the program is executed.