Mitsubishi Electronics FX3G User Manual

Page of 964
431
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.3 FNC 72 – DSW / Digital Switch (Thumbwheel Input)
11
FN
C30
-FN
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
2. Connection diagram
The figure below shows an example of the FX
3U
 series main unit (sink input/sink output).
For wiring details, refer to the Hardware Edition of each PLC.
3. Timing chart
While X000 is ON, Y010 to Y013 turn ON in turn at every 100 ms. After one cycle is finished, the execution complete
flag M8029 turns ON.
4. How to use this instruction in a relay output type PLC
By providing a "digital switch read input", this instruction can be used in a relay output type PLC.
When the push button switch (X000) is pressed, DSW (FNC 72) instruction executes a series of operations.
Accordingly, with regard to this program, it is not necessary to consider the relay contact life even if Y010 to Y013 are
relay outputs.
1) While M0 (digital switch read input) is ON, DSW (FNC 72) is driven.
2) DSW (FNC 72) completes one cycle of operation, and remains driven until the execution complete flag (M8029)
turns ON.
10
3
10
2
10
1
10
0
BCD type
digital
switch
10
3
10
2
10
1
10
0
To
second
set
Diode of
0.1 A, 50 V
is required.
BCD type
digital
switch
4
3
2
1
To
second
set
8
4
2
1
S/S X010 X011 X012 X013
X015
X014
X016 X017
COM3 Y010 Y011 Y012 Y013
Inputs of first set
PLC
1
2
4
8
10
3
10
2
10
1
10
0
Inputs of second set
0V
24V
X000
Y010
Y011
Y012
Y013
M8029 Complete flag
Repeated
operation
0.1 sec
0.1 sec
0.1 sec
0.1 sec
0.1 sec
0.1 sec
Pause
M  0
X000
SET
M  0
FNC 72
DSW
X010
Y010
D  0
K   1
M8029
RST
M  0