13 Examples of Wiring for Various Uses
120
FX3S Series Programmable Controllers
User's Manual - Hardware Edition
13.2 Digital Switch [DSW Instruction (FNC 72)/BIN Instruction (FNC 19)]
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
Example of wiring
1) In the case of sink wiring
2) In the case of source wiring
M8000
RUN
monitor
X010 Y012 D100 K1
FNC 72
DSW
1248
10
3
10
2
10
1
10
0
X010 X011 X012 X013S/S
24V0V Y012 Y013 Y014 Y015
COM4
10
3
10
2
10
1
10
0
Main unit (Example: FX3S-30MT/ES)
Digital switch
of BCD
0.1 A 50 V
diode is
necessary
1248
10
3
10
2
10
1
10
0
X010 X011 X012 X013S/S
24V0V Y012 Y013 Y014 Y015+V4
10
3
10
2
10
1
10
0
Main unit (Example: FX3S-30MT/ES)
Digital switch
of BCD
0.1 A 50 V
diode is
necessary