167
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.2 Cautions on Creation of Fundamental Programs
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
6.2.2
Double output (double coil) operation and countermeasures
1. Operation of double outputs
When a coil gives double outputs (double coils) in a sequence program, the priority is given to the latter one.
Suppose that the same coil Y003 is used in two positions as shown in
the figure on the right.
For example, suppose the X001 is ON and X002 is OFF.
In the first coil Y003, the image memory turns ON and the output
Y004 turns ON also because the input X001 is ON.
In the second coil Y003, however, the image memory is set to OFF
because the input X002 is OFF.
Accordingly, the actual output to the outside is "Y003 = OFF, Y004 =
ON".
2. Countermeasures against double outputs
Double outputs (double coils) do not cause illegal input (program
error), but the operation is disrupted as described above.
Change the program as shown in the example below.
SET, RST or jump instruction can be used instead, or the same output coil can be programmed at each state by step
ladder instructions.
When step ladder instructions are used, if an output coil located in the main routine is also used in a state, it is handled
as a double coil. It is better to avoid such programming.
X001
Input processing
X001 = ON X002 = OFF
Y003
First
Y003
Y004
X002
Y003
Second
Output processing
Y003 = OFF Y004 = ON
A
B
Y000
Ignored
C
Y000
E
D
A
B
Y000
C
E
D
A
B
M100
C
E
D
M101
M100
M101
Y000
or
.....
.....
.....
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......