FX
Series Programmable Controllers
3S
User's Manual - Hardware Edition
13.2
Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
13.2.1 When DSW instruction (FNC 72) is used
Examples of wiring for capturing values from a 4-digit digital switch to the data register D100 are given below.
Example of program
M8000
RUN
monitor
Example of wiring
1) In the case of sink wiring
Digital switch
of BCD
0.1 A 50 V
diode is
necessary
Main unit (Example: FX
0V
24V
2) In the case of source wiring
Digital switch
of BCD
0.1 A 50 V
diode is
necessary
Main unit (Example: FX
0V
24V
120
FNC 72
X010
Y012
DSW
0
10
1
2
4
S/S
X010 X011 X012 X013
-30MT/ES)
3S
COM4
Y012 Y013 Y014 Y015
0
1
10
10
10
10
0
1
2
4
S/S
X010 X011 X012 X013
-30MT/ES)
3S
+V4
Y012 Y013 Y014 Y015
0
1
10
10
10
13.2 Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
D100
K1
1
2
10
10
8
2
3
10
10
1
10
2
8
2
3
10
13 Examples of Wiring for Various Uses
3
10
10
3