Precautions During Programming
FP0
8
−
3
8.1 Use of Duplicated Output
8.1
Use of Duplicated Output
8.1.1
Duplicated Output
Duplicated output refers to repeatedly specifying the same output in a 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
or
RST
instruction, or high
−
level instruction for data transfer, it is not regarded as duplicated
output.
If you enter RUN mode while the duplicated output condition exists, under normal
conditions, it will be flagged as an error, the ERROR/ALARM LED will light 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 FP Programmer
II
:
Operate the TOTAL CHECK function.
Key operation:
ENT
(
−
)
OP
9
READ
If there are any duplicated outputs, an error message (DUP USE) and the address will
be displayed.
Using FPWIN GR software:
Execute the “Debug” on “Totally Check Program.”
If there are any duplicated outputs, an error message (DUPLICATED OUTPUT
ERROR) and the address will be displayed. If you execute “SEARCH AN ERROR,” the
error message will be displayed, and the first address number will be displayed.
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 using FP
Programmer
II
, set K1).
When this is done, an error will not occur when the program is executed.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...