141
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
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
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 a 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 complicated as described above.
Change the program as shown in the example below.
Instead, SET, RST or jump instruction can be used, or a 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 used also in a state, it is
handled as double coils. 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
.....
.....
.....
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......