141
3. Duplicated Use of Outputs
1) Duplicated Output
• Duplicate use of same number designation in the KP and OT instructions is prohibited.
Even if the same output is used for multiple application instructions, such as the SET or RST instruction, or a data
transfer instruction, 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 ERR LED will light and the special internal relay R9000 (self-diagnostic flag) will go ON.
2) How to Check for Duplicated Use
You can check for duplicated outputs in the program using the programming tool (FP Programmer II or NPST-GR),
by the following method:
• FP Programmer II:
Operate the OP function “OP-9 TOTAL CHECK”.
(Key operation:
If there are any duplicated outputs, an error message (DUP USE) and the address number will be displayed.
Refer to “FP Programmer II Operation Manual”, for details about OP function.
• NPST-GR:
Select the “PROGRAM CHECK” on NPST FUNCTION MENU.
If there are any duplicated outputs, an error message (DUPLICATE USE ERROR) and the address numbers will be
displayed. If you execute <SRCH ERROR ADRS>, the error message will be displayed, and the first address
number will be displayed.
Refer to “NPST-GR Manual”, for details about program check.
3) Enabling Duplicated Output
• If the duplicate output is set to “enable (K1)” in system register 20, the error does not occur.
• Refer to page 230, “8-5. System Registers”, for details about duplicate output.
4) Output State in One Scan
• If the same output is used by multiple instructions
such as the OT, KP, SET, RST, or data transfer
instructions, the output obtained at the I/O update is
determined by the results of the operation at the
greatest program address.
Example:
The contents of the output at each step when X0 to
X2 are all ON and the output from the SET, RST and
OT instructions overlap.
(–)
OP
ENT
READ
▼
9
)
5-4. Hints for Programming Basic Instructions
When X0 to X2 are all ON, Y0 is output as ON at I/O
update according to the result of X2 trigger.
X0
Y0
〈
S
〉#
X1
Y0
〈
R
〉#
X2
Y0
Y0
This section of the
program is processed
as if Y0 were ON.
This section of the
program is processed
as if Y0 were OFF.
This section of the
program is processed
as if Y0 were ON.
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...